mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
d97a792987
Rework HTTP Handler as we redirect all trafic to HTTPS
66 lines
2.0 KiB
HTML
66 lines
2.0 KiB
HTML
{% extends ../blank_base.html %}
|
|
|
|
{% block title %}Crafty Controller - Setup 1{% end %}
|
|
|
|
{% block content %}
|
|
|
|
<div class="auto-form-wrapper">
|
|
<div class="text-center">
|
|
<!-- <img src="/static/assets/images/logo_long.svg">-->
|
|
{{ _('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>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
{% if data['is_windows'] %}
|
|
<label class="label">
|
|
{{ _('Server Path') }} - <small>{{ _('Example c:\minecraft\server') }}</small>
|
|
</label>
|
|
|
|
<div class="input-group">
|
|
<input type="text" class="form-control" placeholder="{{ _('Server Path') }}" name="server_path"
|
|
value="c:\windows\minecraft" maxlength="255">
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
<label class="label">
|
|
{{ _('Server Path') }} - <small>{{ _("Example: /var/opt/minecraft/server") }}</small>
|
|
</label>
|
|
|
|
<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>
|
|
|
|
<div class="form-group">
|
|
<label class="label">
|
|
{{ _('Server Jar') }} - <small>{{ _('Example paper.jar') }}</small>
|
|
</label>
|
|
|
|
<input type="text" class="form-control" placeholder="{{ _('Server Jar') }}" name="server_jar" value="paper.jar" maxlength="255">
|
|
</div>
|
|
|
|
|
|
<div class="form-group">
|
|
<button class="btn btn-primary submit-btn btn-block"><i class="fas fa-save"></i> Save</button>
|
|
</div>
|
|
|
|
</form>
|
|
</div>
|
|
|
|
|
|
{% end %} |