Revision: 5950 http://ipcop.svn.sourceforge.net/ipcop/?rev=5950&view=rev Author: owes Date: 2011-10-16 07:25:14 +0000 (Sun, 16 Oct 2011) Log Message: ----------- No longer limit 'boldbase' to td element. Use boldbase as column header in dislay of currently logged in users. Probably better to move the kernel version information from System Status to System Info page?
Modified Paths: -------------- ipcop/trunk/html/cgi-bin/status.cgi ipcop/trunk/html/html/include/ipcop.css ipcop/trunk/updates/2.0.1/ROOTFILES.i486-2.0.1 Modified: ipcop/trunk/html/cgi-bin/status.cgi =================================================================== --- ipcop/trunk/html/cgi-bin/status.cgi 2011-10-15 20:42:40 UTC (rev 5949) +++ ipcop/trunk/html/cgi-bin/status.cgi 2011-10-16 07:25:14 UTC (rev 5950) @@ -1,20 +1,19 @@ #!/usr/bin/perl # # This file is part of the IPCop Firewall. -# +# # IPCop 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. -# +# # IPCop 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 IPCop; if not, write to the Free Software -# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# along with IPCop. If not, see <http://www.gnu.org/licenses/>. # # status.cgi originally (2001) from the Smoothwall project # (c) The SmoothWall Team @@ -370,7 +369,9 @@ print "<tr><td>$line</td></tr></table><br /><table>\n" } elsif ($line =~ m/^(\S*)\s+(\S*)\s+(\S*)\s+(\S*)\s+(\S*)\s+(\S*)\s+(.*)$/) { - print "<tr><td>$1</td><td>$2</td><td>$3</td><td>$4</td><td>$5</td><td>$6</td><td>$7</td></tr>\n"; + my $classbold = ''; + $classbold = "class='boldbase'" if(index($line, 'LOGIN@') != -1); + print "<tr $classbold><td>$1</td><td>$2</td><td>$3</td><td>$4</td><td>$5</td><td>$6</td><td>$7</td></tr>\n"; } else { print "<tr><td colspan='7'>$line</td></tr>\n" } Modified: ipcop/trunk/html/html/include/ipcop.css =================================================================== --- ipcop/trunk/html/html/include/ipcop.css 2011-10-15 20:42:40 UTC (rev 5949) +++ ipcop/trunk/html/html/include/ipcop.css 2011-10-16 07:25:14 UTC (rev 5950) @@ -11,7 +11,7 @@ font-size: 11px; } -td.boldbase { +.boldbase { font-size: 11px; font-weight: bold; } @@ -233,8 +233,8 @@ table.percentbar { width: 100px; height: 10px; - border: 1; - border-spacing: 0; + border: 1; + border-spacing: 0; padding: 0; border-width: 1px; border-style: solid; Modified: ipcop/trunk/updates/2.0.1/ROOTFILES.i486-2.0.1 =================================================================== --- ipcop/trunk/updates/2.0.1/ROOTFILES.i486-2.0.1 2011-10-15 20:42:40 UTC (rev 5949) +++ ipcop/trunk/updates/2.0.1/ROOTFILES.i486-2.0.1 2011-10-16 07:25:14 UTC (rev 5950) @@ -6,7 +6,9 @@ /home/httpd/cgi-bin/email.cgi /home/httpd/cgi-bin/index.cgi /home/httpd/cgi-bin/logsummary.cgi +/home/httpd/cgi-bin/status.cgi /home/httpd/cgi-bin/urlfilter.cgi +/home/httpd/html/include/ipcop.css /usr/lib/ipcop/general-functions.pl /usr/lib/ipcop/lang.pl /usr/share/locale/af_ZA/LC_MESSAGES/ipcop.mo This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct _______________________________________________ Ipcop-svn mailing list Ipcop-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ipcop-svn