diff options
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 }} |
