{ "client_requirement": "client_is_nothing+", "items": [ { "type": "auth_wrapper", "client_requirement": "client_is_nothing=", "items": [ { "type": "auth_card", "items": [ { "type": "h1", "text": "Routlin Dashboard" }, { "type": "p", "text": "Log in to monitor and manage your network." }, { "type": "spacer" }, { "type": "button_primary", "action": "/accountlogin", "text": "Log In" } ] } ] }, { "type": "header_page_title", "client_requirement": "client_is_viewer+", "items": [ { "type": "h1", "text": "Overview" }, { "type": "p", "text": "Current network status at a glance." } ] }, { "type": "stat_card_grid", "client_requirement": "client_is_viewer+", "items": [ { "type": "stat_card", "label": "DHCP Leases", "value": "%STAT_LEASE_COUNT%", "sub": "active leases", "variant": "accent" }, { "type": "stat_card", "label": "DNS Queries", "value": "%DNS_STAT_QUERIES%", "sub": "%DNS_PERIOD_LABEL%" }, { "type": "stat_card", "label": "DNS Cache Hits", "value": "%DNS_STAT_HITS% (%DNS_STAT_HIT_RATE%)", "sub": "%DNS_PERIOD_LABEL%" }, { "type": "stat_card", "label": "Queries Blocked", "value": "%STAT_BLOCKED_ALLTIME%", "sub": "%DNS_PERIOD_LABEL%", "variant": "warning", "data_requirement": "HAS_QUERY_LOGGING" }, { "type": "stat_card", "label": "Public IP", "value": "%STAT_PUBLIC_IP%", "sub": "%STAT_DDNS_HOSTNAME%" } ] }, { "type": "card", "label": "Blocked Domains", "client_requirement": "client_is_viewer+", "data_requirement": "HAS_QUERY_LOGGING", "items": [ { "type": "raw_html", "html": "%BLOCKED_DOMAINS_TABLE%" } ] }, { "type": "card", "label": "Client Activity", "client_requirement": "client_is_viewer+", "data_requirement": "HAS_QUERY_LOGGING", "items": [ { "type": "raw_html", "html": "%CLIENT_ACTIVITY_TABLE%" } ] } ] }