From cc62bad5238a78ef6e5f714a8f6ba44f3c7b3f76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20=C5=81opata?= Date: Wed, 1 Feb 2023 20:00:46 +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/koszyk.html | 67 ++++++++++++++++++++++++++++ templates/login.html | 15 +++++++ templates/productDescription.html | 73 +++++++++++++++++++++++++++++++ templates/profileHome.html | 46 +++++++++++++++++++ templates/register.html | 30 +++++++++++++ 5 files changed, 231 insertions(+) create mode 100644 templates/koszyk.html create mode 100644 templates/login.html create mode 100644 templates/productDescription.html create mode 100644 templates/profileHome.html create mode 100644 templates/register.html diff --git a/templates/koszyk.html b/templates/koszyk.html new file mode 100644 index 0000000..198dad0 --- /dev/null +++ b/templates/koszyk.html @@ -0,0 +1,67 @@ + + + +Twój koszyk + + + + +
+ + + +
+ + +
+ + + {% if not loggedIn %} + + {% else %} + + {% endif %} +
+
+

Twój koszyk

+
+ {% for row in products %} +
+
+
+ +
+
+ {{row[1]}}
+ In stock
+ Usuń +
+
+ ${{row[2]}} +
+
+ {% endfor %} +
+
+ Cena całkowita : ${{totalPrice}} +
+
+
+Przejdź do kasy + + diff --git a/templates/login.html b/templates/login.html new file mode 100644 index 0000000..3ed7b7c --- /dev/null +++ b/templates/login.html @@ -0,0 +1,15 @@ + + + First flask app + + +

{{Błąd}}

+
+

Email:

+

Hasło:

+

+ Zarejestruj się tu +
+ + + diff --git a/templates/productDescription.html b/templates/productDescription.html new file mode 100644 index 0000000..c065140 --- /dev/null +++ b/templates/productDescription.html @@ -0,0 +1,73 @@ + + + +Opis produktu + + + + +
+ + + +
+ + +
+ + + {% if not loggedIn %} + + {% else %} + + {% endif %} +
+
+
+

{{data[1]}}

+
+
+ +
+ +
+

Detale

+ + + + + + + + + + + + + +
Nazwa{{data[1]}}
Cena${{data[2]}}
Zbiór{{data[5]}}
+

Opis

+

{{data[3]}}

+
+ +
+ + + diff --git a/templates/profileHome.html b/templates/profileHome.html new file mode 100644 index 0000000..88ff37f --- /dev/null +++ b/templates/profileHome.html @@ -0,0 +1,46 @@ + + + +Profile Home + + + + +
+ + + +
+ + +
+ + + {% if not loggedIn %} + + {% else %} + + {% endif %} +
+ +
+ Edytuj Profil
+ Zmień hasło +
+ + \ No newline at end of file diff --git a/templates/register.html b/templates/register.html new file mode 100644 index 0000000..58c1327 --- /dev/null +++ b/templates/register.html @@ -0,0 +1,30 @@ + + +Rejestracja + + + +
+

Email:

+ +

Hasło:

+ +

Powtórz Hasło:

+ +

Imię:

+

Nazwisko:

+

Adres Line 1:

+

Adres Line 2:

+

Kod pocztowy:

+

Miasto:

+

Ulica:

+

Kraj:

+

Numer telefonu:

+ +

+ + Zaloguj się tutaj +
+ + \ No newline at end of file