diff --git a/app/templates/instructions/organise.html b/app/templates/instructions/organise.html new file mode 100644 index 0000000..d49adf3 --- /dev/null +++ b/app/templates/instructions/organise.html @@ -0,0 +1,468 @@ +{% extends "base.html" %} + +{# Page organiser for image instructions. + Created by: Jess Rogerson (yelling commands at Claude.AI) #} + +{% block title %}Organise Pages - {{ set.set_number }}: {{ set.set_name }}{% endblock %} + +{% block content %} + + +
+
+
+
+ Organise pages +
+ + {{ set.set_number }}: {{ set.set_name }} · + {{ pages|length }} pages + +
+
+ + + + + + Preview + + + Close + +
+
+
+ +
+ {% if not audit.is_clean %} +
+ + Numbering needs a tidy-up: + {% if audit.duplicates %} + duplicates at {{ audit.duplicates|join(', ') }}. + {% endif %} + {% if audit.gaps %} + missing {{ audit.gaps|join(', ') }}. + {% endif %} + {% if audit.unnumbered %} + {{ audit.unnumbered }} with no number. + {% endif %} + Renumber fixes all of it without moving anything. +
+ {% endif %} + +

+ Drag a page onto another to drop it there, or type a position in the box + under any page and press Enter. Keyboard: tab to a page, then use the + arrow buttons. Nothing is written until you save. +

+ +
+ {% for page in pages %} +
+ {{ loop.index }} + {% if page_hints.get(page.id) %} + + #{{ page_hints[page.id] }} + + {% endif %} + Page {{ loop.index }} +
+ {{ page.file_name }} +
+ + + +
+
+
+ {% endfor %} +
+
+ +
+ Order changed + + +
+{% endblock %} + +{% block extra_js %} + +{% endblock %}