Development

This commit is contained in:
Matthew Grotke 2026-05-25 13:49:23 -04:00
parent 68b98102cf
commit a78df48804
7 changed files with 33 additions and 29 deletions

View file

@ -6,12 +6,17 @@
"map_to": "view_overview",
"client_requirement": "client_is_nothing+"
},
{
"type": "nav_item",
"label": "Actions",
"map_to": "view_actions",
"client_requirement": "client_is_administrator+"
},
{
"type": "nav_menu",
"label": "%MENU_LABEL%",
"client_requirement": "client_is_viewer+",
"items": [
{ "type": "nav_item", "label": "General", "map_to": "view_general", "client_requirement": "client_is_administrator+" },
{ "type": "nav_item", "label": "Network Interfaces", "map_to": "view_network_interfaces", "client_requirement": "client_is_administrator+" },
{ "type": "nav_item", "label": "DNS", "map_to": "view_upstream_dns", "client_requirement": "client_is_administrator+" },
{ "type": "nav_item", "label": "DNS Blocking", "map_to": "view_dns_blocking", "client_requirement": "client_is_administrator+" },

View file

@ -585,7 +585,7 @@
]
},
{
"id": "view_general",
"id": "view_actions",
"client_requirement": "client_is_viewer+",
"items": [
{
@ -593,17 +593,17 @@
"items": [
{
"type": "h1",
"text": "General Settings"
"text": "Actions"
},
{
"type": "p",
"text": "Core network and logging configuration from core.json."
"text": "Apply or stage pending configuration changes."
}
]
},
{
"type": "card",
"label": "Pending Changes",
"label": "Options",
"client_requirement": "client_is_administrator+",
"items": [
{
@ -613,11 +613,11 @@
"items": [
{
"type": "field",
"label": "Apply on Save",
"name": "apply_on_save",
"label": "Apply Changes Immediately",
"name": "apply_changes_immediately",
"input_type": "checkbox",
"value": "%GENERAL_APPLY_ON_SAVE%",
"hint": "When enabled, saved changes are queued immediately. When disabled, changes accumulate here until you click Apply Now."
"hint": "When enabled, saved changes are queued immediately. When disabled, changes accumulate in Pending Changes until you click Apply Now."
},
{
"type": "button_row",
@ -635,7 +635,14 @@
]
}
]
},
}
]
},
{
"type": "card",
"label": "Pending Changes",
"client_requirement": "client_is_administrator+",
"items": [
{
"type": "raw_html",
"html": "%PENDING_CHANGES_HTML%"