Refactor maintenance.php

This commit is contained in:
jokob-sk
2024-09-01 08:27:17 +10:00
parent 5a96ad2304
commit 3e4f64a7c6
6 changed files with 85 additions and 271 deletions

View File

@@ -158,6 +158,34 @@
"string": "Hide Device tiles with zero results."
}
]
},
{
"function": "dark_mode",
"type": {
"dataType": "boolean",
"elements": [
{
"elementType": "input",
"elementOptions": [{ "type": "checkbox" }],
"transformers": []
}
]
},
"default_value": false,
"options": [],
"localized": ["name", "description"],
"name": [
{
"language_code": "en_us",
"string": "Dark mode"
}
],
"description": [
{
"language_code": "en_us",
"string": "Enable dark mode."
}
]
}
]
}