Compare commits

...

2 commits

2 changed files with 3 additions and 4 deletions

View file

@ -89,7 +89,7 @@ def create_app(test_config=None):
<title>Strichliste</title>
<p><a href="/list">user and tag list</a> | <a href="/documentation">Documentation</a></p>
<p>1 Credit = 1,50 Euro</p>
<form action="/list/user" method="get"> Search for User: <input name="user"><input type="submit"></form>
<form action="/list/user" method="get"><input name="user" type="search" placeholder="Search for user"><button>Search</button></form>
<form action="/adduser" method="get"><button type="submit">Add User</button></form>
<br></br>
''' + text + '</html>'
@ -120,7 +120,7 @@ def create_app(test_config=None):
<p> {escape(user[1])} : {user[2]} <p>
<form action="/addtag" method="get"><input name="id" type="hidden" value="{user[0]}"><button type="submit">Add Tag</button></form>
<form action="/removetag" method="get"><input name="id" type="hidden" value="{user[0]}"><button type="submit">Remove Tag</button></form>
</p><form action="/change" method="get"><input name="id" type="hidden" value="{user[0]}"> Change balance: <input name="change"><input type="submit"></form>
</p><form action="/change" method="get"><input name="id" type="hidden" value="{user[0]}"> <input name="change" type="number" placeholder="change balance"></form>
</p>
<br></br>
<p>Tags:</p>

View file

@ -3,7 +3,6 @@
<title>add user</title>
<p><a href="/list">user and tag list</a> | <a href="/documentation">Documentation</a></p>
<p>
Username:
<form action="/adduser/user" method="get"><input name="username"><input type="submit"></form>
<form action="/adduser/user" method="get"><input name="username" type="search" placeholder="Username"><button>Add user</button></form>
</p>
</html>