2024-02-06 20:31:12 -08:00
|
|
|
{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %}
|
|
|
|
{% extends 'themes/' + theme() + '/base.html' %}
|
|
|
|
{% else %}
|
|
|
|
{% extends "base.html" %}
|
2024-12-10 03:16:52 -08:00
|
|
|
{% endif %}
|
2024-01-06 12:29:36 -08:00
|
|
|
{% from 'bootstrap/form.html' import render_field %}
|
2024-02-18 18:56:56 -08:00
|
|
|
{% set active_child = 'settings' %}
|
2023-10-07 01:32:19 -07:00
|
|
|
|
|
|
|
{% block app_content %}
|
2024-03-11 00:14:12 -07: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) }}
|
2024-09-27 08:00:20 -07:00
|
|
|
{{ render_field(form.hide_read_posts) }}
|
2024-03-11 00:14:12 -07:00
|
|
|
<h5> Preferences </h5>
|
2024-05-08 18:59:52 -07:00
|
|
|
{{ render_field(form.interface_language) }}
|
2024-03-11 00:14:12 -07:00
|
|
|
{{ render_field(form.markdown_editor) }}
|
|
|
|
{{ render_field(form.default_sort) }}
|
2024-08-15 18:42:29 -07:00
|
|
|
{{ render_field(form.default_filter) }}
|
2024-03-11 00:14:12 -07:00
|
|
|
{{ render_field(form.theme) }}
|
2024-08-19 12:03:08 -07:00
|
|
|
{{ render_field(form.vote_privately) }}
|
2024-09-23 17:04:29 -07:00
|
|
|
<small class="field_hint">{{ _('Votes will be sent to <a href="/instances?filter=trusted">untrusted instances</a> using an alt') }}</small>
|
2024-03-11 00:14:12 -07:00
|
|
|
{{ render_field(form.submit) }}
|
|
|
|
</form>
|
2024-05-09 22:52:16 -07: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 00:14:12 -07:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-05-29 08:21:21 -07:00
|
|
|
{% endblock %}
|