/etc/simba/templates/cgi/mirrors-page.tmpl is in websimba 0.8.4-4.3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | <TMPL_INCLUDE NAME="header.tmpl">
<div class="content">
<p>Mirrors list:</p>
<TMPL_IF NAME="MirrorsNo">
<table class="sheet">
<thead>
<tr>
<td>id</td>
<td>Name</td>
<td>Contact</td>
<td>Active</td>
<td>Running</td>
<td>Description</td>
<td>Operations</td>
</tr>
</thead>
<tdata>
<TMPL_LOOP NAME="Mirrors">
<tr class="<TMPL_IF NAME="__ODD__"> odd</TMPL_IF><TMPL_UNLESS NAME="__ODD__"> even</TMPL_UNLESS>">
<td><TMPL_VAR NAME="id"></td>
<td><TMPL_VAR NAME="Name"></td>
<td><TMPL_VAR NAME="Contact"></td>
<td class="center"><TMPL_IF NAME="Active">yes<TMPL_ELSE>no</TMPL_IF></td>
<td class="center"><TMPL_IF NAME="InProgress">yes<TMPL_ELSE>no</TMPL_IF></td>
<td class="center"><TMPL_IF NAME="Description">yes<TMPL_ELSE>no</TMPL_IF></td>
<td class="number">
<a href="simba.cgi?action=mod_mirror&id=<TMPL_VAR NAME="id">">
<img title="Modify this mirror" src="/simba-img/comment.gif" />
</a>
<a href="simba.cgi?action=drop_mirror&id=<TMPL_VAR NAME="id">">
<img title="Delete this mirror" src="/simba-img/delete.gif" alt="delete" />
</a>
</td>
</tr>
</TMPL_LOOP>
</tdata>
</table>
<TMPL_ELSE>
<p>No mirrors found in database</p>
</TMPL_IF>
<form method="get" action="simba.cgi">
<input type="hidden" name="action" value="add_new_mirror" />
<input type="submit" value="add new mirror" />
</form>
</div>
</body>
</html>
|