pyfedi/app/templates/dev/tools.html

56 lines
1.9 KiB
HTML
Raw Permalink Normal View History

2024-08-08 06:29:45 -07: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-08-08 06:29:45 -07:00
{% from 'bootstrap/form.html' import render_form %}
{% set active_child = 'dev_tools' %}
2024-08-08 06:29:45 -07:00
{% block app_content %}
2024-08-12 01:23:26 -07:00
<h1>{{ _('Dev Tools') }}</h1>
<p>{{ _('Use these buttons to quickly generate some testing topics and communities to use during development.') }}</p>
2024-08-08 06:29:45 -07:00
<div class="row">
2024-08-09 10:29:54 -07:00
<div class="col col-login mx-auto">
<div class="card mt-5">
<div class="card-body p-6">
<div class="card-title">{{ _('Add Dev Communities') }}</div>
<div class="card-body">
{{ render_form(communities_form) }}
2024-08-09 07:57:46 -07:00
</div>
</div>
</div>
2024-08-09 10:29:54 -07:00
</div>
<div class="col col-login mx-auto">
<div class="card mt-5">
<div class="card-body p-6">
<div class="card-title">{{ _('Add Dev Topics') }}</div>
<div class="card-body">
{{ render_form(topics_form) }}
</div>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col col-login mx-auto">
<div class="card mt-5">
<div class="card-body p-6">
<div class="card-title">{{ _('Delete Dev Communities') }}</div>
<div class="card-body">
{{ render_form(delete_communities_form) }}
</div>
</div>
</div>
</div>
<div class="col col-login mx-auto">
<div class="card mt-5">
<div class="card-body p-6">
<div class="card-title">{{ _('Delete Dev Topics') }}</div>
<div class="card-body">
{{ render_form(delete_topics_form) }}
2024-08-08 06:29:45 -07:00
</div>
</div>
</div>
</div>
2024-08-09 10:29:54 -07:00
</div>
2024-08-08 06:29:45 -07:00
{% endblock %}