This commit is contained in:
Mikołaj Kaczmarek
2025-06-15 21:49:12 +02:00
commit 8c7c4ceb19
21 changed files with 807 additions and 0 deletions

23
templates/frontpage.html Normal file
View File

@@ -0,0 +1,23 @@
<head>
<style>
a {
color: red;
padding-top: 150px;
font-size: 13px;
}
</style>
</head>
<body bgcolor=#fff>
<br><br>
<<center>
<font face = "Halvetica", color = "#7b00d4", size = 7>
<div>
Zalogowano pomyslnie!
</div>
</body>

25
templates/frontpage2.html Normal file
View File

@@ -0,0 +1,25 @@
<head>
<style>
a {
color: red;
padding-top: 150px;
font-size: 13px;
}
</style>
</head>
<body bgcolor=#fff>
<br><br>
<<center>
<font face = "Halvetica", color = "#7b00d4", size = 7>
<div>
Zalogowano pomyslnie!
</div>
<a href = "\wyloguj"> Wyloguj </a>
</body>

View File

@@ -0,0 +1,23 @@
<head>
<style>
a {
color: red;
padding-top: 150px;
font-size: 13px;
}
</style>
</head>
<body bgcolor=#fff>
<br><br>
<<center>
<font face = "Halvetica", color = "#7b00d4", size = 7>
<div>
Zalogowano pomyslnie!
</div>
</body>

23
templates/home.html Normal file
View File

@@ -0,0 +1,23 @@
<head>
<style>
a {
color: red;
padding-top: 150px;
font-size: 13px;
}
</style>
</head>
<body bgcolor=#fff>
<br><br>
<<center>
<font face = "Halvetica", color = "#7b00d4", size = 7>
<div>
Zalogowano pomyslnie!
</div>
</body>

44
templates/logowanie.html Normal file
View File

@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="/static/style.css" type="text/css">
<title>Login</title>
</head>
<body>
<form action="/login" method="POST">
<div class="login">
<div class="login-screen">
<div class="app-title">
<h1>Login</h1>
</div>
<div class="login-form">
<div class="control-group">
<input type="text" class="login-field" value="" placeholder="username" name="username">
<label class="login-field-icon fui-user" for="login-name"></label>
</div>
<div class="control-group">
<input type="password" class="login-field" value="" placeholder="password" name="password">
<label class="login-field-icon fui-lock" for="login-pass"></label>
</div>
{% with messages = get_flashed_messages() %}
{% if messages %}
<ul id="error" class=flashes>
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
{% endwith %}
<input type="submit" value="Log in" class="btn btn-primary btn-large btn-block">
<p id="signupparagraph">
You don't have an account? <a href="/signup">Signup</a>
</p>
</div>
</div>
</div>
</form>
</body>
</html>

31
templates/pogoda.html Normal file
View File

@@ -0,0 +1,31 @@
<html>
<link rel="stylesheet" href="/static/style.css" type="text/css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css">
<!-- Wiecej o bootrapie na w3c school -->
<!-- Aby bootstrap w podstawowej formie dzialal musicie miec: DIV ID ROW, w srodku ktorego macie
DIV ID col-sm-X gdzie x to szerokosc gdzie 12 to 100% strony (mozna podzielic strone na 12 rownych czesci robiac col-sm-1 albo na 2 czesci robiac col-sm-6) -->
<body>
<div id="pogoda">
<div class="container">
<div class="row">
<div id="weathertype">Weather: {{ weathertype }} </div>
<div class="col-sm-2">
<img src="/static/temp.png" class="weatherimg" id="tempimg">
<div id="temp">{{ temp }} Degrees Celcius</div>
</div>
<div class="col-sm-2">
<img src="/static/humid.png" class="weatherimg" id="humidimg">
<div id="humid">Humidity: {{ humid }} </div>
</div>
<div class="col-sm-2">
<img src="/static/rain.png" class="weatherimg" id="rainimg">
<div id="rain"> {{ rain }}</div>
</div>
</div>
</div>
</div>
</body>
</html>

22
templates/signup.html Normal file
View File

@@ -0,0 +1,22 @@
<link rel="stylesheet" href="/static/style.css" type="text/css"> {% block body %}
<form action="/register" method="POST">
<div class="login">
<div class="login-screen">
<div class="app-title">
<h1>Register</h1>
</div>
<div class="register-form">
<div class="control-group">
<input type="text" class="login-field" value="" placeholder="username" name="username">
<label class="login-field-icon fui-user" for="login-name"></label>
</div>
<div class="control-group">
<input type="password" class="login-field" value="" placeholder="password" name="password">
<label class="login-field-icon fui-lock" for="login-pass"></label>
</div>
<input type="submit" value="Register" class="btn btn-primary btn-large btn-block">
</div>
</div>
</div>
</form>
{% endblock%}