diff options
Diffstat (limited to 'static')
-rw-r--r-- | static/admin/config.yml | 9 | ||||
-rw-r--r-- | static/admin/index.html | 10 |
2 files changed, 11 insertions, 8 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml index 893f620..93ec4d5 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -12,7 +12,7 @@ backend: name: git-gateway branch: master - media_folder: "/static/img" + media_folder: "static/img" public_folder: "/img" # Do not change this! collections: @@ -32,7 +32,8 @@ backend: - {label: "Title", name: "Title", widget: "string"} - {label: "Description", name: "Description", widget: "string"} - {label: "Date", name: "Date", widget: "datetime"} - - {label: "Resolved?", name: "Resolved", widget: "boolean"} - - {label: "Severity", name: "Severity", widget: "string"} - - {label: "Affected", name: "Affected", widget: "string"} + - {label: "Is this completely resolved?", name: "Resolved", widget: "boolean"} + - {label: "When did downtime end (if it did)?", name: "ResolvedWhen", widget: "date"} + - {label: "Severity (enter disrupted, down, or notice)", name: "Severity", widget: "string"} + - {label: "Affected (example: ['API', ['Media Proxy']])", name: "Affected", widget: "string"} - {label: "Body", name: "body", widget: "markdown"} diff --git a/static/admin/index.html b/static/admin/index.html index ea5090b..5d0b4fe 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -1,10 +1,10 @@ -<!DOCTYPE html> +<!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@^0.7.0/dist/cms.css" /> + <title>{{ .Site.Title }} | cState Admin</title> + <link rel="stylesheet" href="https://unpkg.com/netlify-cms@~1.1/dist/cms.css" /> </head> <body> <!-- @@ -15,6 +15,8 @@ /admin/ directory. --> - <script src="https://unpkg.com/netlify-cms@^0.7.0/dist/cms.js"></script> + <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> </html> |