From 202d9f9d7e8ced11316423f6df280d00288a652d Mon Sep 17 00:00:00 2001
From: Diaco Soltanpour
Date: Mon, 5 Oct 2026 23:22:04 +0330
Subject: [PATCH] Add end-page control for inclusive print ranges
Operators can print a middle slice of labels, not only resume from a start page through the end.
Co-authored-by: Cursor
---
slips/templates/slips/print_page.html | 28 +++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)
diff --git a/slips/templates/slips/print_page.html b/slips/templates/slips/print_page.html
index 0bb0591..cadc384 100644
--- a/slips/templates/slips/print_page.html
+++ b/slips/templates/slips/print_page.html
@@ -57,7 +57,7 @@
cursor: wait;
}
- .preview-controls .start-from {
+ .preview-controls .page-range {
display: inline-flex;
align-items: center;
gap: 8px;
@@ -67,7 +67,7 @@
vertical-align: middle;
}
- .preview-controls .start-from input {
+ .preview-controls .page-range input {
width: 4.5em;
padding: 8px 6px;
font-size: 16px;
@@ -179,9 +179,11 @@
{{ order.canister_count }} Canisters ({{ order.canister_pages }} Pages) |
{{ order.box_count }} Boxes ({{ order.box_pages }} Pages)
-