mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-24 11:51:27 -08:00
43 lines
No EOL
1.8 KiB
HTML
43 lines
No EOL
1.8 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 = 'admin_site' %}
|
|
|
|
{% block app_content %}
|
|
|
|
<div class="row">
|
|
<div class="col">
|
|
<h1>{{ _('Site profile') }}</h1>
|
|
<form method="post" enctype="multipart/form-data">
|
|
{{ form.csrf_token() }}
|
|
<p>{{ _('Configure the flair the instance, by giving it a name, ashort slogan, basic info for the sidebar and a logo. This information appears in link previews in social media.') }}</p>
|
|
{{ render_field(form.name) }}
|
|
{{ render_field(form.description) }}
|
|
{{ render_field(form.sidebar) }}
|
|
<p class="small field_hint">HTML is allowed in this field.</p>
|
|
{{ render_field(form.announcement) }}
|
|
<p class="small field_hint">HTML is allowed in this field.</p>
|
|
{{ render_field(form.icon) }}
|
|
|
|
<h2>{{ _('About this instance') }}</h2>
|
|
<p>{{ _('Provide a more extensive description of the instance, set a contact address and provide legal information. This information appears on the <a href="/about">about</a> page.') }}</p>
|
|
{{ render_field(form.about) }}
|
|
<p class="small field_hint">HTML is allowed in this field.</p>
|
|
{{ render_field(form.legal_information) }}
|
|
<p class="small field_hint">HTML is allowed in this field.</p>
|
|
{{ render_field(form.contact_email) }}
|
|
{{ render_field(form.submit) }}
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<hr />
|
|
<div class="row">
|
|
<div class="col">
|
|
{% include 'admin/_nav.html' %}
|
|
</div>
|
|
</div>
|
|
<hr />
|
|
{% endblock %} |