Development
This commit is contained in:
parent
8ae6985503
commit
c8607ba8c5
3 changed files with 139 additions and 13 deletions
|
|
@ -319,7 +319,9 @@
|
|||
"type": "stat_card",
|
||||
"label": "Check Interval",
|
||||
"value": "%DDNS_TIMER_INTERVAL%",
|
||||
"sub": "%STAT_PUBLIC_IP_LAST_CHECKED%"
|
||||
"sub": "%STAT_PUBLIC_IP_LAST_CHECKED%",
|
||||
"edit_action": "/action/ddns_cardinterval_save",
|
||||
"edit_field": "timer_interval"
|
||||
},
|
||||
{
|
||||
"type": "stat_card",
|
||||
|
|
@ -476,6 +478,45 @@
|
|||
"text": "Clear Log"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "hr"
|
||||
},
|
||||
{
|
||||
"type": "form",
|
||||
"action": "/action/ddns_cardlog_save",
|
||||
"method": "post",
|
||||
"items": [
|
||||
{
|
||||
"type": "field",
|
||||
"label": "Max Log Size (KB)",
|
||||
"name": "log_max_kb",
|
||||
"input_type": "number",
|
||||
"value": "%DDNS_GEN_LOG_MAX_KB%",
|
||||
"min": "64"
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"label": "Log errors only",
|
||||
"name": "log_errors_only",
|
||||
"input_type": "checkbox",
|
||||
"checkbox_label": "Only record errors to log",
|
||||
"value": "%DDNS_GEN_LOG_ERRORS_ONLY%"
|
||||
},
|
||||
{
|
||||
"type": "button_row",
|
||||
"items": [
|
||||
{
|
||||
"type": "button_primary",
|
||||
"text": "Save"
|
||||
},
|
||||
{
|
||||
"type": "button_cancel",
|
||||
"text": "Cancel"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue