21 lines
442 B
Cheetah
21 lines
442 B
Cheetah
<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> |