diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2016-01-23 13:04:35 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2016-01-25 01:56:13 +0100 |
commit | 899947bd00df10cca15aca1b3c14125b38b35ecf (patch) | |
tree | cbe0cd8023efa657b478476a70f83d2f5cb5509b /templates/settings.html | |
parent | bd20d0ff1c7a582f3c53d30bfc387139c419ef35 (diff) | |
download | web-899947bd00df10cca15aca1b3c14125b38b35ecf.tar.gz web-899947bd00df10cca15aca1b3c14125b38b35ecf.tar.bz2 web-899947bd00df10cca15aca1b3c14125b38b35ecf.zip |
Moved everything into a package
Diffstat (limited to 'templates/settings.html')
-rw-r--r-- | templates/settings.html | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/templates/settings.html b/templates/settings.html deleted file mode 100644 index dcae7ff..0000000 --- a/templates/settings.html +++ /dev/null @@ -1,62 +0,0 @@ -{%- extends 'base.html' %} -{%- from '_macros.html' import render_field, render_csrf, render_submit %} -{%- set title = 'Einstellungen' %} -{%- block content %} -<form action="{{ url_for('settings') }}" method="post" class="form-horizontal"> - <h2>Globale Einstellungen ändern</h2> - {{ render_field(form.mail) }} - <p></p> - {{ render_field(form.old_password) }} - {{ render_field(form.password) }} - {{ render_field(form.password_confirm) }} - {{ render_csrf(form) }} - {{ render_submit(value='Speichern',name='submit_main') }} - - <h2>Dienste verwalten</h2> - <p> - Standardmäßig kannst du dich auf allen teilnehmenden Diensten mit dem - oben konfigurierten allgemeinen Passwort einloggen. - </p> - <p> - Du kannst für jeden Dienst ein eigenes Passwort setzen. Das empfiehlt - sich zum Beispiel, wenn du einen der Dienste oft unterwegs an fremden - Rechnern nutzt. - </p> - - {%- for service in services %} - <div class="service"> - <h3> - {% if service.changed %} - {{ form.get_servicedelete(service.id) }} - {% else %} - {{ form.get_servicedelete(service.id)(disabled=True) }} - {% endif %} - {{ service.name }} - </h3> - - <ul> - {%- if service.changed %} - <li class="active">eigenes Passwort</li> - </li> - {%- else %} - <li class="inactive">allgemeines Passwort</li> - {%- endif %} - </ul> - - <div class="form-service"> - <p>Neues Passwort setzen:</p> - {{ render_field(form.get_servicepassword(service.id)) }} - {{ render_field(form.get_servicepasswordconfirm(service.id)) }} - {{ render_submit(value='Speichern',name='submit_main') }} - </div> - </div> - {%- endfor %} - <div class="form-submit-services"> - <input type="submit" value="selektierte Passwörter zurücksetzen" name="submit_services" /> - </div> -</form> -{%- endblock %} - -{% block javascript %} - $(document).ready(settings_service_toggle); -{% endblock %} |