diff --git a/templates/default/admin-songs.tmpl b/templates/default/admin-songs.tmpl new file mode 100644 index 00000000..db807567 --- /dev/null +++ b/templates/default/admin-songs.tmpl @@ -0,0 +1,17 @@ +{{define "content"}} + + + + + Search + + + + {{template "pagination" .Page}} + {{range .Forms}} + {{template "form_admin_songs" .}} + {{end}} + {{template "pagination" .Page}} + + +{{end}} \ No newline at end of file diff --git a/templates/default/partials/admin-navbar.tmpl b/templates/default/partials/admin-navbar.tmpl index 4b8c1938..5bc4587a 100644 --- a/templates/default/partials/admin-navbar.tmpl +++ b/templates/default/partials/admin-navbar.tmpl @@ -15,7 +15,7 @@ Home {{if .User.UserPermissions.Has "news"}}News{{end}} {{if .User.UserPermissions.Has "pending_view"}}Pending{{end}} - {{if .User.UserPermissions.Has "database_view"}}Song Database{{end}} + {{if .User.UserPermissions.Has "database_view"}}Song Database{{end}} {{if .User.UserPermissions.Has "admin"}}Users{{end}} Profile diff --git a/templates/default/partials/form_admin_songs.tmpl b/templates/default/partials/form_admin_songs.tmpl new file mode 100644 index 00000000..117c87f0 --- /dev/null +++ b/templates/default/partials/form_admin_songs.tmpl @@ -0,0 +1,102 @@ +{{define "form_admin_songs"}} +