- Migrate print_labels.html and print_lost_labels.html to standalone pages with header and theme toggle - Implement dark/light theme support using data-theme attribute and CSS variables - Add PDF generation endpoints for single and batch label printing - Copy pdf_generator.py from original app with full label formatting (80mm x 105mm) - Fix data response handling to correctly access data.orders from API endpoints - Synchronize table text sizes across both print pages - Remove help buttons from print pages - Database column rename: data_livrara → data_livrare for consistency - Update routes to use correct database column names - Add 7 test orders to database (4 unprinted, 3 printed) - Implement QZ Tray integration with PDF fallback for label printing - All CSS uses theme variables for dark/light mode synchronization
15 lines
516 B
HTML
15 lines
516 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<div style="padding: 20px; text-align: center;">
|
|
<h2>Redirecting to Print Labels Module...</h2>
|
|
<p>You will be redirected to the full-featured print labels interface.</p>
|
|
<p><a href="{{ url_for('labels.print_labels') }}" class="btn btn-primary">Click here if not automatically redirected</a></p>
|
|
</div>
|
|
|
|
<script>
|
|
// Redirect to the complete print_labels module
|
|
window.location.href = "{{ url_for('labels.print_labels') }}";
|
|
</script>
|
|
{% endblock %}
|