2026-07-29 17:36:22 +02:00
|
|
|
{% extends "base_admin.html" %}
|
|
|
|
|
|
2026-08-11 23:33:40 +02:00
|
|
|
{% block title %}BackItUp - Server Settings{% endblock %}
|
2026-07-29 17:36:22 +02:00
|
|
|
|
|
|
|
|
{% 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 %}
|