2020-08-17 02:47:53 +00:00
|
|
|
{% extends ../blank_base.html %}
|
|
|
|
|
|
|
|
{% block title %}Crafty Controller - Setup 1{% end %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<div class="auto-form-wrapper">
|
2023-01-25 22:26:04 +00:00
|
|
|
<div class="text-center">
|
2021-11-02 15:00:48 +00:00
|
|
|
<!-- <img src="/static/assets/images/logo_long.svg">-->
|
2023-01-25 22:26:04 +00:00
|
|
|
{{ _('Configure Your Existing Server') }}<br /><br />
|
|
|
|
</div>
|
|
|
|
<form action="/login" method="post">
|
|
|
|
{% raw xsrf_form_html() %}
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
<label class="label">
|
|
|
|
{{ _('Server Name') }} - <small>{{ _('Example Survival Server') }}</small>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<div class="input-group">
|
|
|
|
<input type="text" class="form-control" placeholder="{{ _('Server Name') }}" name="server_name" value="{{_('MyFirstServer') }}" maxlength="55">
|
|
|
|
</div>
|
2020-08-17 02:47:53 +00:00
|
|
|
</div>
|
|
|
|
|
2023-01-25 22:26:04 +00:00
|
|
|
<div class="form-group">
|
|
|
|
{% if data['is_windows'] %}
|
|
|
|
<label class="label">
|
|
|
|
{{ _('Server Path') }} - <small>{{ _('Example c:\minecraft\server') }}</small>
|
|
|
|
</label>
|
2020-08-17 02:47:53 +00:00
|
|
|
|
2023-01-25 22:26:04 +00:00
|
|
|
<div class="input-group">
|
|
|
|
<input type="text" class="form-control" placeholder="{{ _('Server Path') }}" name="server_path"
|
|
|
|
value="c:\windows\minecraft" maxlength="255">
|
|
|
|
</div>
|
2020-08-17 02:47:53 +00:00
|
|
|
|
2023-01-25 22:26:04 +00:00
|
|
|
{% else %}
|
2020-08-17 02:47:53 +00:00
|
|
|
|
2023-01-25 22:26:04 +00:00
|
|
|
<label class="label">
|
|
|
|
{{ _('Server Path') }} - <small>{{ _("Example: /var/opt/minecraft/server") }}</small>
|
|
|
|
</label>
|
2020-08-17 02:47:53 +00:00
|
|
|
|
2023-01-25 22:26:04 +00:00
|
|
|
<div class="input-group">
|
|
|
|
<input type="text" class="form-control" placeholder="{{ _('Server Path') }}" name="server_path"
|
|
|
|
value="c:\windows\minecraft" maxlength="255">
|
|
|
|
</div>
|
|
|
|
{% end %}
|
|
|
|
</div>
|
2020-08-17 02:47:53 +00:00
|
|
|
|
2023-01-25 22:26:04 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="label">
|
|
|
|
{{ _('Server Jar') }} - <small>{{ _('Example paper.jar') }}</small>
|
|
|
|
</label>
|
2020-08-17 02:47:53 +00:00
|
|
|
|
2023-01-25 22:26:04 +00:00
|
|
|
<input type="text" class="form-control" placeholder="{{ _('Server Jar') }}" name="server_jar" value="paper.jar" maxlength="255">
|
|
|
|
</div>
|
2020-08-17 02:47:53 +00:00
|
|
|
|
|
|
|
|
2023-01-25 22:26:04 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<button class="btn btn-primary submit-btn btn-block"><i class="fas fa-save"></i> Save</button>
|
|
|
|
</div>
|
2020-08-17 02:47:53 +00:00
|
|
|
|
2023-01-25 22:26:04 +00:00
|
|
|
</form>
|
2020-08-17 02:47:53 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
{% end %}
|