From d12ac4189f58c3c3c1f1865dd0a4a88ebda04698 Mon Sep 17 00:00:00 2001 From: mkrieger Date: Thu, 14 Nov 2024 10:41:50 +0100 Subject: [PATCH] added template and instructions to upload-page --- app/static/Adressliste_vorlage.csv | 6 +++++ app/static/styles.css | 27 ++++++++++++++++++++ app/templates/upload.html | 38 ++++++++++++++++++++--------- instance/users.db | Bin 24576 -> 24576 bytes 4 files changed, 60 insertions(+), 11 deletions(-) create mode 100644 app/static/Adressliste_vorlage.csv diff --git a/app/static/Adressliste_vorlage.csv b/app/static/Adressliste_vorlage.csv new file mode 100644 index 0000000..2542f36 --- /dev/null +++ b/app/static/Adressliste_vorlage.csv @@ -0,0 +1,6 @@ +PLZ;Stadt;Straße;Hausnummer;Zusatz +53175;Bonn;Godesberger Str.;27; +50667;Köln;Hohenzollernring;52;Hinterhaus +10115;Berlin;Chausseestraße;125; +80331;München;Marienplatz;1;Eingang Ost +20095;Hamburg;Ostwall;5; diff --git a/app/static/styles.css b/app/static/styles.css index 186d0ae..09f3efc 100644 --- a/app/static/styles.css +++ b/app/static/styles.css @@ -320,3 +320,30 @@ tr:nth-child(even) td { width: 100px; /* Noch kleinere Breite auf sehr kleinen Bildschirmen */ } } + +.template-info { + background-color: #f9f9f9; + padding: 1em; + border-radius: 8px; + margin-bottom: 1.5em; + text-align: center; +} + +.template-info p { + margin: 0.5em 0; +} + +.template-download { + display: inline-block; + padding: 0.5em 1em; + margin-top: 0.5em; + background-color: #007aff; + color: white; + border-radius: 4px; + text-decoration: none; + transition: background-color 0.2s ease; +} + +.template-download:hover { + background-color: #005bb5; +} diff --git a/app/templates/upload.html b/app/templates/upload.html index 279c7af..8ed255f 100644 --- a/app/templates/upload.html +++ b/app/templates/upload.html @@ -1,11 +1,27 @@ -{% extends "base.html" %} -{% block content %} -
-

Datei hochladen

-
- - - -
-
-{% endblock %} + + + + + + Datei hochladen + + + +
+

Datei hochladen

+ + +
+

Bitte verwenden Sie die folgende Vorlage für Ihre Adressliste:

+ Adressliste Vorlage herunterladen +

Die Vorlage enthält die folgenden Spalten: PLZ, Stadt, Straße, Hausnummer, Zusatz. Bitte verwenden Sie das Format für eine reibungslose Verarbeitung.

+
+ +
+ + + +
+
+ + diff --git a/instance/users.db b/instance/users.db index b6df26fa69329eb864e1b27643e2926fd9151da8..076d055308aa8766c106b496f0072f2c031fb78d 100644 GIT binary patch delta 36 scmZoTz}Rqrae_4Ci-|JMj4w7Otd?gq*(|7_&Ci%Tu`z!0bp1>N0Q!y%1poj5 delta 36 scmZoTz}Rqrae_4CgNZWEj1M*@td?ht-7IJj!p|5xvC(Yvbp1>N0R1KnC;$Ke