blob: 3189d6a5f59f442d6e3bbf5023ccd273c069b9b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{%- extends 'base.html' %}
{%- from '_macros.html' import render_field, render_csrf %}
{%- set title = 'Einstellungen' %}
{%- block content %}
<form action="{{ url_for('settings') }}" method="post" class="form-horizontal">
<h2>Globale Einstellungen ändern</h2>
{{ render_field(form.mail) }}
{{ render_field(form.password) }}
{{ render_field(form.password_confirm) }}
{{ render_csrf(form) }}
<div class="form-actions"><input type="submit" value="Speichern" name="submit_main" /></div>
<!--
<h2>Dienste verwalten</h2>
{%- for service in services %}
<h3>{{ service.name }}</h3>
{%- if service.changed %}
<p>Eigenes Passwort gesetzt</p>
<p>löschen, todo</p>
<p>Ändern:</p>
{%- else %}
<p>Kein eigenes Passwort gesetzt.</p>
<p>Eigenes Passwort setzen:</p>
{%- endif %}
{{ render_field(form.get_servicepassword(service.id)) }}
{{ render_field(form.get_servicepasswordconfirm(service.id)) }}
{%- endfor %}
-->
</form>
{%- endblock %}
|