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 count or count_mate%}
11 <p>You've had {{ count }} coffee{% if count != 1 %}s{% endif %} and {{ count_mate }} Club-Mate today.</p>
14 <img src="{{ url_for('coffee_graph_history', _external=True, stamp=stamp) }}">
15 <img src="{{ url_for('coffee_graph_flavors', _external=True, stamp=stamp) }}">
20 {% for flavor in flavors %}
21 <input type="button" value="{{ flavor }}" onclick="addCoffee(this.value)" style="padding: 1.2%; margin: 3px">
29 <label for="username">Username:</label>
30 <input id="username" type="text" name="name">
31 <input type="button" value="rename" onclick="renameUser()">
35 <table style="padding: 2px">
37 <td colspan="4" align="center"><b>Identifiers:</b></td>
39 {% for id in identifiers %}
41 <td><input type="text" id="identifier_name_{{ loop.index }}" value="{{ id[2] }}" /></td>
42 <td {% if iid == id[1] %} style="font-weight: bold" {% endif %}>#<span id="identifier_{{ loop.index }}">{{ id[1] }}</span></td>
43 <td><input type="button" value="rename" onclick="renameIdentifier({{ loop.index }})" /></td>
44 <td><input type="button" value="remove" onclick="disableIdentifier('{{ id[1] }}')" /></td>
48 <td><input type="button" id="addIdentifier" value="add identifier" onclick="addIdentifier_start()" /></td>
49 <td colspan="2" style="visibility: hidden" id="labelIdentifier"><b>Use your identifier.</b></td>
50 <td><input type="button" id="abortIdentifier" value="abort" disabled onclick="addIdentifier_finish()" /></td>
55 <p>Use your card/token to log in...</p>
57 <img src="{{ url_for('coffee_graph_history', _external=True, stamp=stamp) }}">
58 <img src="{{ url_for('coffee_graph_flavors', _external=True, stamp=stamp, days=7) }}">