diff --git a/app/classes/web/panel_handler.py b/app/classes/web/panel_handler.py
index 6d94cab6..ef52dbe9 100644
--- a/app/classes/web/panel_handler.py
+++ b/app/classes/web/panel_handler.py
@@ -895,6 +895,7 @@ class PanelHandler(BaseHandler):
exec_user["user_id"]
)
+ page_data["active_link"] = "panel_config"
template = "panel/panel_config.html"
elif page == "config_json":
@@ -917,6 +918,7 @@ class PanelHandler(BaseHandler):
page_data["availables_languages"].append(file.split(".")[0])
page_data["all_languages"].append(file.split(".")[0])
+ page_data["active_link"] = "config_json"
template = "panel/config_json.html"
elif page == "add_user":
diff --git a/app/frontend/templates/panel/config_json.html b/app/frontend/templates/panel/config_json.html
index 67a34779..9f7e78f7 100644
--- a/app/frontend/templates/panel/config_json.html
+++ b/app/frontend/templates/panel/config_json.html
@@ -6,33 +6,20 @@
{% block title %}Crafty Controller - {{ translate('panelConfig', 'pageTitle', data['lang']) }}{% end %}
{% block content %}
-
+
- {% if data['superuser'] %}
-
- {% end %}
-
@@ -40,6 +27,23 @@
{% end %}
diff --git a/app/frontend/templates/panel/panel_config.html b/app/frontend/templates/panel/panel_config.html
index 15f0a269..4079fc20 100644
--- a/app/frontend/templates/panel/panel_config.html
+++ b/app/frontend/templates/panel/panel_config.html
@@ -8,28 +8,16 @@
{% block content %}
- {% if data['superuser'] %}
-
- {% end %}
-
@@ -38,6 +26,23 @@
+
+ {% if data['superuser'] %}
+ {% include "parts/crafty_config_list.html %}
+ {% end %}
+
+
+
+
+
@@ -45,9 +50,7 @@
{{ translate('panelConfig', 'users', data['lang'])
}}
{% if data['user_data']['hints'] %}
-
+
{% end %}
@@ -281,8 +280,7 @@
{{ translate('panelConfig', 'loginBackground', data['lang']) }}