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'] %}
{{ data['server_stats']['server_id']['path'] }} @@ -71,21 +71,21 @@ {% if data['server_stats']['server_type'] != "minecraft-bedrock" %}
+ value="{{ data['server_stats']['server_id']['log_path'] }}" + placeholder="{{ translate('serverConfig', 'serverLogLocation', data['lang']) }}" required>
{% end %}
+ value="{{ data['server_stats']['server_id']['executable'] }}" + placeholder="{{ translate('serverConfig', 'serverExecutable', data['lang']) }}" required>
{% end %} {% if data['server_stats']['server_type'] == "minecraft-java" %} @@ -95,7 +95,7 @@ }} + value="{{ data['server_stats']['server_id']['execution_command'] }}" + placeholder="{{ translate('serverConfig', 'serverExecutionCommand', data['lang']) }}" required>
{% else %} + value="{{ data['server_stats']['server_id']['executable_update_url'] }}" + placeholder="{{ translate('serverConfig', 'exeUpdateURL', data['lang']) }}">
{% 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>
+ + +
+
+ {% if data['server_stats']['server_id']['auto_start'] %} + + + {% else %} + + + {% end %} +
+
+
+
+ {% if data['server_stats']['server_id']['crash_detection'] %} + + + {% else %} + + + {% end %} +
+
+
+
+ {% if data['super_user'] %} + {% if data['server_stats']['server_id']['show_status'] %} + + + {% else %} +   {{ translate('serverConfig', 'showStatus', data['lang']) }} + + {% end %} + {% end %} +
+
@@ -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 @@