mirror of
https://github.com/lucaspalomodevelop/Party.git
synced 2026-03-17 01:34:36 +00:00
asd
This commit is contained in:
parent
8fe022ac4f
commit
275cacee92
5
main.py
5
main.py
@ -128,8 +128,11 @@ def get_planer():
|
||||
|
||||
@app.route("/session")
|
||||
def session():
|
||||
con = sqlite3.connect("party.db")
|
||||
cur = con.cursor()
|
||||
die = cur.execute("SELECT sessionname FROM session").fetchall()
|
||||
log_server("called /session")
|
||||
return render_template("session.html")
|
||||
return render_template("session.html", die=die)
|
||||
|
||||
@app.route("/logout")
|
||||
def logout():
|
||||
|
||||
BIN
party.db-journal
Normal file
BIN
party.db-journal
Normal file
Binary file not shown.
@ -8,17 +8,14 @@
|
||||
<title>Willkommen</title>
|
||||
</head>
|
||||
<body>
|
||||
<center><h1>Willkommen</h1>
|
||||
<p>Vielen Dank das du Party-Controller benutzt</p>
|
||||
<center><h1>Willkommen bei</h1>
|
||||
{% block content %}
|
||||
<p>{{die}}</p>
|
||||
{% endblock %}
|
||||
<h3>Regeln</h3>
|
||||
<p>• F</p>
|
||||
<p>• F</p>
|
||||
<p>• F</p>
|
||||
<p>• F</p>
|
||||
<p>• F</p>
|
||||
<p>• F</p>
|
||||
<p>• F</p>
|
||||
|
||||
<p>• 1.Freundlich sein</p>
|
||||
<p>• 2.Nichts Illegales machen</p>
|
||||
<p>• 3.Spaß haben</p>
|
||||
</center>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
x
Reference in New Issue
Block a user