From aa1eb54fb1a9b7a7c79232cbb3122e93f4cd5453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladimirs=20Mori=C4=BCovs?= Date: Tue, 21 May 2024 17:55:24 +0000 Subject: [PATCH] Upload files to "/" --- input.csv | 4 ++++ output.csv | 5 +++++ success.html | 7 +++++++ users.html | 27 +++++++++++++++++++++++++++ weather.html | 14 ++++++++++++++ 5 files changed, 57 insertions(+) create mode 100644 input.csv create mode 100644 output.csv create mode 100644 success.html create mode 100644 users.html create mode 100644 weather.html diff --git a/input.csv b/input.csv new file mode 100644 index 0000000..d20ecb5 --- /dev/null +++ b/input.csv @@ -0,0 +1,4 @@ +Vova,17,Marupe +Masik,19,London +Michael,42,OTSO +Juuliijaa,17,Jugla diff --git a/output.csv b/output.csv new file mode 100644 index 0000000..54d207e --- /dev/null +++ b/output.csv @@ -0,0 +1,5 @@ +Musik,musik@gmail.com,12345678 +Vovasimo,kizivovan@gmail.com,12345678 +Micha,micha@gmail.com,micha123KAJACHEV-NET123,kizivov123an@gmail.com,1231231231231231 +KAJACHEV-NET123,kizivov123an@gmail.com,1231231231231231 +,, diff --git a/success.html b/success.html new file mode 100644 index 0000000..3324e66 --- /dev/null +++ b/success.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} +{% block title %}Succes{% endblock %} +{% block content %} + +

Success

+

Registration was successful!

+{% endblock %} \ No newline at end of file diff --git a/users.html b/users.html new file mode 100644 index 0000000..1f3e529 --- /dev/null +++ b/users.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} +{% block title %}Users{% endblock %} +{% block content %} + +

Users

+ + + + + + + + + + {% for user in users %} + + + {% for element in user %} + {% if loop.index < 3 %} + + {% endif %} + {% endfor %} + + {% endfor %} + +
#NameEmail
{{ loop.index }}{{ element }}
+{% endblock %} \ No newline at end of file diff --git a/weather.html b/weather.html new file mode 100644 index 0000000..4c02ffa --- /dev/null +++ b/weather.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} +{% block title %}Weather{% endblock %} +{% block content %} + +
+

Current Weather

+
+

Location: {{ weather.location.name }}

+

Temperature: {{ weather.current.temp_c }}°C

+

Condition: {{ weather.current.condition.text }}

+
+
+{% endblock %} +