From e4fa817d305f701be0aeb34c079c93108940e2c3 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Tue, 20 Dec 2016 13:13:54 -0800 Subject: adding style update to admin css --- system/admin/static/dashboard/css/admin.css | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'system') diff --git a/system/admin/static/dashboard/css/admin.css b/system/admin/static/dashboard/css/admin.css index 8d2fb89..4d6e444 100644 --- a/system/admin/static/dashboard/css/admin.css +++ b/system/admin/static/dashboard/css/admin.css @@ -185,6 +185,11 @@ li:hover .quick-delete-post, li:hover .delete-user { padding: 20px; } +.controls button { + padding: 0px 10px 5px 10px; + position: relative; + top: -10px; +} /* OVERRIDE Bootstrap + Materialize conflicts */ .iso-texteditor.input-field label { -- cgit v1.2.3 From a8a626c96a699ceb6cfda0ed81a9910ed8ae9991 Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Tue, 20 Dec 2016 18:00:19 -0800 Subject: fixing scope of FileRepeater and minor css updates --- system/admin/static/dashboard/css/admin.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'system') diff --git a/system/admin/static/dashboard/css/admin.css b/system/admin/static/dashboard/css/admin.css index 4d6e444..9cba7d0 100644 --- a/system/admin/static/dashboard/css/admin.css +++ b/system/admin/static/dashboard/css/admin.css @@ -221,4 +221,8 @@ li:hover .quick-delete-post, li:hover .delete-user { .approve-details { text-align: right; padding: 10px 0 !important; +} + +select { + border: 1px solid #e2e2e2; } \ No newline at end of file -- cgit v1.2.3 From 0ca645c0b75752e38d4ddde3c10849a25bb8b53b Mon Sep 17 00:00:00 2001 From: Steve Manuel Date: Thu, 22 Dec 2016 13:11:14 -0800 Subject: adding fix for js in repeaters (mainly FileRepeater) and cleanup of form value transforms --- system/admin/handlers.go | 3 ++- system/api/external.go | 3 ++- system/db/config.go | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'system') diff --git a/system/admin/handlers.go b/system/admin/handlers.go index e1487c5..ff30040 100644 --- a/system/admin/handlers.go +++ b/system/admin/handlers.go @@ -1403,10 +1403,11 @@ func editHandler(res http.ResponseWriter, req *http.Request) { if req.PostForm.Get(key) == "" { req.PostForm.Set(key, v[0]) - discardKeys = append(discardKeys, k) } else { req.PostForm.Add(key, v[0]) } + + discardKeys = append(discardKeys, k) } } diff --git a/system/api/external.go b/system/api/external.go index 86e4a99..302b7c9 100644 --- a/system/api/external.go +++ b/system/api/external.go @@ -85,10 +85,11 @@ func externalContentHandler(res http.ResponseWriter, req *http.Request) { if req.PostForm.Get(key) == "" { req.PostForm.Set(key, v[0]) - discardKeys = append(discardKeys, k) } else { req.PostForm.Add(key, v[0]) } + + discardKeys = append(discardKeys, k) } } diff --git a/system/db/config.go b/system/db/config.go index 0e49307..ce76021 100644 --- a/system/db/config.go +++ b/system/db/config.go @@ -34,10 +34,11 @@ func SetConfig(data url.Values) error { if data.Get(key) == "" { data.Set(key, v[0]) - discardKeys = append(discardKeys, k) } else { data.Add(key, v[0]) } + + discardKeys = append(discardKeys, k) } } -- cgit v1.2.3