From aacd468d9e5cae4e689f9f70e932d9a496d6a6ba Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Tue, 24 Jul 2018 17:04:23 +0300 Subject: Netlify CMS stuff --- exampleSite/static/img/README.md | 1 + static/sw.js | 14 -------------- 2 files changed, 1 insertion(+), 14 deletions(-) create mode 100644 exampleSite/static/img/README.md delete mode 100644 static/sw.js diff --git a/exampleSite/static/img/README.md b/exampleSite/static/img/README.md new file mode 100644 index 0000000..5f250f1 --- /dev/null +++ b/exampleSite/static/img/README.md @@ -0,0 +1 @@ +For users of Netlify CMS with cState, `static/img` is the media folder in the config. diff --git a/static/sw.js b/static/sw.js deleted file mode 100644 index e778677..0000000 --- a/static/sw.js +++ /dev/null @@ -1,14 +0,0 @@ -'use strict'; - -self.addEventListener('notificationclick', function(e) { - var notification = e.notification; - var primaryKey = notification.data.primaryKey; - var action = e.action; - - if (action === 'close') { - notification.close(); - } else { - clients.openWindow(permalink); - notification.close(); - } -}); -- cgit v1.2.3-70-g09d2 From ac7737ba017bd365a89c166dc7e544f4cbed1380 Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Tue, 31 Jul 2018 14:20:37 +0300 Subject: Emergency CSS bug fixes + fix #13 --- layouts/index.html | 2 ++ layouts/partials/meta.html | 13 +++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index f5fbb05..9082595 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -139,6 +139,8 @@

Is it the calm before the storm?

This status page has no logged incidents. This may be because the status page owner (or owners) have recently set up their status page, have had no downtime, or have not logged any downtime.

+
+
{{ else }} {{ $paginator := .Paginate $incidents .Site.Params.incidentPostsPerPage }} {{ range $paginator.Pages }} diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html index ef9e3af..eb4e33a 100644 --- a/layouts/partials/meta.html +++ b/layouts/partials/meta.html @@ -45,8 +45,6 @@ box-sizing: inherit; } - ::selection { background: #B4D5FF; } - hr { border: 0; border-bottom: 1px solid #ccc; @@ -200,13 +198,13 @@ } .logo img { - height: 128px; - width: auto; + height: auto; + width: 320px; } .logo--small img { - height: 64px; - width: auto; + height: auto; + width: 160px; } .tabs { border-bottom: 1px solid #ccc; } @@ -284,6 +282,9 @@ display: inline; } } + + ::selection { background: #B4D5FF; } + html { -webkit-tap-highlight-color: rgba(0,0,0, 0.25); } {{ if .Site.Params.enableCustomHTML }} {{ partial "custom/meta" . }} -- cgit v1.2.3-70-g09d2 From 4aa7641385b2ae9e6a820778649728d42bce5607 Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Thu, 2 Aug 2018 18:27:40 +0300 Subject: Fix YAML indent --- static/admin/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/admin/config.yml b/static/admin/config.yml index 7749a76..2909785 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -13,8 +13,8 @@ backend: name: git-gateway media_folder: "static/img" public_folder: "/img" - # Do not change this! - collections: +# Do not change this! +collections: # Used in routes, e.g., /admin/collections/blog - name: "issue" # Used in the UI -- cgit v1.2.3-70-g09d2