1
0
Fork 0
forked from anton/matekasse

changet br space to 50%

This commit is contained in:
2000-Trek 2023-06-09 20:11:51 +02:00
parent 3be53bee31
commit c27d9c9e16

View file

@ -33,7 +33,7 @@ def list():
users = c.fetchall()
text = ""
for i in users:
text = text + f'<p><a href="list/user?user={i[1]}">{i[1]}</a>: {i[2]} <form action="/change" method="get"><input name="id" type="hidden" value="{i[0]}"> Change balance: <input name="change"><input type="submit"></form></p> <br style="line-height: 500%;"></br>'
text = text + f'<p><a href="list/user?user={i[1]}">{i[1]}</a>: {i[2]} <form action="/change" method="get"><input name="id" type="hidden" value="{i[0]}"> Change balance: <input name="change"><input type="submit"></form></p> <br style="line-height: 50%;"></br>'
return '<form action="/list/user" method="get"> Search for User: <input name="user"><input type="submit"></form> <form action="/adduser" method="get"><button type="submit">Add User</button></form> <br></br>' + text
@app.route("/list/user", methods=['GET'])