linuxrouter/docker/routlin-dash/app/pages/dhcpleases/content.json
2026-06-03 03:03:38 -04:00

73 lines
1.5 KiB
JSON

{
"client_requirement": "client_is_viewer+",
"items": [
{
"type": "header_page_title",
"items": [
{
"type": "h1",
"text": "DHCP Leases"
},
{
"type": "p",
"text": "Active leases handed out by dnsmasq across all VLANs."
}
]
},
{
"type": "table",
"datasource": "live:dhcp_leases",
"empty_message": "No active DHCP leases found.",
"toolbar": {
"items": [
{
"type": "select",
"name": "vlan_filter",
"value": "all",
"filter_col": "vlan_name",
"options": "%VLAN_FILTER_OPTIONS%"
}
]
},
"columns": [
{
"label": "Hostname",
"field": "hostname",
"render": "raw_html"
},
{
"label": "IP Address",
"field": "ip_address",
"class": "col-mono"
},
{
"label": "MAC Address",
"field": "mac_address",
"class": "col-mono"
},
{
"label": "Vendor",
"field": "vendor",
"render": "raw_html"
},
{
"label": "VLAN",
"field": "vlan_name"
},
{
"label": "ARP Status",
"field": "status",
"render": "raw_html"
},
{
"label": "Last Renewal",
"field": "last_active"
},
{
"label": "Renews",
"field": "renews"
}
]
}
]
}