aboutsummaryrefslogtreecommitdiff
path: root/static/admin
diff options
context:
space:
mode:
Diffstat (limited to 'static/admin')
-rw-r--r--static/admin/config.yml22
1 files changed, 21 insertions, 1 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml
index 220a47d..f470a4a 100644
--- a/static/admin/config.yml
+++ b/static/admin/config.yml
@@ -114,9 +114,20 @@ collections:
allow_add: true
fields:
- {label: "Name", name: "name", widget: string}
+ - {label: "Category", hint: "All systems need a category. For more, read the migration docs: https://github.com/cstate/cstate/wiki/Usage#v3-to-v4", name: "category", widget: string}
- {label: "Description", name: "description", widget: string, required: false}
- {label: "Partial", hint: "Custom HTML feature: https://github.com/cstate/cstate/wiki/Customization#custom-html", name: "partial", widget: string, required: false}
- # Components
+ # Categories
+ - label: "Categories"
+ name: "categories"
+ widget: "list"
+ allow_add: true
+ fields:
+ - {label: "Name", name: "name", widget: string}
+ - {label: "Description", name: "description", widget: string, required: false}
+ - {label: "Should this category be open by default", name: "closed", widget: "boolean", required: false}
+ - {label: "Should the name of this category be shown? If you want to create the appearance of an Uncategorized category, enable this.", name: "untited", widget: "boolean", required: false}
+ # Tabs
- label: "Tabs"
hint: 'You can add extra tabs below the main homepage summary, for example, to external sites, monitoring services, as shown in the example below. Try Uptime Robot!'
name: "customTabs"
@@ -173,6 +184,15 @@ collections:
min: 1
max: 100
default: 10
+ # Incidents view format
+ - label: 'Should the incident history be sorted by year or month?'
+ name: 'incidentHistoryFormat'
+ hint: 'Enabling sorting disables pagination. More: https://github.com/cstate/cstate/wiki/Customization#enable-sorting--archives-by-year-or-month-v40'
+ widget: 'select'
+ options:
+ - { label: "Show by year", value: "yearly" }
+ - { label: "Show by month", value: "monthly" }
+ - { label: "No sorting; enable pagination", value: "none" }
# Brand color
- label: 'Header: always keep brand color the same'
name: 'alwaysKeepBrandColor'