From 2d6289b0302d6c101939ccc2362b77031067a947 Mon Sep 17 00:00:00 2001 From: Joshua Laymon Date: Fri, 22 Aug 2025 00:14:00 +0000 Subject: [PATCH] Update web/templates/import_wizard.html --- web/templates/import_wizard.html | 36 +++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/web/templates/import_wizard.html b/web/templates/import_wizard.html index 2e2a28c..6c4b9bd 100644 --- a/web/templates/import_wizard.html +++ b/web/templates/import_wizard.html @@ -1,18 +1,30 @@ {% extends "base.html" %} -{% block title %}Import Data - Illustrations DB{% endblock %} +{% block body_class %}themed-bg{% endblock %} {% block content %} -
-

Import Data (CSV)

-

Expected headers (any order, case-insensitive): Subject, Illustration, Application, Scripture, Source, Talk Title, Talk Number, Code, Date, Date Edited

-
{% csrf_token %} -
-
{{ form.file }}
-
{{ form.dry_run }} {{ form.dry_run.help_text }}
+
+
+

Import CSV

+

+ Columns (in order): Subject, Illustration, Application, Scripture, Source, Talk Title, Talk Number, Code, Date, Date Edited. + You can dry-run to preview changes without writing. +

+ + {% csrf_token %} +
+ {{ form.file.label_tag }} {{ form.file }} + {% if form.file.errors %}
{{ form.file.errors|striptags }}
{% endif %}
-
- Cancel - + +
+
+
+ Cancel + +
-{% endblock %} +
+{% endblock %} \ No newline at end of file