diff --git a/templates/dashboard.html b/templates/dashboard.html index 02a2965..bebc74d 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -1,12 +1,32 @@ {{define "dashboard"}} {{template "layout-page-start" (args "Title" "Dashboard")}} - - {{if .Projects}} - Projects + + {{if and (ne . nil) (ne (len .) 0)}} + + + Projects + + + New project + + + + + {{range .}} + + Image + + {{.Title}} + {{.ID}} + + + {{end}} + + {{else}} - + - + New project
{{.ID}}