ispman/ispman-web/cgi-bin/tmpl/hosts manageHosts.tmpl, 1.11, 1.12

Joerg Delker <[email protected]> Tue, 03 Oct 2006 08:56:37 +0000
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/hosts
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv9682/ispman-web/cgi-bin/tmpl/hosts

Modified Files:
	manageHosts.tmpl 
Log Message:
fixed [ 1553409 ] Web UI: Configure->Hosts and Configure->HostGroups
fixed [ 1569808 ] add hostgroup is broken
switched to css formating

Index: manageHosts.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/hosts/manageHosts.tmpl,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- manageHosts.tmpl	2 Oct 2006 22:23:56 -0000	1.11
+++ manageHosts.tmpl	3 Oct 2006 08:56:35 -0000	1.12
@@ -1,9 +1,9 @@
-<table class=table border=0 cellpadding=1 cellspacing=2>
+<table class=list>
 <tr>
-<th class=menuheader><perl>_("Hostname")</perl></th>
-<th class=menuheader><perl>_("IP Address")</perl></th>
-<th class=menuheader><perl>_("Description")</perl></th>
-<th class=menuheader><perl>_("Actions")</perl></th>
+<th><perl>_("Hostname")</perl></th>
+<th><perl>_("IP Address")</perl></th>
+<th><perl>_("Description")</perl></th>
+<th>&nbsp;</th>
 </tr>
 
 <perl>
@@ -22,8 +22,8 @@
     my $description=$hosts->{$host}{'ispmanHostInfo'}|| "undefined";
     $ip=($ip =~/undefined/)?"<FONT COLOR=RED><B>$ip</b></font>":$ip;
     
-    $text.= "<TR>";
-    $text.=join "\n", map{"<TD bgcolor=WHITE>$_</TD>"} ($name, $ip, $description);
+    $text.= "<tr class=list>\n";
+    $text.=join "\n", map{"<td>$_</td>"} ($name, $ip, $description);
     
     $text.="  <td><a href='".$ENV{'SCRIPT_NAME'}."?mode=editHost&hostname=$hostname'>".
 	       "<img src='".$ispman->getConfig("ispmanUrlPrefix")."/gfx/modify.gif' border=0>".
@@ -31,7 +31,7 @@
     $text.="<a href='".$ENV{'SCRIPT_NAME'}."?mode=deleteHost&hostname=$hostname'>".
     	   "<img src='".$ispman->getConfig('ispmanUrlPrefix')."/gfx/delete.gif' border=0>".
            "</a></td>\n";
-    $text.= "</TR>\n";
+    $text.= "</tr>\n";
 }
 $text
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV