diff options
author | Mantas <11616378+mistermantas@users.noreply.github.com> | 2018-07-05 14:45:24 +0300 |
---|---|---|
committer | Mantas <11616378+mistermantas@users.noreply.github.com> | 2018-07-05 14:45:24 +0300 |
commit | dccc5e9864bb8e5923d633848860d39e4d92e46c (patch) | |
tree | b083eb048be02d10d0497d1f4b750f504f990366 /static | |
parent | 2c05edfd800690b04d8b1d5529a17276cf6eccd3 (diff) |
v2 Dev Preview 1
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> |