diff --git a/web/templates/guestbook_admin.pug b/web/templates/guestbook_admin.pug index c94fd33..6bd1733 100755 --- a/web/templates/guestbook_admin.pug +++ b/web/templates/guestbook_admin.pug @@ -4,6 +4,7 @@ block meta_description meta(name='description' content="Guestbook administration.") block append head + link(href='/assets/css/guestbook.css' rel='stylesheet') link(href='/assets/css/guestbook_admin.css' rel='stylesheet') script(src='/assets/js/guestbook_admin.js' defer='') @@ -12,7 +13,8 @@ block nav a(href='/stuff') Stuff a(href='/mindflow') Mindflow a(href='/about') About - h1 Guestbook + a(href='/guestbook') Guestbook + h1 Guestbook Admin block content :go:func GuestbookAdmin(title, owner string, entries []*guestbook.Entry, r *http.Request) @@ -23,7 +25,7 @@ block content form.entry(onsubmit='return false;') header - var created_tz = util.ToClientTimezone(entry.Created, r).Format("Monday _2 January 2006 15:04:05 -07:00") - | ##{entry.ID} by #[input(type='text' name='name' value=entry.Name)] #[input(type='text' name='website' value=entry.Website)] + | ##{entry.ID} by #[input(type='text' maxlength='80' placeholder='Name (Anonymous if left blank)' name='name' value=entry.Name)] #[input(type='text' maxlength='255' placeholder='Website (optional)' name='website' value=entry.Website)] if entry.Website != "" | (#[input(type='checkbox' name='hide_website') hide]) else