diff options
author | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-09-08 20:11:58 +0000 |
---|---|---|
committer | Ken Raffenetti <raffenet@mcs.anl.gov> | 2006-09-08 20:11:58 +0000 |
commit | 064b4ca0e8d28062dbd028ca61f79798b84e260b (patch) | |
tree | 6457009c86c631e38163bfda55e0a78a757c3088 /src/lib/Server/Hostbase/hostbase/webtemplates/results.html | |
parent | 77bb154d6526739dc111d576f3ccb2392e2a1832 (diff) | |
download | bcfg2-064b4ca0e8d28062dbd028ca61f79798b84e260b.tar.gz bcfg2-064b4ca0e8d28062dbd028ca61f79798b84e260b.tar.bz2 bcfg2-064b4ca0e8d28062dbd028ca61f79798b84e260b.zip |
minor updates
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2230 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Hostbase/hostbase/webtemplates/results.html')
-rw-r--r-- | src/lib/Server/Hostbase/hostbase/webtemplates/results.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/results.html b/src/lib/Server/Hostbase/hostbase/webtemplates/results.html index 470883e61..1825f6d95 100644 --- a/src/lib/Server/Hostbase/hostbase/webtemplates/results.html +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/results.html @@ -81,7 +81,7 @@ <td nowrap><table width="100%" border="0" cellpadding="5" cellspacing="0">
<tr>
<td><!-- InstanceBeginEditable name="mainFeature" --> -#if $hosts +{% if hosts %} <table border="0" width="100%"> <colgroup> <col width="200"> @@ -91,22 +91,22 @@ <tr> <td><b>hostname</b></td> <td> <b>status</b> </td> </tr> - #for $host in $hosts - <tr> <td> $host[0]</td> - #if $host[2] + {% for host in hosts %} + <tr> <td>{{ host.0 }}</td> + {% if host.2 %} <td> active </td> - #else + {% else %} <td> inactive </td> - #end if - <td> <a href="$host[1]">view</a> </td> - <td> <a href="$host[1]/edit">edit</a> </td> + {% endif %} + <td> <a href="{{ host.1 }}">view</a> </td> + <td> <a href="{{ host.1 }}/edit">edit</a> </td> </tr> - #end for + {% endfor %} </table> -#else +{% else %} No hosts matched your query<br> Click the back button on your browser to edit your search -#end if +{% endif %} <!-- InstanceEndEditable --></td>
</tr>
</table></td>
|