From 47a7faf58825b828d2e4d8f386da327448e44f2d Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Tue, 18 Oct 2016 23:42:07 -0700 Subject: adjusting style to quick-delete-post button and adding JS form control --- system/admin/handlers.go | 15 ++++++++++++++- system/admin/static/dashboard/css/admin.css | 1 + 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'system') diff --git a/system/admin/handlers.go b/system/admin/handlers.go index 0cac28f..069871f 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -401,8 +401,21 @@ func postsHandler(res http.ResponseWriter, req *http.Request) { b.Write([]byte(``)) + script := ` + + ` + btn := `
New ` + t + `
` - html = html + b.String() + btn + html = html + b.String() + script + btn adminView, err := Admin([]byte(html)) if err != nil { diff --git a/system/admin/static/dashboard/css/admin.css b/system/admin/static/dashboard/css/admin.css index 4d1275f..e23658e 100644 --- a/system/admin/static/dashboard/css/admin.css +++ b/system/admin/static/dashboard/css/admin.css @@ -178,6 +178,7 @@ li:hover .quick-delete-post { text-transform: uppercase; font-size: 11px; font-weight: bold; + margin-right: 20px; } -- cgit v1.2.3