diff --git a/app/classes/web/panel_handler.py b/app/classes/web/panel_handler.py index e8c949f8..60a0e237 100644 --- a/app/classes/web/panel_handler.py +++ b/app/classes/web/panel_handler.py @@ -84,7 +84,7 @@ class PanelHandler(BaseHandler): self.redirect("/panel/error?error=Invalid Server ID") return False - valid_subpages = ['term', 'logs'] + valid_subpages = ['term', 'logs', 'config'] if subpage not in valid_subpages: subpage = 'term' diff --git a/app/frontend/templates/panel/server_config.html b/app/frontend/templates/panel/server_config.html new file mode 100644 index 00000000..a2085e98 --- /dev/null +++ b/app/frontend/templates/panel/server_config.html @@ -0,0 +1,178 @@ +{% extends ../base.html %} + +{% block meta %} + +{% end %} + +{% block title %}Crafty Controller - Server Details{% end %} + +{% block content %} + +
+ + +
+
+ +
+ +
+ + + {% include "parts/details_stats.html %} + +
+ +
+
+
+ + +
+
+
+ {% raw xsrf_form_html() %} + +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + +
+ +
+ + + + +
+ + + +
+
+ +
+
+
+

Blockquotes

+

Wrap content inside <blockquote class="blockquote">

+
+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.

+
+
+ +
+
+
+ +
+
+
+
+ +{{ data['server_stats'] }} + + + +
+ + +{% end %} + +{% block js %} + + +{% end %} \ No newline at end of file diff --git a/app/frontend/templates/panel/server_logs.html b/app/frontend/templates/panel/server_logs.html index ca6c4a53..57bab289 100644 --- a/app/frontend/templates/panel/server_logs.html +++ b/app/frontend/templates/panel/server_logs.html @@ -16,7 +16,8 @@ diff --git a/app/frontend/templates/panel/server_term.html b/app/frontend/templates/panel/server_term.html index 4b992f69..a70b2718 100644 --- a/app/frontend/templates/panel/server_term.html +++ b/app/frontend/templates/panel/server_term.html @@ -16,7 +16,8 @@ @@ -84,7 +85,6 @@ -{{ data['server_stats'] }}