2 <form style="position: absolute; right: 15%; width: 15%; height: 15%;">
3 <button type="button" id="logout_button" onclick="logout()" style="width: 100%; height: 100%;">logout</button>
6 <h1>Hello, {{ name }}!</h1>
10 {% if counts|length > 0 %}
13 {%- if counts|length > 1 -%}
15 {%- if counts|length > 2 -%}
19 {%- elif not loop.first -%}
29 {%- if c[1] != 1 -%}s{%- endif -%}
34 <img src="{{ url_for('coffee_graph_history', _external=True, stamp=stamp) }}">
35 <img src="{{ url_for('coffee_graph_flavors', _external=True, stamp=stamp) }}">
40 {% for flavor in flavors %}
41 <input type="button" value="{{ flavor }}" onclick="addCoffee(this.value)" style="padding: 1.2%; margin: 3px">
49 <label for="username">Username:</label>
50 <input id="username" type="text" name="name">
51 <input type="button" value="rename" onclick="renameUser()">
55 <table style="padding: 2px">
57 <td colspan="4" align="center"><b>Identifiers:</b></td>
59 {% for id in identifiers %}
61 <td><input type="text" id="identifier_name_{{ loop.index }}" value="{{ id[2] }}" /></td>
62 <td {% if iid == id[1] %} style="font-weight: bold" {% endif %}>#<span id="identifier_{{ loop.index }}">{{ id[1] }}</span></td>
63 <td><input type="button" value="rename" onclick="renameIdentifier({{ loop.index }})" /></td>
64 <td><input type="button" value="remove" onclick="disableIdentifier('{{ id[1] }}')" /></td>
68 <td><input type="button" id="addIdentifier" value="add identifier" onclick="addIdentifier_start()" /></td>
69 <td colspan="2" style="visibility: hidden" id="labelIdentifier"><b>Use your identifier.</b></td>
70 <td><input type="button" id="abortIdentifier" value="abort" disabled onclick="addIdentifier_finish()" /></td>
75 <p>Use your card/token to log in...</p>
77 <img src="{{ url_for('coffee_graph_history', _external=True, stamp=stamp) }}">
78 <img src="{{ url_for('coffee_graph_flavors', _external=True, stamp=stamp, days=7) }}">