diff --git a/module/webui/index.html b/module/webui/index.html index 56556e1..35b21e7 100644 --- a/module/webui/index.html +++ b/module/webui/index.html @@ -296,19 +296,8 @@
+
-
- - - -
-
@@ -331,6 +320,18 @@
+
+ + + +
+
diff --git a/module/webui/locales/A-template.json b/module/webui/locales/A-template.json index ed31e8d..e6e2711 100644 --- a/module/webui/locales/A-template.json +++ b/module/webui/locales/A-template.json @@ -93,7 +93,8 @@ "no_file_selected": "No file selected" }, "security_patch": { - "advanced_mode": "Advanced Mode", + "title": "Security Patch", + "advanced_mode": "Advanced", "auto": "Auto", "save": "Save", "auto_success": "Auto config enabled successfully, reboot to apply.", diff --git a/module/webui/locales/en-US.json b/module/webui/locales/en-US.json index ed31e8d..e6e2711 100644 --- a/module/webui/locales/en-US.json +++ b/module/webui/locales/en-US.json @@ -93,7 +93,8 @@ "no_file_selected": "No file selected" }, "security_patch": { - "advanced_mode": "Advanced Mode", + "title": "Security Patch", + "advanced_mode": "Advanced", "auto": "Auto", "save": "Save", "auto_success": "Auto config enabled successfully, reboot to apply.", diff --git a/module/webui/locales/es-ES.json b/module/webui/locales/es-ES.json index 4f14af7..f9cca49 100644 --- a/module/webui/locales/es-ES.json +++ b/module/webui/locales/es-ES.json @@ -93,7 +93,8 @@ "no_file_selected": "Ningún archivo seleccionado" }, "security_patch": { - "advanced_mode": "Modo Avanzado", + "title": "Parche de Seguridad", + "advanced_mode": "Avanzado", "auto": "Automático", "save": "Guardar", "auto_success": "Configuración automática habilitada con éxito, reinicia para aplicar.", diff --git a/module/webui/locales/ja-JP.json b/module/webui/locales/ja-JP.json index 272fd89..e1e016e 100644 --- a/module/webui/locales/ja-JP.json +++ b/module/webui/locales/ja-JP.json @@ -93,7 +93,8 @@ "no_file_selected": "ファイルが選択されていません" }, "security_patch": { - "advanced_mode": "高度なモード", + "title": "セキュリティ补丁", + "advanced_mode": "高度", "auto": "自動", "save": "保存", "auto_success": "自動設定が正常に有効になりました。適用するには再起動してください。", diff --git a/module/webui/locales/ru-RU.json b/module/webui/locales/ru-RU.json index bddf8c3..03d193c 100644 --- a/module/webui/locales/ru-RU.json +++ b/module/webui/locales/ru-RU.json @@ -93,7 +93,8 @@ "no_file_selected": "Файл не выбран" }, "security_patch": { - "advanced_mode": "Расширенный режим", + "title": "Патч безопасности", + "advanced_mode": "Расширенный", "auto": "Авто", "save": "Сохранить", "auto_success": "Автоматическая конфигурация успешно включена, перезагрузите для применения.", diff --git a/module/webui/locales/tl-PH.json b/module/webui/locales/tl-PH.json index ac50c6f..bff5f08 100644 --- a/module/webui/locales/tl-PH.json +++ b/module/webui/locales/tl-PH.json @@ -93,7 +93,8 @@ "no_file_selected": "Walang napiling file" }, "security_patch": { - "advanced_mode": "Advanced Mode", + "title": "Security Patch", + "advanced_mode": "Advanced", "auto": "Auto", "save": "I-save", "auto_success": "Matagumpay na na-enable ang auto config, mag-reboot upang i-apply.", diff --git a/module/webui/locales/tr-TR.json b/module/webui/locales/tr-TR.json index ae627de..deda915 100644 --- a/module/webui/locales/tr-TR.json +++ b/module/webui/locales/tr-TR.json @@ -93,7 +93,8 @@ "no_file_selected": "Dosya seçilmedi" }, "security_patch": { - "advanced_mode": "Gelişmiş Mod", + "title": "Güvenlik Yaması", + "advanced_mode": "Gelişmiş", "auto": "Otomatik", "save": "Kaydet", "auto_success": "Otomatik yapılandırma başarıyla etkinleştirildi, yeniden başlatın.", diff --git a/module/webui/locales/zh-CN.json b/module/webui/locales/zh-CN.json index 853485b..524d535 100644 --- a/module/webui/locales/zh-CN.json +++ b/module/webui/locales/zh-CN.json @@ -93,7 +93,8 @@ "no_file_selected": "未选择文件" }, "security_patch": { - "advanced_mode": "高级模式", + "title": "安全补丁", + "advanced_mode": "高级", "auto": "自动", "save": "保存", "auto_success": "自动配置成功启用,重启生效。", diff --git a/module/webui/locales/zh-TW.json b/module/webui/locales/zh-TW.json index 8ad9f0f..c1e7d47 100644 --- a/module/webui/locales/zh-TW.json +++ b/module/webui/locales/zh-TW.json @@ -93,7 +93,8 @@ "no_file_selected": "未選擇文件" }, "security_patch": { - "advanced_mode": "進階模式", + "title": "安全補丁", + "advanced_mode": "進階", "auto": "自動", "save": "保存", "auto_success": "自動配置成功啟用,重啟生效。", diff --git a/module/webui/styles/security-patch.css b/module/webui/styles/security-patch.css index d91216d..8defb43 100644 --- a/module/webui/styles/security-patch.css +++ b/module/webui/styles/security-patch.css @@ -24,7 +24,7 @@ z-index: 2001; width: calc(90% - 60px); max-width: 300px; - max-height: 90%; + max-height: calc(80% - 60px); overflow-y: auto; transition: opacity 0.2s ease; opacity: 0; @@ -36,9 +36,16 @@ gap: 20px; } +.security-patch-header { + width: 100%; + text-align: center; + font-size: 26px; +} + .advanced-toggle { display: flex; align-items: center; + justify-content: center; gap: 8px; user-select: none; } @@ -120,7 +127,7 @@ .auto-button, .save-button { width: 100%; - padding: 10px; + padding: 12px; border: none; border-radius: 12px; font-size: 18px;