From a4c74f631020ca373b4a434a82f7b4bcb34dfb0e Mon Sep 17 00:00:00 2001 From: Richard Schreiber Date: Mon, 30 Jun 2025 11:19:39 +0200 Subject: [PATCH] PDF-Editor: use panel-head as topbar for common commands/tools and preview/save (#4977) --- .../templates/pretixcontrol/pdf/index.html | 179 +++++++++--------- .../static/pretixcontrol/js/ui/editor.js | 148 +++++++++------ .../static/pretixcontrol/scss/pdfeditor.css | 19 +- 3 files changed, 196 insertions(+), 150 deletions(-) diff --git a/src/pretix/control/templates/pretixcontrol/pdf/index.html b/src/pretix/control/templates/pretixcontrol/pdf/index.html index 413bb2807..f7fc78526 100644 --- a/src/pretix/control/templates/pretixcontrol/pdf/index.html +++ b/src/pretix/control/templates/pretixcontrol/pdf/index.html @@ -1,5 +1,6 @@ {% extends "pretixcontrol/event/base.html" %} {% load i18n %} +{% load icon %} {% load static %} {% load compress %} {% block title %}{% trans "PDF Editor" %}{% endblock %} @@ -25,27 +26,102 @@
-
+
+ {% csrf_token %} + + +
- - - -
+ +
+
+ + + +
+
+ + +
+
+ +
- {% trans "Editor" %}