aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/admin/config.yml38
-rw-r--r--static/admin/index.html20
-rw-r--r--static/favicon-16x16.pngbin0 -> 215 bytes
-rw-r--r--static/favicon-32x32.pngbin0 -> 446 bytes
-rw-r--r--static/favicon.icobin5430 -> 5430 bytes
-rw-r--r--static/logo.pngbin6576 -> 0 bytes
6 files changed, 58 insertions, 0 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml
new file mode 100644
index 0000000..487d969
--- /dev/null
+++ b/static/admin/config.yml
@@ -0,0 +1,38 @@
+# This is the main configuration file for Netlify CMS.
+# Netlify CMS is used as the admin panel for cState.
+#
+# While some settings here can be kept as is, you may
+# want to change some for a more customized solution.
+#
+# You can look at what each option does and how to
+# toggle between them on the Netlify CMS repo docs:
+#
+# https://github.com/netlify/netlify-cms/blob/master/docs/quick-start.md
+
+backend:
+ name: git-gateway
+ branch: master
+ media_folder: "static/admin/img"
+ public_folder: "/admin/img"
+ # Do not change this!
+ collections:
+ # Used in routes, e.g., /admin/collections/blog
+ - name: "issue"
+ # Used in the UI
+ label: "Issues"
+ # The path to the folder where the documents are stored
+ folder: "content/issues"
+ # Allow users to create new documents in this collection
+ create: true
+ # Filename template, e.g., YYYY-MM-DD-title.md
+ slug: "{{slug}}.md"
+ # The fields for each document, usually in front matter
+ fields:
+ - {label: "Section", name: "Section", widget: "hidden", default: "issue"}
+ - {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: "Body", name: "body", widget: "markdown"}
diff --git a/static/admin/index.html b/static/admin/index.html
new file mode 100644
index 0000000..ea5090b
--- /dev/null
+++ b/static/admin/index.html
@@ -0,0 +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@^0.7.0/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.
+ -->
+
+ <script src="https://unpkg.com/netlify-cms@^0.7.0/dist/cms.js"></script>
+</body>
+</html>
diff --git a/static/favicon-16x16.png b/static/favicon-16x16.png
new file mode 100644
index 0000000..9dcdd35
--- /dev/null
+++ b/static/favicon-16x16.png
Binary files differ
diff --git a/static/favicon-32x32.png b/static/favicon-32x32.png
new file mode 100644
index 0000000..9037e59
--- /dev/null
+++ b/static/favicon-32x32.png
Binary files differ
diff --git a/static/favicon.ico b/static/favicon.ico
index b2bf69e..f335785 100644
--- a/static/favicon.ico
+++ b/static/favicon.ico
Binary files differ
diff --git a/static/logo.png b/static/logo.png
deleted file mode 100644
index fc914e5..0000000
--- a/static/logo.png
+++ /dev/null
Binary files differ