diff --git a/web/templates/normalize_subjects_result.html b/web/templates/normalize_subjects_result.html new file mode 100644 index 0000000..8227b27 --- /dev/null +++ b/web/templates/normalize_subjects_result.html @@ -0,0 +1,94 @@ +{% extends "base.html" %} +{% block body_class %}themed-bg{% endblock %} + +{% block content %} +
+

Subjects Normalizer

+ +
+
+
+
Mode
+
+ {% if applied %}Applied{% else %}Dry-run (Preview){% endif %} +
+
+
+
Entries Changed
+
{{ changed }}
+
+
+
Preview Limit
+
+ {% if limit and limit|add:0 > 0 %}{{ limit }}{% else %}All{% endif %} +
+
+
+
+ +
+
Actions
+
+ +
+ + +
+ + {% if user.is_authenticated and user.is_staff %} + +
+ {% csrf_token %} + +
+ {% endif %} + + ← Back to Statistics +
+
+ Tip: Use ?limit=500 on the preview to sample a subset before applying to everything. +
+
+ +
+

Preview of Changes (first 100)

+ {% if preview %} +
+ Showing up to 100 changed rows. +
+
+ + + + + + + + + + {% for eid, before, after in preview %} + + + + + + {% endfor %} + +
IDBeforeAfter
+ {{ eid }} + + {{ before }} + + {{ after }} +
+
+ {% else %} +
No differences to show.
+ {% endif %} +
+
+{% endblock %} \ No newline at end of file