From d02d7445cd80867444aafb53efdb9a1290b79334 Mon Sep 17 00:00:00 2001 From: Chuck <33324927+ChuckBuilds@users.noreply.github.com> Date: Thu, 24 Jul 2025 14:21:49 -0500 Subject: [PATCH] web ui JSON linter added --- templates/index.html | 239 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 237 insertions(+), 2 deletions(-) diff --git a/templates/index.html b/templates/index.html index 2de60967..4fb02740 100644 --- a/templates/index.html +++ b/templates/index.html @@ -244,6 +244,60 @@ display: flex; flex-direction: column; } + + .json-container { + position: relative; + } + + .json-validation { + margin-top: 10px; + padding: 10px; + border-radius: 4px; + font-family: monospace; + font-size: 12px; + display: none; + } + + .json-validation.success { + background-color: #d4edda; + color: #155724; + border: 1px solid #c3e6cb; + } + + .json-validation.error { + background-color: #f8d7da; + color: #721c24; + border: 1px solid #f5c6cb; + } + + .json-validation.warning { + background-color: #fff3cd; + color: #856404; + border: 1px solid #ffeaa7; + } + + .json-actions { + margin-top: 10px; + display: flex; + gap: 10px; + } + + .json-error-line { + background-color: #ffebee; + border-left: 3px solid #f44336; + padding: 2px 5px; + margin: 2px 0; + } + + .json-error-message { + font-weight: bold; + margin-bottom: 5px; + } + + .json-error-details { + font-size: 11px; + opacity: 0.8; + } @@ -269,8 +323,9 @@ - - + + + @@ -1501,6 +1556,52 @@ + + +
+
+

Raw Configuration JSON

+

View and copy the complete configuration files. Use these for backup or manual editing.

+ +
+

Main Configuration (config.json)

+
+ + {{ main_config_path }} +
+
+ +
+ +
+
+
+
+ + +
+
+ +
+

Secrets Configuration (config_secrets.json)

+
+ + {{ secrets_config_path }} +
+
+ +
+ +
+
+
+
+ + +
+
+
+