Code

Add support for variable root mount points.
[sysdb/webui.git] / templates / hosts.tmpl
1 <section>
2         <h1>Hosts</h1>
3 {{if len .}}
4         <table class="results">
5                 <tr><th>Host</th><th>Last update</th></tr>
6         {{range .}}
7                 <tr><td><a href="{{root}}host/{{urlquery .Name}}">{{.Name}}</a></td><td>{{.LastUpdate}}</td></tr>
8         {{end}}
9         </table>
10 {{else}}
11         <p>No results found.</p>
12 {{end}}
13         <p>&nbsp;</p>
14 </section>