AHDX: Apple Health exporter with SQLite + Grafana dashboard (MIT)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
{% if status %}
|
||||
<p><strong>State:</strong> {{ status['state'] or 'idle' }}</p>
|
||||
{% if status['source'] %}<p><strong>Source:</strong> {{ status['source'] }}</p>{% endif %}
|
||||
<p><strong>Rows read:</strong> {{ status['records_seen'] or 0 }}
|
||||
<strong>new rows added:</strong> {{ status['records_new'] or 0 }}</p>
|
||||
{% if status['current_type'] %}<p><strong>Now reading:</strong> {{ status['current_type'] }}</p>{% endif %}
|
||||
{% if status['message'] %}<p class="err">{{ status['message'] }}</p>{% endif %}
|
||||
{% if status['finished_at'] %}<p class="muted">Finished {{ status['finished_at'] }} UTC</p>{% endif %}
|
||||
{% else %}
|
||||
<p class="muted">Nothing imported yet.</p>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user