mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2025-01-19 17:55:29 +01:00
Merge branch 'feature/java-selection' of gitlab.com:crafty-controller/crafty-4 into feature/java-selection
This commit is contained in:
commit
093058d01c
@ -50,8 +50,8 @@
|
|||||||
placeholder="{{ translate('serverConfig', 'serverName', data['lang']) }}" required>
|
placeholder="{{ translate('serverConfig', 'serverName', data['lang']) }}" required>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% if data['super_user'] %}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
{% if data['super_user'] %}
|
|
||||||
<label for="server_path">{{ translate('serverConfig', 'serverPath', data['lang']) }} <small
|
<label for="server_path">{{ translate('serverConfig', 'serverPath', data['lang']) }} <small
|
||||||
class="text-muted ml-1"> - {{ translate('serverConfig', 'serverPathDesc', data['lang']) }}</small>
|
class="text-muted ml-1"> - {{ translate('serverConfig', 'serverPathDesc', data['lang']) }}</small>
|
||||||
</label>
|
</label>
|
||||||
@ -78,9 +78,9 @@
|
|||||||
value="{{ data['server_stats']['server_id']['executable'] }}"
|
value="{{ data['server_stats']['server_id']['executable'] }}"
|
||||||
placeholder="{{ translate('serverConfig', 'serverExecutable', data['lang']) }}" required>
|
placeholder="{{ translate('serverConfig', 'serverExecutable', data['lang']) }}" required>
|
||||||
</div>
|
</div>
|
||||||
|
{% end %}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="executable">{{ translate('serverConfig', 'javaVersion', data['lang']) }} <small
|
<label for="java_selection">{{ translate('serverConfig', 'javaVersion', data['lang']) }} <small
|
||||||
class="text-muted ml-1"> - {{ translate('serverConfig', 'javaVersionDesc', data['lang'])
|
class="text-muted ml-1"> - {{ translate('serverConfig', 'javaVersionDesc', data['lang'])
|
||||||
}}</small> </label>
|
}}</small> </label>
|
||||||
<select class="form-select form-control form-control-lg select-css" id="java_selection"
|
<select class="form-select form-control form-control-lg select-css" id="java_selection"
|
||||||
@ -91,7 +91,7 @@
|
|||||||
{% end %}
|
{% end %}
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
|
{% if data['super_user'] %}
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="execution_command">{{ translate('serverConfig', 'serverExecutionCommand', data['lang']) }}
|
<label for="execution_command">{{ translate('serverConfig', 'serverExecutionCommand', data['lang']) }}
|
||||||
<small class="text-muted ml-1"> - {{ translate('serverConfig', 'serverExecutionCommandDesc',
|
<small class="text-muted ml-1"> - {{ translate('serverConfig', 'serverExecutionCommandDesc',
|
||||||
@ -99,8 +99,8 @@
|
|||||||
<input type="text" class="form-control" name="execution_command" id="execution_command"
|
<input type="text" class="form-control" name="execution_command" id="execution_command"
|
||||||
value="{{ data['server_stats']['server_id']['execution_command'] }}"
|
value="{{ data['server_stats']['server_id']['execution_command'] }}"
|
||||||
placeholder="{{ translate('serverConfig', 'serverExecutionCommand', data['lang']) }}" required>
|
placeholder="{{ translate('serverConfig', 'serverExecutionCommand', data['lang']) }}" required>
|
||||||
{% end %}
|
|
||||||
</div>
|
</div>
|
||||||
|
{% end %}
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="stop_command">{{ translate('serverConfig', 'serverStopCommand', data['lang']) }} <small
|
<label for="stop_command">{{ translate('serverConfig', 'serverStopCommand', data['lang']) }} <small
|
||||||
|
Loading…
x
Reference in New Issue
Block a user