Configure shop app, admin sidebar, media routing, and Stripe dependencies

This commit is contained in:
zach committed 2026-11-24 00:16:35 +00:00
commit 93d83a0d63
188 files changed
+9220

No files matched your search

@@ -0,0 +1,35 @@
{% extends 'admin/change_form.html' %}
{% load static %}
{% block extrahead %}{{ block.super }}{% endblock %}
{% block bodyclass %}{{ block.super }} desk-manuscript{% endblock %}
{% block form_top %}
{{ block.super }}
<section class="manuscript-header" aria-label="Manuscript desk">
<span class="desk-eyebrow">SLX Editorial / Manuscript desk</span>
<h2>{% if add %}New chapter{% else %}{{ original.title }}{% endif %}</h2>
<p>{% if not add %}Chapter #{{ original.number|stringformat:'03d' }} · {% endif %}Set the reading order, check your artwork, and prepare the release.</p>
{% if ai_url %}<a class="studio-button" href="{{ ai_url }}">AI reader</a>{% endif %}
{% for inline in inline_admin_formsets %}<a class="studio-button manuscript-jump" href="#{{ inline.formset.prefix }}-group">Go to page uploads ↓</a>{% endfor %}
</section>
{% endblock %}
{% block inline_field_sets %}
{% if inline_admin_formsets %}
<div class="manuscript-guide">
<span class="studio-kicker">03 / PAGE UPLOADS</span>
<h2>Manuscript intake</h2>
{% if bulk_url %}<p><a class="studio-button studio-primary" href="{{ bulk_url }}">Open art organizer</a></p>
{% elif add %}<p>Save the chapter as a draft to unlock bulk uploads.</p>{% endif %}
<p>Still JPG, PNG, and WebP artwork is saved as WebP automatically.</p>
<p>Add each image in reading order. Pick <strong>Double spread</strong> for one wide file, or <strong>Start a new pair</strong> for the first of two separate images.</p>
<p>Drag the thumbnail cards to set reading order. Use the × on an image to remove it, then save the chapter to apply.</p>
<input type="hidden" name="studio_inline_order" value="{{ request.POST.studio_inline_order|default:'' }}">
{% if perms.catalog.add_page %}<div class="studio-inline-drop" data-inline-drop hidden>
<label for="studio-batch-picker">Add several pages here</label>
<input type="file" id="studio-batch-picker" accept="image/jpeg,image/png,image/webp" multiple>
<p data-inline-drop-status role="status"></p>
</div>{% endif %}
<ol class="art-board" data-inline-art {% if perms.catalog.change_page or add and perms.catalog.add_page %}data-can-sort{% endif %} aria-label="Page thumbnails"></ol>
</div>
{% endif %}
{{ block.super }}
{% endblock %}