Add header

This commit is contained in:
Caleb
2025-05-15 23:32:35 -04:00
committed by Cooper Quintin
parent 96a02763e4
commit 643fa9f979
3 changed files with 7 additions and 5 deletions

View File

@@ -7,7 +7,7 @@
} = $props();
function confirmDelete() {
if (window.confirm(`Permanently delete ALL entries?`)) {
if (window.confirm(`Permanently delete ALL recordings?`)) {
req('POST', '/api/delete-all-recordings')
}
}
@@ -16,8 +16,8 @@
<div class="flex flex-row gap-2">
<RecordingControls {server_is_recording} />
<DeleteButton
text="Delete ALL Entries"
prompt={`Are you sure you want to delete ALL entries?`}
text="Delete ALL Recordings"
prompt={`Are you sure you want to delete ALL recordings?`}
url={`/api/delete-all-recordings`}
/>
</div>