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" %}
2024-12-10 12:16:52 +01:00
{% endif %}
2023-12-17 00:12:49 +13:00
{% from 'bootstrap/form.html' import render_field %}
2024-04-14 20:05:40 +12:00
{% set active_child = 'admin_site' %}
2023-12-17 00:12:49 +13:00
{% block app_content %}
< div class = "row" >
< div class = "col" >
2024-04-14 20:05:40 +12:00
< h1 > {{ _('Site profile') }}< / h1 >
2023-12-17 00:12:49 +13:00
< form method = "post" enctype = "multipart/form-data" >
{{ form.csrf_token() }}
2024-04-22 19:23:54 +02:00
< 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 >
2023-12-17 00:12:49 +13:00
{{ render_field(form.name) }}
{{ render_field(form.description) }}
{{ render_field(form.sidebar) }}
2024-06-14 18:03:47 +08:00
< p class = "small field_hint" > {{ _('HTML is allowed in this field.') }}< / p >
2024-06-10 19:07:15 +08:00
{{ render_field(form.announcement) }}
2024-06-14 18:03:47 +08:00
< p class = "small field_hint" > {{ _('HTML is allowed in this field.') }}< / p >
2024-04-22 19:23:54 +02:00
{{ render_field(form.icon) }}
2024-06-14 18:03:47 +08:00
< p class = "small field_hint" > {{ _('Provide a square image, minimum 50 pixels wide but ideally 152+ pixels.') }}
2024-04-22 19:23:54 +02:00
< 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) }}
2024-06-14 18:03:47 +08:00
< p class = "small field_hint" > {{ _('HTML is allowed in this field.') }}< / p >
2023-12-17 00:12:49 +13:00
{{ render_field(form.legal_information) }}
2024-06-14 18:03:47 +08:00
< p class = "small field_hint" > {{ _('HTML is allowed in this field.') }}< / p >
2024-04-16 12:10:24 +02:00
{{ render_field(form.contact_email) }}
2023-12-17 00:12:49 +13:00
{{ render_field(form.submit) }}
< / form >
< / div >
< / div >
2024-04-14 20:05:40 +12:00
< hr / >
< div class = "row" >
< div class = "col" >
{% include 'admin/_nav.html' %}
< / div >
< / div >
< hr / >
2023-12-17 00:12:49 +13:00
{% endblock %}