mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
4fcdcc0b77
rather than mixing it in with the settings
35 lines
1.3 KiB
HTML
35 lines
1.3 KiB
HTML
{% if theme() and file_exists('app/templates/themes/' + theme() + '/base.html') %}
|
|
{% extends 'themes/' + theme() + '/base.html' %}
|
|
{% else %}
|
|
{% extends "base.html" %}
|
|
{% endif %} %}
|
|
{% from 'bootstrap/form.html' import render_field %}
|
|
{% set active_child = 'settings' %}
|
|
|
|
{% block app_content %}
|
|
|
|
<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>Import</h5>
|
|
{{ render_field(form.import_file) }}
|
|
{{ render_field(form.submit) }}
|
|
<hr>
|
|
<h5>Export</h5>
|
|
<p>Export community subscriptions and user settings</p>
|
|
{{ render_field(form.export_settings) }}
|
|
<hr>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|