File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / dnsmasq / contrib / dnslist / dnslist.tt2
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Mon Jul 29 19:37:40 2013 UTC (10 years, 11 months ago) by misho
Branches: elwix, dnsmasq, MAIN
CVS tags: v8_2p1, v2_84, v2_76p1, v2_71, v2_66p0, v2_66, HEAD
dnsmasq

    1: <html>
    2: 	<head>
    3: 		<title>DHCP Clients</title>
    4: 		<link rel="stylesheet" href="dhcp.css"/>
    5: 		<meta http-equiv="Refresh" content="2"/>
    6: 	</head>
    7: 	<body>
    8: 		<h1>DHCP Clients <span class="updated">(updated [% updated %])</span></h1>
    9: 		<table cols="7">
   10: 		<tr>
   11: 			<th class="hostname">Hostname</th>
   12: 			<th class="ip_addr">IP Address</th>
   13: 			<th class="ether_addr">Ethernet Address</th>
   14: 			<th class="client_id">DHCP Client ID</th>
   15: 			<th class="status">Status</th>
   16: 			<th class="since">Since</th>
   17: 			<th class="lease">Lease Expires</th>
   18: 		</tr>
   19: 		[% FOREACH host IN hosts %]
   20: 			<tr class="[% IF host.online %]online[% ELSE %]offline[% END %]">
   21: 				<td class="hostname">[% host.hostname %]</td>
   22: 				<td class="ip_addr">[% host.ip_addr %]</td>
   23: 				<td class="ether_addr">[% host.ether_addr %]</td>
   24: 				<td class="client_id">[% host.text_client_id %] ([% host.raw_client_id %])</td>
   25: 				<td class="status">[% IF host.online %]Online[% ELSE %]Offline[% END %]</td>
   26: 				<td class="since">[% host.since %]</td>
   27: 				<td class="lease">[% host.text_lease %]</td>
   28: 			</tr>
   29: 		[% END %]
   30: 		</table>
   31: 	</body>
   32: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>