From 9fb56e905cbfd12ee6d14c750350c15176b0ddbb Mon Sep 17 00:00:00 2001 From: AIIrondev Date: Fri, 14 Aug 2026 20:35:31 +0200 Subject: [PATCH] =?UTF-8?q?Renaming=20of=20the=20Sch=C3=BClerausweis=20to?= =?UTF-8?q?=20the=20Bibliotheksausweis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Web/app.py | 4 +- Web/templates/edit_inventar.html | 1029 ----------------- Web/templates/library.html | 752 ------------ Web/templates/library_table.html | 8 +- Web/templates/student_card_barcode_print.html | 4 +- Web/templates/student_cards_admin.html | 2 +- 6 files changed, 9 insertions(+), 1790 deletions(-) delete mode 100644 Web/templates/edit_inventar.html delete mode 100644 Web/templates/library.html diff --git a/Web/app.py b/Web/app.py index eccc091..29df6fa 100755 --- a/Web/app.py +++ b/Web/app.py @@ -4372,7 +4372,7 @@ def student_card_barcode_download(): # "SCHÜLERAUSWEIS" text in header c.setFont("Helvetica-Bold", 9) c.setFillColor(white) - c.drawString(x_pos + 3*mm, y_pos - 6.5*mm, f"SCHÜLERAUSWEIS - {str(school_name)}") + c.drawString(x_pos + 3*mm, y_pos - 6.5*mm, f"BIBLIOTHEKSAUSWEIS - {str(school_name)}") # Student name - large and bold c.setFillColor(text_dark) @@ -4548,7 +4548,7 @@ def student_card_single_barcode_download(card_id): # "SCHÜLERAUSWEIS" text in header c.setFont("Helvetica-Bold", 11) c.setFillColor(white) - c.drawString(x_pos + 4*mm, y_pos - 6.5*mm, f"SCHÜLERAUSWEIS - {str(school_name)}") + c.drawString(x_pos + 4*mm, y_pos - 6.5*mm, f"BIBLIOTHEKSAUSWEIS - {str(school_name)}") # Student name - large and prominent c.setFillColor(text_dark) diff --git a/Web/templates/edit_inventar.html b/Web/templates/edit_inventar.html deleted file mode 100644 index 2e20b48..0000000 --- a/Web/templates/edit_inventar.html +++ /dev/null @@ -1,1029 +0,0 @@ - -{% extends "base.html" %} - -{% block title %}{{ page_title|default('Artikel bearbeiten') }} - Inventarsystem{% endblock %} - -{% block content %} - - - - - -
-
-

{{ page_title|default('Artikel bearbeiten') }}

- -
- - - - - {% if show_library_features %} - -
- -
- - - -
- - -
-
- {% endif %} - - -
- - -
- - -
- - - - -
- - -
- - -
- - -
- -
- - -
- - -
- - -
- - - Der Scanner füllt zuerst den Basis-Code; weitere gescannte Codes werden hier automatisch zeilenweise angehängt. -
- - {% if show_library_features %} - -
-

Medientyp

-
- {% set current_type = item.ItemType if item.ItemType else '' %} - -
- -

Kategorie / Fach:

-
- -
-
- {% else %} - -
-

Unterrichtsfach:

-
- {% for i in range(1, 5) %} -
- - -
- {% endfor %} -
- -

Jahrgangsstufe:

-
- {% for i in range(1, 5) %} -
- - -
- {% endfor %} -
- -

Schlagwörter:

-
- {% for i in range(1, 5) %} -
- - -
- {% endfor %} -
-
- {% endif %} - - -
- - -
- -
- - -
- - -
- -
- {% if item.Images %} - {% for img in item.Images %} -
- - -
- {% endfor %} - {% else %} - Keine Bilder vorhanden. - {% endif %} -
- - - -
-
- - -
- - -
- - -
-
-
- - - - -{% endblock %} \ No newline at end of file diff --git a/Web/templates/library.html b/Web/templates/library.html deleted file mode 100644 index 4442ecf..0000000 --- a/Web/templates/library.html +++ /dev/null @@ -1,752 +0,0 @@ -{% extends "base.html" %} - -{% block title %}Bibliothek - {{ APP_VERSION }}{% endblock %} - -{% block content %} -
- -
-
-

📚 Bibliothek

-

Bücher, CDs und weitere Medien

-
-
- - -
- - -
- - -
- - - -
- - - - - -
- - - -
- {% if library_items %} - {% for item in library_items %} -
- -
-
- {% if item.get('Image') %} - {{ item.Name }} - {% else %} -
📚
- {% endif %} -
- -
-

{{ item.Name }}

- - {% if item.get('Author') %} -

Von: {{ item.Author }}

- {% endif %} - - {% if item.get('ISBN') %} -

ISBN: {{ item.ISBN }}

- {% endif %} - -
- {{ item.get('ItemType', 'Medium') }} - - {% if item.get('Verfuegbar') == False %}Ausgeliehen{% else %}Verfügbar{% endif %} - -
-
-
- - - - - -
- - {% if item.get('Verfuegbar') == True %} - - {% else %} - - {% endif %} -
-
- {% endfor %} - {% else %} -
-

Keine Bibliotheks-Medien gefunden

-
- {% endif %} -
-
-
- - - - - - - - - - -{% endblock %} diff --git a/Web/templates/library_table.html b/Web/templates/library_table.html index a98be4a..7c1da5b 100644 --- a/Web/templates/library_table.html +++ b/Web/templates/library_table.html @@ -541,7 +541,7 @@
- Hinweis: Im Schnellmodus zuerst den Schülerausweis scannen, danach den Buch-/Mediencode. + Hinweis: Im Schnellmodus zuerst den Bibliotheksausweis scannen, danach den Buch-/Mediencode.