index.html: Download CSV button on the dashboard

This commit is contained in:
ai-bot committed 2026-10-02 09:48:33 +00:00
1 parent 010a1f9848
commit 2b10ed82b8
1 file changed
+4 -1
+4 -1
View File
@@ -79,10 +79,13 @@
<p class="eyebrow">Previous checks</p> <p class="eyebrow">Previous checks</p>
<h2 id="history-title">History</h2> <h2 id="history-title">History</h2>
</div> </div>
<div class="card-actions">
<a class="secondary-button" href="/history">Open history</a> <a class="secondary-button" href="/history">Open history</a>
<a class="secondary-button" href="/api/export" download="helsesjekk-export.csv">Download CSV</a>
</div>
</section> </section>
<p class="workflow-note" id="workflow-note">Save a health check to see it in the history. Report export is not implemented yet.</p> <p class="workflow-note" id="workflow-note">Save a health check to see it in the history. Download CSV exports every saved key check, one row per key check.</p>
</main> </main>
<footer class="footer"><span>Helsesjekk</span><span>Your data stays local.</span></footer> <footer class="footer"><span>Helsesjekk</span><span>Your data stays local.</span></footer>
</body> </body>