feat: list all users and products in a table in the settings feat: add back buttons to signup, password login and touchkey login pages feat: if the tabfocus webextension is installed, use it to focus the tab when a barcode is scanned
31 lines
744 B
HTML
31 lines
744 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block header %}
|
|
<h1>Welcome</h1>
|
|
{{ super() }}
|
|
{% endblock %}
|
|
|
|
{% block main %}
|
|
|
|
{# Show a username/password login form #}
|
|
<form method="post" action="/login" id="loginform" accept-charset="UTF-8">
|
|
<label for="login-username">Username: </label>
|
|
<input id="login-username" type="text" name="username"/><br/>
|
|
|
|
<label for="login-password">Password: </label>
|
|
<input id="login-password" type="password" name="password"/><br/>
|
|
|
|
<input type="submit" value="Login">
|
|
</form>
|
|
|
|
<div class="thumblist-item">
|
|
<a href="/">Cancel</a>
|
|
</div>
|
|
|
|
{{ super() }}
|
|
|
|
{% endblock %}
|
|
|
|
{% block eanwebsocket %}
|
|
document.location = "/?ean=" + e.data;
|
|
{% endblock %}
|