aboutsummaryrefslogtreecommitdiff
path: root/static/admin
diff options
context:
space:
mode:
Diffstat (limited to 'static/admin')
-rw-r--r--static/admin/config.yml117
1 files changed, 59 insertions, 58 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml
index 3de63dc..e611287 100644
--- a/static/admin/config.yml
+++ b/static/admin/config.yml
@@ -142,6 +142,65 @@ collections:
widget: 'string'
hint: 'Where is the site hosted? Hostname (and path) to the root. Prior to version 3, a slash was used which now works in local testing, but breaks certain features of cState like RSS feeds, so a correct example for production is: https://cstate.mnts.lt'
default: '/'
+
+ # REQUIRED BUT HIDDEN
+ - label: 'theme'
+ name: 'theme'
+ widget: 'hidden'
+ default: 'cstate'
+ - label: 'preserveTaxonomyNames'
+ name: 'preserveTaxonomyNames'
+ widget: 'hidden'
+ default: 'true'
+ - label: "taxonomies"
+ name: taxonomies
+ widget: "hidden"
+ fields:
+ - {label: "affected", name: "affected", widget: "hidden", default: "affected"}
+ - label: "Outputs (Do not touch!)"
+ name: outputs
+ widget: "hidden"
+ fields:
+ - label: "page"
+ name: page
+ widget: "list"
+ allow_add: false
+ default: ['html', 'json']
+ - label: "section"
+ name: section
+ widget: "list"
+ allow_add: false
+ default: ['html', 'json', 'rss']
+ - label: "home"
+ name: home
+ widget: "list"
+ allow_add: false
+ default: ['html', 'json', 'rss', 'svg']
+ - label: "term"
+ name: term
+ widget: "list"
+ allow_add: false
+ default: ['html', 'json', 'rss']
+ - label: "Output formats (Do not touch!)"
+ name: outputFormats
+ widget: "hidden"
+ fields:
+ - label: "svg"
+ name: svg
+ fields:
+ - label: "isPlainText"
+ name: isPlainText
+ widget: "boolean"
+ default: true
+ - label: "mediaType"
+ name: mediaType
+ default: "image/svg+xml"
+ - label: 'Enable Git info'
+ name: 'enableGitInfo'
+ widget: 'hidden'
+ required: false
+ default: true
+
# PARAMS
- label: "Params"
name: "params"
@@ -309,61 +368,3 @@ collections:
name: 'enableCustomHTML'
widget: 'boolean'
default: 'false'
- # REQUIRED BUT HIDDEN
- - label: 'theme'
- name: 'theme'
- widget: 'hidden'
- default: 'cstate'
- - label: 'preserveTaxonomyNames'
- name: 'preserveTaxonomyNames'
- widget: 'hidden'
- default: 'true'
- - label: "taxonomies"
- name: taxonomies
- widget: "hidden"
- fields:
- - {label: "affected", name: "affected", widget: "hidden", default: "affected"}
- - label: "Outputs (Do not touch!)"
- name: outputs
- widget: "hidden"
- fields:
- - label: "page"
- name: page
- widget: "list"
- allow_add: false
- default: ['html', 'json']
- - label: "section"
- name: section
- widget: "list"
- allow_add: false
- default: ['html', 'json', 'rss']
- - label: "home"
- name: home
- widget: "list"
- allow_add: false
- default: ['html', 'json', 'rss', 'svg']
- - label: "term"
- name: term
- widget: "list"
- allow_add: false
- default: ['html', 'json', 'rss']
- - label: "Output formats (Do not touch!)"
- name: outputFormats
- widget: "hidden"
- fields:
- - label: "svg"
- name: svg
- fields:
- - label: "isPlainText"
- name: isPlainText
- widget: "boolean"
- default: true
- - label: "mediaType"
- name: mediaType
- default: "image/svg+xml"
- - label: 'Enable Git info'
- name: 'enableGitInfo'
- widget: 'hidden'
- hint: 'Docs: https://github.com/cstate/cstate/wiki/Customization#time'
- required: false
- default: true \ No newline at end of file