aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatteo Pasotti <matteo.pasotti@gmail.com>2014-01-11 15:06:17 +0100
committerMatteo Pasotti <matteo.pasotti@gmail.com>2014-01-11 15:06:17 +0100
commit9d146f8c3b779f92c5b9d5bd6ee1e7e424343035 (patch)
treeca4eea3fe384700865eefb0b4f506dd2415df034 /modules
parent3b1d4b65b5fa800b3cdfa0e7f6faba6bd7c456ed (diff)
downloadmanatools-9d146f8c3b779f92c5b9d5bd6ee1e7e424343035.tar
manatools-9d146f8c3b779f92c5b9d5bd6ee1e7e424343035.tar.gz
manatools-9d146f8c3b779f92c5b9d5bd6ee1e7e424343035.tar.bz2
manatools-9d146f8c3b779f92c5b9d5bd6ee1e7e424343035.tar.xz
manatools-9d146f8c3b779f92c5b9d5bd6ee1e7e424343035.zip
- added the hostmanager module for adminpanel
Diffstat (limited to 'modules')
-rwxr-xr-xmodules/hostmanager/hostmanager33
1 files changed, 33 insertions, 0 deletions
diff --git a/modules/hostmanager/hostmanager b/modules/hostmanager/hostmanager
new file mode 100755
index 00000000..bc7fd608
--- /dev/null
+++ b/modules/hostmanager/hostmanager
@@ -0,0 +1,33 @@
+#!/usr/bin/perl
+# Copyright 2013 Matteo Pasotti
+#
+# This file is part of hostmanager
+#
+# hostmanager is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# hostmanager is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with AdminPanel. If not, see <http://www.gnu.org/licenses/>.
+use Modern::Perl 2011;
+use autodie;
+use AdminPanel::Shared;
+use AdminPanel::Hosts::GHosts;
+
+use yui;
+
+my $wm_icon = "/usr/lib/libDrakX/icons/IC-Dhost-48.png";
+
+yui::YUI::app()->setApplicationTitle("Manage hosts definitions");
+yui::YUI::app()->setApplicationIcon($wm_icon);
+
+my $hostMan = AdminPanel::Hosts::GHosts->new();
+$hostMan->start();
+
+1;