From a2a69f905891b94295039744847e79e8fbb735b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20=C5=81opata?= Date: Wed, 1 Feb 2023 20:00:08 +0100 Subject: [PATCH] =?UTF-8?q?Prze=C5=9Blij=20pliki=20do=20'templates'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/add.html | 22 +++++++++ templates/changePassword.html | 17 +++++++ templates/displayCategory.html | 72 +++++++++++++++++++++++++++++ templates/editProfile.html | 59 ++++++++++++++++++++++++ templates/home.html | 82 ++++++++++++++++++++++++++++++++++ 5 files changed, 252 insertions(+) create mode 100644 templates/add.html create mode 100644 templates/changePassword.html create mode 100644 templates/displayCategory.html create mode 100644 templates/editProfile.html create mode 100644 templates/home.html diff --git a/templates/add.html b/templates/add.html new file mode 100644 index 0000000..33338ad --- /dev/null +++ b/templates/add.html @@ -0,0 +1,22 @@ + + + +Admin + + +

Dodaj Produkt

+
+ Nazwa:
+ Cena:
+ Description:
+ Zdiecie:
+ Zbiór:
+ Kategorie:
+ +
+ + diff --git a/templates/changePassword.html b/templates/changePassword.html new file mode 100644 index 0000000..c3072ec --- /dev/null +++ b/templates/changePassword.html @@ -0,0 +1,17 @@ + + +Zmień hasło + + + +

Zmień hasło

+

{{ msg }}

+
+

stare hasło:

+

nowe hasło:

+

powtórz hasło:

+ +
+Idż do Profilu + + \ No newline at end of file diff --git a/templates/displayCategory.html b/templates/displayCategory.html new file mode 100644 index 0000000..191d626 --- /dev/null +++ b/templates/displayCategory.html @@ -0,0 +1,72 @@ + + + +Kategorie: {{categoryName}} + + + + +
+ + + +
+ + +
+ + + {% if not loggedIn %} + + {% else %} + + {% endif %} +
+ +
+

Produkty z Kategorii {{categoryName}}:

+ {% for itemData in data %} + + + {% for row in itemData %} + + {% endfor %} + + + {% for row in itemData %} + + {% endfor %} + + + {% for row in itemData %} + + {% endfor %} + +
+ {{row[1]}} +
+ + + +
+ ${{row[2]}} +
+ {% endfor %} +
+ + diff --git a/templates/editProfile.html b/templates/editProfile.html new file mode 100644 index 0000000..0b097ec --- /dev/null +++ b/templates/editProfile.html @@ -0,0 +1,59 @@ + + + +Edytuj Profil + + + + +
+ + + +
+ + +
+ + + {% if not loggedIn %} + + {% else %} + + {% endif %} +
+ +
+

Edytuj Profil

+
+

Email:

+

imie:

+

nazwisko:

+

Adres 1:

+

Adres 2:

+

Kod pocztowy:

+

Miasto:

+

Ulica:

+

Kraj:

+

Numer telefonu:

+ +
+
+ + + diff --git a/templates/home.html b/templates/home.html new file mode 100644 index 0000000..56cd0ee --- /dev/null +++ b/templates/home.html @@ -0,0 +1,82 @@ + + + +Witaj + + + + +
+ + + +
+ + +
+ + + {% if not loggedIn %} + + {% else %} + + {% endif %} +
+
+
+

Kupuj według kategorii:

+
    + {% for row in categoryData %} +
  • {{row[1]}}
  • + {% endfor %} +
+
+
+

Przedmioty

+ {% for data in itemData %} + + + {% for row in data %} + + {% endfor %} + + + {% for row in data %} + + {% endfor %} + + + {% for row in data %} + + {% endfor %} + +
+ {{row[1]}} +
+ + + +
+ ${{row[2]}} +
+ {% endfor %} +
+
+ + +