From 6d1ef386f52df0bf986bd9ecd14556bbd707a2b2 Mon Sep 17 00:00:00 2001 From: mst Date: Tue, 11 Mar 2025 16:05:14 +0300 Subject: [PATCH] crosspost admin page --- templates/admin/base.html | 4 + templates/admin/categories/crosspost.html | 96 +++++++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100644 templates/admin/categories/crosspost.html diff --git a/templates/admin/base.html b/templates/admin/base.html index d5e3d71..8b5921b 100644 --- a/templates/admin/base.html +++ b/templates/admin/base.html @@ -46,6 +46,10 @@ {{ _('Accessibility') }} + + + {{ _('Crosspost') }} + {{ _('Languages') }} diff --git a/templates/admin/categories/crosspost.html b/templates/admin/categories/crosspost.html new file mode 100644 index 0000000..aa141d2 --- /dev/null +++ b/templates/admin/categories/crosspost.html @@ -0,0 +1,96 @@ +{% extends 'admin/base.html' %} +{% block _title %}{{ _('Crosspost') }}{% endblock %} +{% set crosspost_link = 'active' %} +{% block _content %} +
+

{{ _('Crosspost') }}

+

{{ _('Automatically crosspost answers to social media') }}

+

+ + + + + + + + + + + + + + + + + + {{ _('Fediverse') }} +

+
+ + + +
+
{{ _("Setup guide") }} +
+ + +

{{ _('Your instance domain') }}

+
+
+ + +

{{ _('What visibility to use for automatic posts') }} +

+
+ + +

{{ _('What content warning to use for automatic posts; leave blank for no content warning') }}

+
+

{{ _("Credentials") }}

+

{{ _("These are generated by the setup script and usually don't need to be changed manually") }}

+ +
+ + +
+
+ + +
+
+ + +
+ {% include 'snippets/admin/saveBtn.html' %} +
+{% endblock %} +{% block _scripts %} + +{% endblock %}