download csv button now works

This commit is contained in:
Niklas Kapelle 2025-04-22 12:03:40 +02:00
parent 0f189b8e98
commit 72871cd823
Signed by: niklas
GPG Key ID: 4EB651B36D841D16

View File

@ -13,10 +13,10 @@
<h1 class="text-3xl sm:text-4xl font-bold text-gray-800"> <h1 class="text-3xl sm:text-4xl font-bold text-gray-800">
Anwesenheit Anwesenheit
</div> </div>
<button <a class="px-6 py-3 text-lg font-semibold text-white bg-indigo-600 rounded-2xl shadow-md hover:bg-indigo-700 transition"
class="px-6 py-3 text-lg font-semibold text-white bg-indigo-600 rounded-2xl shadow-md hover:bg-indigo-700 transition"> href="/api/csv" download="anwesenheit.csv">
Download CSV Download CSV
</button> </a>
</div> </div>
</body> </body>