2024-02-07 17:31:12 +13:00
|
|
|
{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %}
|
|
|
|
{% extends 'themes/' + theme() + '/base.html' %}
|
|
|
|
{% else %}
|
|
|
|
{% extends "base.html" %}
|
|
|
|
{% endif %} %}
|
2024-01-07 09:29:36 +13:00
|
|
|
{% from 'bootstrap/form.html' import render_field %}
|
2024-02-19 15:56:56 +13:00
|
|
|
{% set active_child = 'settings' %}
|
2023-10-07 21:32:19 +13:00
|
|
|
|
|
|
|
{% block app_content %}
|
2024-03-11 20:14:12 +13:00
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-12 col-md-8 position-relative main_pane">
|
|
|
|
<nav class="mb-2" aria-label="breadcrumb" id="breadcrumb_nav" title="Navigation">
|
|
|
|
<ol class="breadcrumb">
|
|
|
|
<li class="breadcrumb-item"><a href="/">{{ _('Home') }}</a></li>
|
|
|
|
<li class="breadcrumb-item"><a href="/u/{{ user.link() }}">{{ user.display_name() }}</a></li>
|
|
|
|
<li class="breadcrumb-item active">{{ _('Change settings') }}</li>
|
|
|
|
</ol>
|
|
|
|
</nav>
|
|
|
|
<h1>{{ _('Change settings') }}</h1>
|
|
|
|
{% include "user/_user_nav.html" %}
|
|
|
|
<form method='post' enctype="multipart/form-data" role="form">
|
|
|
|
{{ form.csrf_token() }}
|
|
|
|
<h5> Mail Settings </h5>
|
|
|
|
{{ render_field(form.newsletter) }}
|
|
|
|
{{ render_field(form.email_unread) }}
|
|
|
|
<h5> Visibility </h5>
|
|
|
|
{{ render_field(form.searchable) }}
|
|
|
|
{{ render_field(form.indexable) }}
|
|
|
|
<h5> Preferences </h5>
|
2024-05-09 13:59:52 +12:00
|
|
|
{{ render_field(form.interface_language) }}
|
2024-03-11 20:14:12 +13:00
|
|
|
{{ render_field(form.markdown_editor) }}
|
|
|
|
{{ render_field(form.default_sort) }}
|
2024-08-16 13:42:29 +12:00
|
|
|
{{ render_field(form.default_filter) }}
|
2024-03-11 20:14:12 +13:00
|
|
|
{{ render_field(form.theme) }}
|
2024-08-20 07:03:08 +12:00
|
|
|
{{ render_field(form.vote_privately) }}
|
2024-03-11 20:14:12 +13:00
|
|
|
{{ render_field(form.submit) }}
|
|
|
|
</form>
|
2024-05-10 17:52:16 +12:00
|
|
|
<p class="mt-4 pt-4">
|
|
|
|
<a class="btn btn-warning" href="{{ url_for('user.delete_account') }}">{{ _('Delete account') }}</a>
|
|
|
|
</p>
|
2024-03-11 20:14:12 +13:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-05-29 16:21:21 +01:00
|
|
|
{% endblock %}
|