From 88a199b6c0576a35bae67a241c20370b629dd7cd Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Tue, 24 Jul 2018 13:47:45 +0300 Subject: v2-rc1 --- layouts/index.html | 77 ++++++++++++++++++++++++----- layouts/partials/footer.html | 2 +- layouts/partials/js.html | 114 +++++++------------------------------------ layouts/partials/meta.html | 7 ++- layouts/uptime/single.html | 86 -------------------------------- 5 files changed, 88 insertions(+), 198 deletions(-) delete mode 100644 layouts/uptime/single.html (limited to 'layouts') diff --git a/layouts/index.html b/layouts/index.html index b937777..f5fbb05 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -48,9 +48,16 @@ {{ end }} + {{ if .Site.Params.autoRefresh }} +
Looks like we do not have any incidents logged.
+ {{ if not $incidents }} + +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 }} - {{ range .Data.Pages }} + {{ $paginator := .Paginate $incidents .Site.Params.incidentPostsPerPage }} + {{ range $paginator.Pages }} {{ .Render "issue" }} {{ end }} + + + {{ if gt $paginator.TotalPages 1 }} +