miniwol/web/template/device.html.tmpl

21 lines
442 B
Cheetah
Raw Normal View History

2022-02-17 12:31:01 +00:00
<table>
<tr>
<th>Device Alias</th>
<th>MAC Address</th>
<th>IP/Broadcast</th>
<th>Actions</th>
</tr>
{{range .}}
<tr>
<td>{{.Alias}}</td>
<td>{{.MAC}}</td>
<td>{{.IP}}</td>
<td>
<form action="/wake" method="post">
<input type="text" name="alias" value="{{.Alias}}" hidden>
<input type="submit" value="Wake">
</form>
</td>
</tr>
{{end}}
</table>