This commit is contained in:
fingadumbledore 2022-10-19 17:44:32 +02:00
parent 07ad8b87ff
commit 77949544c4
3 changed files with 27 additions and 0 deletions

View File

@ -154,6 +154,10 @@ def willkommen():
log_server("called /willkommen")
return render_template("willkommen.html")
@app.route("/session")
def session():
log_server("called /session")
return render_template("seession.html")
@app.route("/rgb")
def rgb():

20
templates/seesion.html Normal file
View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Session</title>
<style>
Body {
background-image: linear-gradient(to right, rgb(89, 89, 175), rgb(38, 134, 62))
}
</style>
</head>
<body>
<center><h1>Session Informationen</h1></center>
</body>
</html>

View File

@ -128,6 +128,9 @@ input[type=text], input[type=password] {
<a href="http://127.0.0.1:5000/chat">
<button class="btn btn-primary btn-lg">Chat</button>
</a>
<a href="http://127.0.0.1:5000/Session">
<button class="btn btn-primary btn-lg">Session</button>
</a>
<a href="http://127.0.0.1:5000/controll">
<button class="btn btn-primary btn-lg">Settings</button>
</a>