mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 02:08:24 +00:00
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
<html>
|
|
<head>
|
|
<title>DHCP Clients</title>
|
|
<link rel="stylesheet" href="dhcp.css"/>
|
|
<meta http-equiv="Refresh" content="2"/>
|
|
</head>
|
|
<body>
|
|
<h1>DHCP Clients <span class="updated">(updated [% updated %])</span></h1>
|
|
<table cols="7">
|
|
<tr>
|
|
<th class="hostname">Hostname</th>
|
|
<th class="ip_addr">IP Address</th>
|
|
<th class="ether_addr">Ethernet Address</th>
|
|
<th class="client_id">DHCP Client ID</th>
|
|
<th class="status">Status</th>
|
|
<th class="since">Since</th>
|
|
<th class="lease">Lease Expires</th>
|
|
</tr>
|
|
[% FOREACH host IN hosts %]
|
|
<tr class="[% IF host.online %]online[% ELSE %]offline[% END %]">
|
|
<td class="hostname">[% host.hostname %]</td>
|
|
<td class="ip_addr">[% host.ip_addr %]</td>
|
|
<td class="ether_addr">[% host.ether_addr %]</td>
|
|
<td class="client_id">[% host.text_client_id %] ([% host.raw_client_id %])</td>
|
|
<td class="status">[% IF host.online %]Online[% ELSE %]Offline[% END %]</td>
|
|
<td class="since">[% host.since %]</td>
|
|
<td class="lease">[% host.text_lease %]</td>
|
|
</tr>
|
|
[% END %]
|
|
</table>
|
|
</body>
|
|
</html>
|