aboutsummaryrefslogtreecommitdiff
path: root/static/admin
diff options
context:
space:
mode:
Diffstat (limited to 'static/admin')
-rw-r--r--static/admin/config.yml4
-rw-r--r--static/admin/index.html34
2 files changed, 17 insertions, 21 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml
index 1b88a3a..209177e 100644
--- a/static/admin/config.yml
+++ b/static/admin/config.yml
@@ -25,9 +25,7 @@ collections:
create: true
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
fields:
- # Hidden
- {label: "Mark as incident", name: "Section", widget: "hidden", default: "issue"}
- # Very basic
- {label: "Title", name: "Title", widget: "string"}
- {label: "Start date & time (your time)", name: "Date", widget: "datetime"}
- {label: "Mark as resolved", name: "Resolved", widget: "boolean", required: false}
@@ -45,5 +43,5 @@ collections:
allow_add: true
required: false
fields:
- - {label: "String", name: "string", widget: "string"}
+ - {label: "System", name: "string", widget: "string"}
- {label: "Sequence of events", name: "body", widget: "markdown", default: "We are investigating a potential issue that might affect the uptime of one our of services."}
diff --git a/static/admin/index.html b/static/admin/index.html
index f8ef914..6f93a08 100644
--- a/static/admin/index.html
+++ b/static/admin/index.html
@@ -1,22 +1,20 @@
<!doctype html>
<html>
-<head>
- <meta charset="utf-8" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <title>cState Admin</title>
- <link rel="stylesheet" href="https://unpkg.com/netlify-cms@~1.1/dist/cms.css" />
-</head>
-<body>
- <!--
- To easily manage your status on Netlify,
- much like on WordPress, you need to keep
- this directory. Platforms which do not
- support Netlify CMS do not need this
- /admin/ directory.
- -->
+ <head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ <title>cState Admin</title>
+ </head>
+ <body>
+ <!--
+ To easily manage your status on Netlify,
+ much like on WordPress, you need to keep
+ this directory. Platforms which do not
+ support Netlify CMS do not need this
+ /admin/ directory.
+ -->
- <script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
- <script src="https://unpkg.com/netlify-cms@~1.9/dist/cms.js"></script>
-
-</body>
+ <script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
+ <script src="https://unpkg.com/netlify-cms@^2.0.0/dist/netlify-cms.js"></script>
+ </body>
</html>