v0.0.1 first commit
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{% extends "base_admin.html" %}
|
||||
|
||||
{% block title %}StFV Backup - Server Settings{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Server Settings</h2>
|
||||
<p>Diese Einstellungen gelten fuer den Flask-Webserver.</p>
|
||||
|
||||
<div class="card">
|
||||
<form method="post" action="{{ url_for('server_settings') }}">
|
||||
<label for="ip">Server Host / IP</label>
|
||||
<input id="ip" name="ip" type="text" value="{{ config.ip }}" required>
|
||||
|
||||
<label for="port">Server Port</label>
|
||||
<input id="port" name="port" type="number" min="1" max="65535" value="{{ config.port }}" required>
|
||||
|
||||
<label for="debug">Debug Modus</label>
|
||||
<select id="debug" name="debug">
|
||||
<option value="false" {% if not config.debug %}selected{% endif %}>false</option>
|
||||
<option value="true" {% if config.debug %}selected{% endif %}>true</option>
|
||||
</select>
|
||||
|
||||
<button class="btn" type="submit">Server Settings speichern</button>
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user