Update web/templates/settings/home.html

This commit is contained in:
Joshua Laymon 2025-08-22 00:08:32 +00:00
parent e541f83886
commit 0e0ef994bc

View File

@ -95,6 +95,30 @@
</div> </div>
</div> </div>
{% endif %} {% endif %}
{% if user.is_superuser %}
<div class="card" style="margin-top:18px;">
<h2 class="page-title">Initial Setup</h2>
<p class="muted" style="margin:-6px 0 12px;">
Superuser-only utilities for first-time population and maintenance.
</p>
<div style="display:flex; flex-wrap:wrap; gap:10px;">
<a class="btn btn-primary" href="{% url 'import_wizard' %}">
Import CSV
</a>
<a class="btn btn-danger" href="{% url 'delete_all_entries' %}">
Delete Database
</a>
</div>
<div class="small muted" style="margin-top:10px;">
CSV format (columns, in order): <code>Subject, Illustration, Application, Scripture, Source, Talk Title, Talk Number, Code, Date, Date Edited</code>.
The Import CSV page supports a dry-run preview before applying changes.
</div>
</div>
{% endif %}
</div> </div>
<style> <style>