From 290aa0df0204038b8c7b23c28d716755e468f169 Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Fri, 25 Jan 2019 16:53:51 +0200 Subject: fix #42, #51; v4-dev1 begins --- layouts/affected/404.html | 21 ++++ layouts/index.html | 185 +++--------------------------- layouts/partials/index/announcements.html | 14 +++ layouts/partials/index/autorefresh.html | 8 ++ layouts/partials/index/components.html | 53 +++++++++ layouts/partials/index/incidents.html | 61 ++++++++++ layouts/partials/index/noscript.html | 4 + layouts/partials/index/summary.html | 24 ++++ layouts/partials/index/tabs.html | 20 ++++ 9 files changed, 223 insertions(+), 167 deletions(-) create mode 100644 layouts/affected/404.html create mode 100644 layouts/partials/index/announcements.html create mode 100644 layouts/partials/index/autorefresh.html create mode 100644 layouts/partials/index/components.html create mode 100644 layouts/partials/index/incidents.html create mode 100644 layouts/partials/index/noscript.html create mode 100644 layouts/partials/index/summary.html create mode 100644 layouts/partials/index/tabs.html (limited to 'layouts') diff --git a/layouts/affected/404.html b/layouts/affected/404.html new file mode 100644 index 0000000..527c280 --- /dev/null +++ b/layouts/affected/404.html @@ -0,0 +1,21 @@ +{{ partial "meta" . }} + +{{ $incidents := where .Site.RegularPages "Params.section" "issue" }} +{{ $active := where $incidents "Params.resolved" "=" false }} + +{{ $isNotice := where $active "Params.severity" "=" "notice" }} +{{ $isDisrupted := where $active "Params.severity" "=" "disrupted" }} +{{ $isDown := where $active "Params.severity" "=" "down" }} + +
+ {{ partial "header" . }} + +{{ T "notFoundText" }}
+