From 7893e1b90451c29d60661dd4ab9399b706fee5e5 Mon Sep 17 00:00:00 2001 From: Till Tomczak Date: Mon, 26 May 2025 10:54:17 +0200 Subject: [PATCH] "feat: Implement SSL configuration for frontend and backend" --- backend/app/templates/admin.html | 330 ++++----- backend/generate_ssl_cert.py | 15 +- frontend/configure_ssl.js | 29 +- frontend/next.config.js | 36 + frontend/package-lock.json | 1164 +++++++++++++++++++++++++++++- frontend/package.json | 1 + frontend/src/utils/api-config.ts | 3 + 7 files changed, 1386 insertions(+), 192 deletions(-) create mode 100644 frontend/next.config.js diff --git a/backend/app/templates/admin.html b/backend/app/templates/admin.html index d27ebdcb..e165c08b 100644 --- a/backend/app/templates/admin.html +++ b/backend/app/templates/admin.html @@ -11,11 +11,10 @@ {% block content %}
-

Admin Panel

- +

Admin Panel

-
+
@@ -25,8 +24,7 @@
{{ stats.total_users }}
Registrierte Benutzer
- -
+
@@ -36,8 +34,7 @@
{{ stats.total_printers }}
Verbundene Drucker
- -
+
@@ -47,8 +44,7 @@
{{ stats.active_jobs }}
Laufende Druckaufträge
- -
+
@@ -59,9 +55,8 @@
Erfolgreiche Druckaufträge
- -