{% extends "base.html" %} {% import "_ui.html" as ui %} {% block title %}Tadpole: the widget{% endblock %} {% block body %} {% call ui.title('i-widget', 'The Widget') %}A real Android home-screen widget: your tadpole, how it is doing, and a box to type an entry straight from the home screen. If the phone is out of range, entries are kept and sent later.{% endcall %}
{% call ui.head('i-install', '1. Install the widget app') %}A small app ({{ apk_kb }} KB) that holds the widget. It is signed with this machine's own key and is not on any store, so Android will ask permission to install from Chrome the first time.{% endcall %} {% if apk %} Download the widget app {% else %}

The widget app has not been built on this machine yet.

{% endif %}
{% call ui.head('i-key', '2. Make a key for this phone') %}The key lets the widget add and undo entries and read the tadpole's state. Nothing else, and it cannot read your diary. You can cancel it here at any time.{% endcall %}
{% if new_token %}
{% call ui.head('i-connect', '3. Connect the app') %}Open the button on the phone, with the widget app installed. If it does nothing, open the app and paste the address and key below. The key is shown only once. Then long-press the home screen, choose Widgets, find Tadpole, and drag it out.{% endcall %} Connect the widget app
{% endif %}

Keys

{% for k in keys %} {% else %}{% endfor %}
NameMadeLast used
{{ k.name }}{{ k.created_at[:10] }}{{ (k.last_used_at or 'never')[:16] }} {% if k.revoked_at %}cancelled{% else %}
{% endif %}
No keys yet.
{% endblock %}