[Midnightbsd-cvs] mports: www/tmpls: Changed the stats to a ul.

ctriv at midnightbsd.org ctriv at midnightbsd.org
Wed Oct 31 19:01:16 EDT 2007


Log Message:
-----------
Changed the stats to a ul.
fiddled margins.

Modified Files:
--------------
    mports/Tools/magus/www/data/magus/elements:
        magus.css (r1.7 -> r1.8)
    mports/Tools/magus/www/tmpls:
        footer.tmpl (r1.1 -> r1.2)
        header.tmpl (r1.3 -> r1.4)

-------------- next part --------------
Index: magus.css
===================================================================
RCS file: /home/cvs/mports/Tools/magus/www/data/magus/elements/magus.css,v
retrieving revision 1.7
retrieving revision 1.8
diff -LTools/magus/www/data/magus/elements/magus.css -LTools/magus/www/data/magus/elements/magus.css -u -r1.7 -r1.8
--- Tools/magus/www/data/magus/elements/magus.css
+++ Tools/magus/www/data/magus/elements/magus.css
@@ -3,6 +3,12 @@
 	font-size: 14px;
 	background: white;
 	color: black;
+	margin: 0;
+	padding: 0;
+}
+
+#content {
+	margin: 12px;
 }
 
 h1 {
@@ -81,9 +87,36 @@
 }
 
 #tophead {
-	background: navy;
+	background: #405491;
 	color: white;
 	width: 100%;
 	margin: 0;
 	padding: 0;
 }	
+
+#tophead h1 {
+	color: white;
+}
+
+ul.stats {
+	list-style: none;
+	margin: 0;
+	padding: 0;
+}
+
+ul.stats li {
+	display: inline;
+	padding-right: 12px;
+}
+
+ul.stats a.pass {
+	color: #91E588;
+}
+
+ul.stats a.fail {
+	color: #F27D86;
+}
+
+ul.stats a.skip {
+	color: #bbb;
+}
\ No newline at end of file
Index: footer.tmpl
===================================================================
RCS file: /home/cvs/mports/Tools/magus/www/tmpls/footer.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -LTools/magus/www/tmpls/footer.tmpl -LTools/magus/www/tmpls/footer.tmpl -u -r1.1 -r1.2
--- Tools/magus/www/tmpls/footer.tmpl
+++ Tools/magus/www/tmpls/footer.tmpl
@@ -1 +1,2 @@
+</div>
 </body></html>
\ No newline at end of file
Index: header.tmpl
===================================================================
RCS file: /home/cvs/mports/Tools/magus/www/tmpls/header.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -LTools/magus/www/tmpls/header.tmpl -LTools/magus/www/tmpls/header.tmpl -u -r1.3 -r1.4
--- Tools/magus/www/tmpls/header.tmpl
+++ Tools/magus/www/tmpls/header.tmpl
@@ -15,20 +15,17 @@
 
 <h1>Magus</h1>
 
-<h2>Stats</h2>
-<table class="stats">
-<tr>
-        <td>Tested</td>
-	<td><TMPL_VAR NAME="ports_tested"></td>
-        <td>Untested</td>
-	<td><TMPL_VAR NAME="ports_untested"></td>
+<ul class="stats">
+        <li>Tested: <TMPL_VAR NAME="ports_tested"></li>
+        <li>Untested: <TMPL_VAR NAME="ports_untested"></li>
 <TMPL_LOOP NAME="stats">
-        <td class="<TMPL_VAR name=summary>"><TMPL_VAR NAME="summary"></td>
-        <td><a href="<TMPL_VAR NAME=list_root>/<TMPL_VAR NAME=summary>"><TMPL_VAR NAME=count></td>
+        <li><TMPL_VAR NAME="summary">: <a class="<TMPL_VAR NAME=summary>" href="<TMPL_VAR NAME=list_root>/<TMPL_VAR NAME=summary>"><TMPL_VAR NAME=count></a></li>
 </TMPL_LOOP>
-</tr>
-</table>
+</ul>
 
 </div>
 <!-- header: end -->
 
+
+<div id="content">
+


More information about the Midnightbsd-cvs mailing list