smal change of the upload layout and text, changes of the Student Barcode download to alow further scoolyears

This commit is contained in:
2026-06-20 13:54:42 +02:00
parent f5944bf090
commit e4af76c9c1
2 changed files with 10 additions and 6 deletions
+4
View File
@@ -4154,6 +4154,10 @@ def student_card_barcode_download():
c.setFillColor(text_dark) c.setFillColor(text_dark)
c.setFont("Helvetica-Bold", 9) c.setFont("Helvetica-Bold", 9)
c.drawString(x_pos + 3*mm, y_pos - 28*mm, card['Klasse']) c.drawString(x_pos + 3*mm, y_pos - 28*mm, card['Klasse'])
c.drawString(x_pos + 3*mm, y_pos - 31*mm, "-")
c.drawString(x_pos + 3*mm, y_pos - 34*mm, "-")
c.drawString(x_pos + 3*mm, y_pos - 37*mm, "-")
c.drawString(x_pos + 3*mm, y_pos - 40*mm, "-")
# Right barcode section with border highlight # Right barcode section with border highlight
barcode_x_start = x_pos + info_width + 1*mm barcode_x_start = x_pos + info_width + 1*mm
+6 -6
View File
@@ -788,12 +788,7 @@
{% if show_library_features %} {% if show_library_features %}
<!-- Library Mode: Single Customizable Filter --> <!-- Library Mode: Single Customizable Filter -->
<div class="filter-inputs"> <div class="filter-inputs">
<h3>Kategorie/Typ (customisierbar):</h3> <h3>Medientyp</h3>
<div class="form-group">
<input type="text" name="library_category" id="library_category" placeholder="z.B. Belletristik, Sachbücher, Nachschlagewerke, etc.">
<small style="display:block; color:#666;">Geben Sie hier eine beliebige Kategorie ein zur freien Klassifizierung.</small>
</div>
<h3>Typ</h3>
<div class="form-group"> <div class="form-group">
<select name="item_type_input" id="item_type_input"> <select name="item_type_input" id="item_type_input">
<option value="" disabled selected>Medientyp auswählen...</option> <option value="" disabled selected>Medientyp auswählen...</option>
@@ -805,6 +800,11 @@
</select> </select>
<small style="display:block; color:#666;">Wählen Sie einen Medientyp aus zur Klassifizierung.</small> <small style="display:block; color:#666;">Wählen Sie einen Medientyp aus zur Klassifizierung.</small>
</div> </div>
<h3>Kategorie/Typ:</h3>
<div class="form-group">
<input type="text" name="library_category" id="library_category" placeholder="z.B. Belletristik, Sachbücher, Nachschlagewerke, etc.">
<small style="display:block; color:#666;">Geben Sie hier eine beliebige Kategorie ein zur freien Klassifizierung.</small>
</div>
</div> </div>
{% else %} {% else %}
<!-- Normal Item Mode: Standard Filters --> <!-- Normal Item Mode: Standard Filters -->