First CardUI commit
This commit is contained in:
@ -17,6 +17,7 @@ collections: # A list of collections the CMS should be able to edit
|
||||
meta:
|
||||
- {label: "Publish Date", name: "date", widget: "datetime", format: "YYYY-MM-DD hh:mma"}
|
||||
- {label: "SEO Description", name: "description", widget: "text"}
|
||||
card: {type: "media", media: "image", text: "title"}
|
||||
|
||||
- name: "faq" # Used in routes, ie.: /admin/collections/:slug/edit
|
||||
label: "FAQ" # Used in the UI, ie.: "New Post"
|
||||
@ -25,6 +26,7 @@ collections: # A list of collections the CMS should be able to edit
|
||||
fields: # The fields each document in this collection have
|
||||
- {label: "Question", name: "title", widget: "string", tagname: "h1"}
|
||||
- {label: "Answer", name: "body", widget: "markdown"}
|
||||
card: {type: "alltype", text: "title"}
|
||||
|
||||
- name: "settings"
|
||||
label: "Settings"
|
||||
|
@ -4,7 +4,7 @@
|
||||
<meta charset="utf-8" />
|
||||
|
||||
<title>This is an example</title>
|
||||
<link rel="stylesheet" href="https://facebook.github.io/draft-js/css/draft.css"/>
|
||||
|
||||
<link href='https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700' rel='stylesheet' type='text/css'>
|
||||
<script>
|
||||
window.repoFiles = {
|
||||
|
Reference in New Issue
Block a user