Revision: 2894
http://ipcop.svn.sourceforge.net/ipcop/?rev=2894&view=rev
Author: owes
Date: 2009-05-23 20:12:33 +0000 (Sat, 23 May 2009)
Log Message:
-----------
Move the bold for running/stopped status into .css file.
Add css definition for IPsec closed status.
Modified Paths:
--------------
ipcop/trunk/html/html/include/ipcop.css
ipcop/trunk/src/libs/general-functions.pl
Modified: ipcop/trunk/html/html/include/ipcop.css
===================================================================
--- ipcop/trunk/html/html/include/ipcop.css 2009-05-23 09:51:22 UTC (rev
2893)
+++ ipcop/trunk/html/html/include/ipcop.css 2009-05-23 20:12:33 UTC (rev
2894)
@@ -125,14 +125,23 @@
.ipcop_running {
color: #F2F2F2;
background-color: #209040;
+ font-weight: bold;
}
/* used in status.cgi (among others) */
.ipcop_stopped {
color: #F2F2F2;
background-color: #C00000;
+ font-weight: bold;
}
+/* used in ipsec.cgi */
+.ipcop_closed {
+ color: #F2F2F2;
+ background-color: #2060C0;
+ font-weight: bold;
+}
+
/* for error boxes etc. */
.ipcop_error {
color: #000000;
Modified: ipcop/trunk/src/libs/general-functions.pl
===================================================================
--- ipcop/trunk/src/libs/general-functions.pl 2009-05-23 09:51:22 UTC (rev
2893)
+++ ipcop/trunk/src/libs/general-functions.pl 2009-05-23 20:12:33 UTC (rev
2894)
@@ -746,7 +746,7 @@
sub isrunning($)
{
my $cmd = $_[0];
- my $status = "<th align='center'
class='ipcop_stopped'>$Lang::tr{'stopped'}</th>";
+ my $status = "<td align='center'
class='ipcop_stopped'>$Lang::tr{'stopped'}</td>";
my $pid = '';
my $testcmd = '';
my $exename;
@@ -798,7 +798,7 @@
else {
$status = "";
}
- $status .= "<th align='center'
class='ipcop_running'>$Lang::tr{'running'}</th>";
+ $status .= "<td align='center'
class='ipcop_running'>$Lang::tr{'running'}</td>";
}
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, &
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA, & Big Spaceship. http://www.creativitycat.com
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn