From 177d99e00294ee3565e81648656c42d45bccee8a Mon Sep 17 00:00:00 2001 From: amcmanu3 Date: Tue, 21 Jun 2022 15:59:34 -0400 Subject: [PATCH] Add mobile menu to pages without it --- .../templates/panel/server_config.html | 170 +++++++++--------- .../templates/panel/server_files.html | 17 +- app/frontend/templates/panel/server_logs.html | 46 +++-- 3 files changed, 127 insertions(+), 106 deletions(-) diff --git a/app/frontend/templates/panel/server_config.html b/app/frontend/templates/panel/server_config.html index b2c02416..3c107d30 100644 --- a/app/frontend/templates/panel/server_config.html +++ b/app/frontend/templates/panel/server_config.html @@ -32,7 +32,12 @@
- {% include "parts/server_controls_list.html" %} + + {% include "parts/server_controls_list.html %} + + + {% include "parts/m_server_controls_list.html %} +
@@ -82,14 +87,15 @@ {% if data['server_stats']['server_type'] == "minecraft-java" %}
@@ -106,94 +112,94 @@
{% else %}
@@ -396,4 +402,4 @@ -{% end %} +{% end %} \ No newline at end of file diff --git a/app/frontend/templates/panel/server_files.html b/app/frontend/templates/panel/server_files.html index 45e02ced..a48c522e 100644 --- a/app/frontend/templates/panel/server_files.html +++ b/app/frontend/templates/panel/server_files.html @@ -32,7 +32,12 @@
- {% include "parts/server_controls_list.html" %} + + {% include "parts/server_controls_list.html %} + + + {% include "parts/m_server_controls_list.html %} +
@@ -212,7 +217,9 @@ display: none; } - html, body, body > .container-scroller { + html, + body, + body>.container-scroller { overflow: initial; } @@ -285,7 +292,7 @@ mac: 'Command-S', sender: 'editor|cli' }, - exec: function(env, args, request) { + exec: function (env, args, request) { save() } }); @@ -1097,7 +1104,7 @@ if (handlerName == 'null') handlerName = null; editor.setKeyboardHandler(handlerName, () => { if (handlerName == 'ace/keyboard/vim') { - require("ace/keyboard/vim").Vim.defineEx('write', 'w', function() { + require("ace/keyboard/vim").Vim.defineEx('write', 'w', function () { save(); }); } @@ -1117,4 +1124,4 @@ -{% end %} +{% 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 c4b0aa89..0d2ebe2b 100644 --- a/app/frontend/templates/panel/server_logs.html +++ b/app/frontend/templates/panel/server_logs.html @@ -9,14 +9,15 @@
- +
@@ -24,23 +25,30 @@
- {% include "parts/details_stats.html" %} + {% include "parts/details_stats.html" %}
- {% include "parts/server_controls_list.html" %} + + {% include "parts/server_controls_list.html %} + + + {% include "parts/m_server_controls_list.html %} + -
-
-
+
+
+
-
- -
+
+ + +
@@ -57,8 +65,8 @@ -{% end %} +{% end %} \ No newline at end of file