diff --git a/.venv b/.venv new file mode 100644 index 0000000..5202934 --- /dev/null +++ b/.venv @@ -0,0 +1 @@ +124-webapp-sckb diff --git a/__pycache__/cost_calculator.cpython-312.pyc b/__pycache__/cost_calculator.cpython-312.pyc new file mode 100644 index 0000000..7f518a4 Binary files /dev/null and b/__pycache__/cost_calculator.cpython-312.pyc differ diff --git a/__pycache__/mailer.cpython-312.pyc b/__pycache__/mailer.cpython-312.pyc new file mode 100644 index 0000000..fc9bfec Binary files /dev/null and b/__pycache__/mailer.cpython-312.pyc differ diff --git a/__pycache__/main.cpython-312.pyc b/__pycache__/main.cpython-312.pyc index 4c1c65a..1aec676 100644 Binary files a/__pycache__/main.cpython-312.pyc and b/__pycache__/main.cpython-312.pyc differ diff --git a/archive/result.html b/archive/result.html deleted file mode 100644 index 0a9118b..0000000 --- a/archive/result.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - -
- -| Page | -Width (m) | -Height (m) | -Area (m²) | -Ink % | -Type | -Cost (€) | -
|---|---|---|---|---|---|---|
| {{ page.page }} | -{{ "%.3f"|format(page.width_m) }} | -{{ "%.3f"|format(page.height_m) }} | -{{ "%.4f"|format(page.area_m2) }} | -{{ "%.1f"|format(page.ink_pct) if page.ink_pct is not none else '-' }} | -{{ 'Color' if page.is_color else 'B&W' }} | -{{ "%.2f"|format(page.cost) }} | -
| Total Black Pages | -{{ "%.4f"|format(result.total_area_black) }} | -- | {{ "%.2f"|format(result.total_cost_black) }} | -|||
| Total Color Pages | -{{ "%.4f"|format(result.total_area_color) }} | -- | {{ "%.2f"|format(result.total_cost_color) }} | -|||
| Grand Total | -{{ "%.2f"|format(result.grand_total) }} | -|||||
Am Gabriele-von-Bülow-Gymnasium
-Seit Dezember 2024 trägt unser Maker Space den Namen studio einszwovier. Er ist ein innovativer, digitaler Lernraum, der Kreativität, Technik und Bildungsgerechtigkeit verbindet. Hier wird „Making“ erlebbar: Lernende gestalten ihren Lernprozess aktiv, entdecken individuelle Stärken und erleben durch Selbstwirksamkeit besondere Motivation.
+Seit Dezember 2024 trägt unser Maker Space den Namen studio einszwovier. Er ist ein innovativer, digitaler Lernraum, der Kreativität, Technik und Bildungsgerechtigkeit verbindet. Hier wird „Making“ erlebbar: Lernende gestalten ihren Lernprozess aktiv, entdecken individuelle Stärken und erleben durch Selbstwirksamkeit besondere Motivation.
Betreut wird der Maker Space von Aron Petau und Friedrich Weber. Sie sind montags bis mittwochs von 11:00 bis 15:00 Uhr vor Ort. Einfach vorbeischauen, Ideen vorstellen und loslegen!
+Betreut wird der Maker Space von Aron Petau und Friedrich Weber. Sie sind montags bis mittwochs von 11:00 bis 15:00 Uhr vor Ort. Einfach vorbeischauen, Ideen vorstellen und loslegen!
Dienstag bis Donnerstag: 11:00 – 16:00 Uhr
- Raum 124, Gabriele-von-Bülow-Gymnasium
Dienstag bis Donnerstag: 11:00 – 16:00 Uhr
+ Raum 124, Gabriele-von-Bülow-Gymnasium
E-Mail: einszwovier@gvb-gymnasium.de
+E-Mail: einszwovier@gvb-gymnasium.de
Gabriele-von-Bülow-Gymnasium
- Tile-Brügge-Weg 63, 13509 Berlin (Tegel)
- Telefon: 030 21 00 52 460
- E-Mail: info@gvb-gymnasium.de
Gabriele-von-Bülow-Gymnasium
+ Tile-Brügge-Weg 63, 13509 Berlin (Tegel)
+ Telefon: 030 21 00 52 460
+ E-Mail: info@gvb-gymnasium.de
{{ error }}
{% endif %}
- Rates are fixed via environment variables:
- B&W: {{ rate_black if rate_black else 'RATE_PER_M2_BLACK' }} € / m²,
- Color: {{ rate_color if rate_color else 'RATE_PER_M2_COLOR' }} € / m²
+ Preise werden über Umgebungsvariablen festgelegt:
+ S/W: {{ rate_black if rate_black else 'RATE_PER_M2_BLACK' }} € / m²,
+ Farbe: {{ rate_color if rate_color else 'RATE_PER_M2_COLOR' }} € / m²
| Page | -Width (m) | -Height (m) | -Area (m²) | -Ink % | -Type | -Cost (€) | -
|---|---|---|---|---|---|---|
| {{ page.page }} | -{{ "%.3f"|format(page.width_m) }} | -{{ "%.3f"|format(page.height_m) }} | -{{ "%.4f"|format(page.area_m2) }} | -{{ "%.1f"|format(page.ink_pct) if page.ink_pct is not none else '-' }} | -{{ 'Color' if page.is_color else 'B&W' }} | -{{ "%.2f"|format(page.cost) }} | -
| Total Black Pages | -{{ "%.4f"|format(result.total_area_black) }} | -- | {{ "%.2f"|format(result.total_cost_black) }} | -|||
| Total Color Pages | -{{ "%.4f"|format(result.total_area_color) }} | -- | {{ "%.2f"|format(result.total_cost_color) }} | -|||
| Grand Total | -{{ "%.2f"|format(result.grand_total) }} | -|||||
| Seite | +Breite (m) | +Höhe (m) | +Fläche (m²) | +Tinten % | +Typ | +Kosten (€) | +
| {{ page.page }} | +{{ "%.3f"|format(page.width_m) }} | +{{ "%.3f"|format(page.height_m) }} | +{{ "%.4f"|format(page.area_m2) }} | +{{ "%.1f"|format(page.ink_pct) if page.ink_pct is not none else '-' }} | +{{ 'Farbe' if page.is_color else 'S/W' }} | +{{ "%.2f"|format(page.cost) }} | +
| Summe S/W | +{{ "%.4f"|format(result.total_area_black) }} | ++ | {{ "%.2f"|format(result.total_cost_black) }} | +|||
| Summe Farbe | +{{ "%.4f"|format(result.total_area_color) }} | ++ | {{ "%.2f"|format(result.total_cost_color) }} | +|||
| Gesamtsumme | +{{ "%.2f"|format(result.grand_total) }} | +|||||
-
- Welcome to the school makerspace portal at the GvB
-| Page | -Width (m) | -Height (m) | -Area (m²) | -Ink % | -Type | -Cost (€) | -
|---|---|---|---|---|---|---|
| {{ page.page }} | -{{ "%.3f"|format(page.width_m) }} | -{{ "%.3f"|format(page.height_m) }} | -{{ "%.4f"|format(page.area_m2) }} | -{{ "%.1f"|format(page.ink_pct) if page.ink_pct is not none else '-' }} | -{{ 'Color' if page.is_color else 'B&W' }} | -{{ "%.2f"|format(page.cost) }} | -
| Total Black Pages | -{{ "%.4f"|format(result.total_area_black) }} | -- | {{ "%.2f"|format(result.total_cost_black) }} | -|||
| Total Color Pages | -{{ "%.4f"|format(result.total_area_color) }} | -- | {{ "%.2f"|format(result.total_cost_color) }} | -|||
| Grand Total | -{{ "%.2f"|format(result.grand_total) }} | -|||||
| Seite | +Breite (m) | +Höhe (m) | +Fläche (m²) | +Tinten % | +Typ | +Kosten (€) | +
| {{ page.page }} | +{{ "%.3f"|format(page.width_m) }} | +{{ "%.3f"|format(page.height_m) }} | +{{ "%.4f"|format(page.area_m2) }} | +{{ "%.1f"|format(page.ink_pct) if page.ink_pct is not none else '-' }} | +{{ 'Farbe' if page.is_color else 'S/W' }} | +{{ "%.2f"|format(page.cost) }} | +
| Summe S/W | +{{ "%.4f"|format(result.total_area_black) }} | ++ | {{ "%.2f"|format(result.total_cost_black) }} | +|||
| Summe Farbe | +{{ "%.4f"|format(result.total_area_color) }} | ++ | {{ "%.2f"|format(result.total_cost_color) }} | +|||
| Gesamtsumme | +{{ "%.2f"|format(result.grand_total) }} | +|||||