From a93b1d2712a886c1adfd5f215aedc2e6d643e969 Mon Sep 17 00:00:00 2001 From: Mantas <11616378+mistermantas@users.noreply.github.com> Date: Fri, 3 Aug 2018 12:20:01 +0300 Subject: Update to Netlify CMS v2 --- static/admin/config.yml | 4 +--- static/admin/index.html | 34 ++++++++++++++++------------------ 2 files changed, 17 insertions(+), 21 deletions(-) (limited to 'static') 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 @@ - - - - cState Admin - - - - + + + + cState Admin + + + - - - - + + + -- cgit v1.2.3-70-g09d2