From 06b6861025c3211943f6cf18b0bb3a7b415c2ac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C5=82awomir=20=C5=81opata?= Date: Thu, 16 Feb 2023 23:53:55 +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/404.html | 4 +++ templates/500.html | 4 +++ templates/add.html | 22 ++++-------- templates/changePassword.html | 4 +++ templates/delete.html | 67 +++++++++++++++++++++++++++++++++++ 5 files changed, 86 insertions(+), 15 deletions(-) create mode 100644 templates/delete.html diff --git a/templates/404.html b/templates/404.html index 5323d6c..f17e7d6 100644 --- a/templates/404.html +++ b/templates/404.html @@ -29,6 +29,10 @@ + + + +
diff --git a/templates/500.html b/templates/500.html index 9b8a025..37c2a64 100644 --- a/templates/500.html +++ b/templates/500.html @@ -29,6 +29,10 @@ + + + +
diff --git a/templates/add.html b/templates/add.html index 5d52e85..417440a 100644 --- a/templates/add.html +++ b/templates/add.html @@ -1,7 +1,7 @@ -Admin +dodaj produkt @@ -11,24 +11,16 @@ - - + + - - + + - - - - - - - - - - + +
diff --git a/templates/changePassword.html b/templates/changePassword.html index b9a5f9b..a9e91a6 100644 --- a/templates/changePassword.html +++ b/templates/changePassword.html @@ -24,6 +24,10 @@ + + + +
diff --git a/templates/delete.html b/templates/delete.html new file mode 100644 index 0000000..096c42d --- /dev/null +++ b/templates/delete.html @@ -0,0 +1,67 @@ + + + +usuń produkt + + + + +
+ + + + + + + + + + + + + + + + + + {% if not loggedIn %} + + {% else %} + + {% endif %} +
+

Usuń Produkt:

+ + {% for i in range(6) %} + + {% for row in data %} + + {% endfor %} + + {% endfor %} +
+ + {% if i == 4 %} + + + {% else %} + {{row[i]}} + {% endif %} + +
+ + \ No newline at end of file