diff options
| author | nsfisis <nsfisis@gmail.com> | 2024-08-21 01:52:27 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2024-08-21 01:52:27 +0900 |
| commit | 30e30c1d7db50f8146226c65b4eb8ee0f3d41a34 (patch) | |
| tree | 62f0600ba5856d9fad8b7e69d74991826c0cc304 /backend/admin/templates/audio.html | |
| parent | a7e6e896c512b56f6d8c811ce3fa0353c0d16cca (diff) | |
| download | iosdc-japan-2024-albatross-30e30c1d7db50f8146226c65b4eb8ee0f3d41a34.tar.gz iosdc-japan-2024-albatross-30e30c1d7db50f8146226c65b4eb8ee0f3d41a34.tar.zst iosdc-japan-2024-albatross-30e30c1d7db50f8146226c65b4eb8ee0f3d41a34.zip | |
feat(backend): add /admin/audio page
Diffstat (limited to 'backend/admin/templates/audio.html')
| -rw-r--r-- | backend/admin/templates/audio.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/backend/admin/templates/audio.html b/backend/admin/templates/audio.html new file mode 100644 index 0000000..21ec463 --- /dev/null +++ b/backend/admin/templates/audio.html @@ -0,0 +1,14 @@ +{{ template "base.html" . }} + +{{ define "breadcrumb" }} +<a href="{{ .BasePath }}/admin/dashboard">Dashboard</a> +{{ end }} + +{{ define "content" }} + {{ range .Audio }} + <figure> + <figcaption>{{ .Label }}</figcaption> + <audio controls src="{{ $.BasePath }}/files/audio/{{ .FileName }}"></audio> + </figure> + {{ end }} +{{ end }} |
