[Midnightbsd-cvs] mports: index.tmpl: add runs table.
ctriv at midnightbsd.org
ctriv at midnightbsd.org
Wed Mar 19 00:15:47 EDT 2008
Log Message:
-----------
add runs table.
Modified Files:
--------------
mports/Tools/magus/www/tmpls:
index.tmpl (r1.8 -> r1.9)
-------------- next part --------------
Index: index.tmpl
===================================================================
RCS file: /home/cvs/mports/Tools/magus/www/tmpls/index.tmpl,v
retrieving revision 1.8
retrieving revision 1.9
diff -L Tools/magus/www/tmpls/index.tmpl -L Tools/magus/www/tmpls/index.tmpl -u -r1.8 -r1.9
--- Tools/magus/www/tmpls/index.tmpl
+++ Tools/magus/www/tmpls/index.tmpl
@@ -18,7 +18,7 @@
<TMPL_LOOP NAME="locks">
<tr<TMPL_UNLESS name="__odd__">class="even"</TMPL_UNLESS>>
<td><a href="<TMPL_VAR name=port_root>/<TMPL_VAR NAME=port_id>"><TMPL_VAR NAME="port"></a></td>
- <td><TMPL_VAR name="machine"></td>
+ <td><a href="<TMPL_VAR NAME="machine_root">/<TMPL_VAR NAME="machine_id">"><TMPL_VAR NAME="machine"></a></td>
<td><TMPL_VAR name="arch"></td>
<td><TMPL_VAR NAME="osversion"></td>
<td><a href="<TMPL_VAR name=run_root>/<TMPL_VAR NAME=run>"><TMPL_VAR NAME="run"></a></td>
@@ -28,6 +28,32 @@
</table>
</TMPL_IF>
+<TMPL_IF name="runs">
+<h3>Active Runs</h3>
+<table class="locks">
+<thead>
+<tr>
+ <th>Run</th>
+ <th>Arch</th>
+ <th>OSVersion</th>
+ <th>Created</th>
+</tr>
+</thead>
+
+<tbody>
+<TMPL_LOOP NAME="runs">
+<tr<TMPL_UNLESS name="__odd__">class="even"</TMPL_UNLESS>>
+ <td><a href="<TMPL_VAR name=run_root>/<TMPL_VAR NAME=run>"><TMPL_VAR NAME="run"></a></td>
+ <td><TMPL_VAR name="arch"></td>
+ <td><TMPL_VAR NAME="osversion"></td>
+ <td><TMPL_VAR NAME="created"></td>
+</tr>
+</TMPL_LOOP>
+</tbody>
+</table>
+</TMPL_IF>
+
+
</div>
<div class="left" style="width: 60%">
More information about the Midnightbsd-cvs
mailing list