Upload files to "/"
parent
2920406ed5
commit
aa1eb54fb1
|
@ -0,0 +1,4 @@
|
|||
Vova,17,Marupe
|
||||
Masik,19,London
|
||||
Michael,42,OTSO
|
||||
Juuliijaa,17,Jugla
|
|
|
@ -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
|
||||
,,
|
|
|
@ -0,0 +1,7 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}Succes{% endblock %}
|
||||
{% block content %}
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
|
||||
<h1>Success</h1>
|
||||
<h1>Registration was successful!</h1>
|
||||
{% endblock %}
|
|
@ -0,0 +1,27 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}Users{% endblock %}
|
||||
{% block content %}
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
|
||||
<h2 class="header">Users</h2>
|
||||
<table class="table table-striped table-dark">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>#</td>
|
||||
<td>Name</td>
|
||||
<td>Email</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for user in users %}
|
||||
<tr>
|
||||
<td scope="row">{{ loop.index }}</td>
|
||||
{% for element in user %}
|
||||
{% if loop.index < 3 %}
|
||||
<td>{{ element }}</td>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endblock %}
|
|
@ -0,0 +1,14 @@
|
|||
{% extends "base.html" %}
|
||||
{% block title %}Weather{% endblock %}
|
||||
{% block content %}
|
||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
|
||||
<div class="container">
|
||||
<h2 class="header">Current Weather</h2>
|
||||
<div class="weather-container">
|
||||
<p>Location: {{ weather.location.name }}</p>
|
||||
<p>Temperature: {{ weather.current.temp_c }}°C</p>
|
||||
<p>Condition: {{ weather.current.condition.text }}</p>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue