From 7949db65ac38521e6d8afbf31f475ab7b8b48fe0 Mon Sep 17 00:00:00 2001
From: Silversthorn
Date: Tue, 31 Jan 2023 20:20:08 +0100
Subject: [PATCH 01/35] Improving Switches on Config Server Page
---
.../templates/panel/server_config.html | 147 +++++++++++-------
1 file changed, 93 insertions(+), 54 deletions(-)
diff --git a/app/frontend/templates/panel/server_config.html b/app/frontend/templates/panel/server_config.html
index fb19ec05..3937e8d1 100644
--- a/app/frontend/templates/panel/server_config.html
+++ b/app/frontend/templates/panel/server_config.html
@@ -50,17 +50,17 @@
+ value="{{ data['server_stats']['server_id']['server_name'] }}"
+ placeholder="{{ translate('serverConfig', 'serverName', data['lang']) }}" required>
{% if data['super_user'] %}
{% end %}
+ value="{{ data['server_stats']['server_id']['server_ip'] }}" required>
+ value="{{ data['server_stats']['server_id']['server_port'] }}" step="1" max="65566" min="1"
+ required>
" ,
+ data-content="{{
translate('serverConfig', 'statsHint1' , data['lang'])}}
{{ translate('serverConfig', 'statsHint2', data['lang'])}}" ,
- data-placement="right">
+ data-placement="right">
{% end %}
@@ -181,8 +181,8 @@
'timeoutExplain2', data['lang']) }}
+ value="{{ data['server_stats']['server_id']['shutdown_timeout'] }}" step="2" max="300" min="60"
+ required>
@@ -190,19 +190,20 @@
- {{ translate('serverConfig', 'removeOldLogsAfterDesc',
data['lang']) }}
+ value="{{ data['server_stats']['server_id']['logs_delete_after'] }}" step="1" max="365" min="0"
+ required>
+
+
+
+
+
@@ -257,13 +295,13 @@
{% if data['server_stats']['running'] %}
{% if data['server_stats']['updating'] %}
{% else %}
{% end %}
{{ translate('serverConfig', 'deleteServer', data['lang'])
@@ -273,13 +311,13 @@
{% if not data['failed'] %}
{% if data['server_stats']['updating'] %}
{% else %}
{% end %}
{% end %}
@@ -305,18 +343,19 @@
From 137ae3041ffe689a34d8552bbf7bdd5d2626a157 Mon Sep 17 00:00:00 2001
From: Silversthorn
Date: Thu, 2 Feb 2023 23:47:54 +0100
Subject: [PATCH 02/35] Improving Forms Displays for upload files and server
creation
---
.../templates/panel/custom_login.html | 52 +-
.../templates/server/bedrock_wizard.html | 659 ++++++++----------
app/frontend/templates/server/wizard.html | 392 ++++++-----
app/translations/en_EN.json | 2 +
4 files changed, 548 insertions(+), 557 deletions(-)
diff --git a/app/frontend/templates/panel/custom_login.html b/app/frontend/templates/panel/custom_login.html
index 018eb006..deb69210 100644
--- a/app/frontend/templates/panel/custom_login.html
+++ b/app/frontend/templates/panel/custom_login.html
@@ -51,16 +51,19 @@
{{ translate('customLogin', 'loginImage', data['lang']) }}
-
+ {% end %}
{% raw xsrf_form_html() %}
@@ -72,12 +100,22 @@
data['lang']) }}
+
+ {% if not data["server_api"] and data["online"] %}
+
+ {% end %}
+ {% if not data["online"] %}
+
+
{{ translate('error', 'noInternet', data['lang']) }}
+ {% end %}
- {% end %}
diff --git a/app/frontend/templates/server/wizard.html b/app/frontend/templates/server/wizard.html
index 0a201cbb..5085ca90 100644
--- a/app/frontend/templates/server/wizard.html
+++ b/app/frontend/templates/server/wizard.html
@@ -17,7 +17,6 @@
- {% if data['online'] %}