From 9d6a10ffe260b36ef76a73e8d53c835e8d5562c6 Mon Sep 17 00:00:00 2001 From: Mantas Date: Mon, 1 May 2017 19:40:08 +0300 Subject: Complete refactor: add beta of #2, fix #1 --- layouts/incident/post.html | 8 ++ layouts/incident/single.html | 13 ++ layouts/index.html | 278 +++++++++++++++++++++++++++++++++++++++++++ layouts/partials/footer.html | 11 ++ layouts/partials/meta.html | 206 ++++++++++++++++++++++++++++++++ 5 files changed, 516 insertions(+) create mode 100644 layouts/incident/post.html create mode 100644 layouts/incident/single.html create mode 100644 layouts/index.html create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/meta.html (limited to 'layouts') diff --git a/layouts/incident/post.html b/layouts/incident/post.html new file mode 100644 index 0000000..593481a --- /dev/null +++ b/layouts/incident/post.html @@ -0,0 +1,8 @@ +
+

+ {{ .Title }} {{ if .Draft }}[DRAFT]{{ end }} +

+

Began on {{ .Date }} ({{ .ReadingTime }} min read)

+ + {{ .Content }} +
diff --git a/layouts/incident/single.html b/layouts/incident/single.html new file mode 100644 index 0000000..92ead19 --- /dev/null +++ b/layouts/incident/single.html @@ -0,0 +1,13 @@ +{{ partial "meta" . }} + + + +
+ ← Go back + +


+ + {{ .Render "post"}} +
+ +{{ partial "footer" . }} diff --git a/layouts/index.html b/layouts/index.html new file mode 100644 index 0000000..014892d --- /dev/null +++ b/layouts/index.html @@ -0,0 +1,278 @@ +{{ partial "meta" . }} + + +
+
+ + + +
+
+ + +
+ + +
+
+
+ Notifications + + Close + +
+
+ +
+

Users of modern browsers such as Chrome and Firefox get access to web notifications, a feature that shows alerts for things such as Facebook mentions, new emails, or in our case, status updates. These updates can be seen even if the user is not actively looking at this status page, however, the tab has to stay open.

+ +

Only some users may be able to use this feature. This feature does not work on mobile devices and is not fully tested.

+ +
+ + +
+ +

You have not enabled notifications.

+
+
+ + +
+
+ Checking status… + + +
+
+

{{ .Site.Params.announcement }}

+
+

+ + +
+
+ Forums Pinging… +
+
+ Website Pinging… +
+
+ Minecraft server +
+
+ +
+ Disclaimer + + +
+ +
+

Incident history



+ + {{ range first 10 .Data.Pages }} + {{ .Render "post" }} + {{ end }} + + +
+ + + +{{ partial "footer" . }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..62ea1b5 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,11 @@ + + + diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html new file mode 100644 index 0000000..8237757 --- /dev/null +++ b/layouts/partials/meta.html @@ -0,0 +1,206 @@ + + + + + + + + + + {{ .Site.Title }} + + + + + + -- cgit v1.2.3-70-g09d2