From bf39adbda740588376198df9d3d2641cd53aabd8 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Wed, 10 Sep 2014 14:49:11 -0600 Subject: [PATCH] Fixes and reformatting of blueprints --- system/blueprints/site.yaml | 94 ++++++++++++++++++++++------------- system/blueprints/system.yaml | 86 ++++++++++++++++++-------------- 2 files changed, 107 insertions(+), 73 deletions(-) diff --git a/system/blueprints/site.yaml b/system/blueprints/site.yaml index 614137f6f..33f9aa37b 100644 --- a/system/blueprints/site.yaml +++ b/system/blueprints/site.yaml @@ -1,44 +1,68 @@ title: Site -validation: strict - form: - fields: - title: - type: text - label: Site Title - placeholder: "Site wide title" - help: Default title for your site + fields: - description: - type: textarea - label: Description + content: + type: section + title: Defaults + underline: true - summary.size: - type: text - label: Summary size - validate: - type: int - min: 0 - max: 65536 + fields: + title: + type: text + label: Site Title + size: large + placeholder: "Site wide title" + help: Default title for your site - author.name: - type: text - label: Default author + description: + type: textarea + size: large + label: Description - author.email: - type: text - label: Default email + author.name: + type: text + size: large + label: Default Author - taxonomies: - type: text - label: Taxonomy types - validate: - type: commalist + author.email: + type: text + size: large + label: Default Email - blog.route: - type: text - label: Blog URL + taxonomies: + type: text + size: large + label: Taxonomy Types + validate: + type: commalist - routes: - type: array - label: Custom routes + blog: + type: section + title: Blog + underline: true + + fields: + blog.route: + type: text + size: large + label: Blog URL + + summary.size: + type: text + size: x-small + label: Summary Size + validate: + type: int + min: 0 + max: 65536 + + routes: + type: section + title: Routes + underline: true + + fields: + routes: + type: array + label: Custom diff --git a/system/blueprints/system.yaml b/system/blueprints/system.yaml index e4fd63c16..c057040e9 100644 --- a/system/blueprints/system.yaml +++ b/system/blueprints/system.yaml @@ -29,8 +29,8 @@ form: label: Markdown Extra highlight: 1 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No validate: type: bool @@ -45,6 +45,7 @@ form: pages.dateformat.short: type: select + size: medium label: Short Date Format help: "Set the short date format" default: 'jS M Y' @@ -57,6 +58,7 @@ form: pages.dateformat.long: type: select + size: medium label: Long Date Format help: "Set the long date format" options: @@ -68,6 +70,7 @@ form: pages.order.by: type: select + size: medium label: Default Ordering options: default: Default - based on folder name @@ -78,13 +81,15 @@ form: pages.order.dir: type: toggle label: Default Order Direction - default: asc + highlight: asc + default: desc options: asc: Ascending desc: Descending pages.list.count: type: text + size: x-small label: Default Item Count help: "Default max pages count" validate: @@ -104,8 +109,8 @@ form: label: Page events highlight: 1 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No validate: type: bool @@ -114,8 +119,8 @@ form: label: Twig events highlight: 1 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No validate: type: bool @@ -130,13 +135,14 @@ form: label: Caching highlight: 1 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No validate: type: bool cache.check.method: type: select + size: small label: Cache Check Method options: file: File @@ -145,6 +151,7 @@ form: cache.driver: type: select + size: small label: Cache driver options: auto: Auto detect @@ -156,6 +163,7 @@ form: cache.prefix: type: text + size: x-small label: Cache Prefix placeholder: "Derived from base URL (override by entering random string)" @@ -170,8 +178,8 @@ form: label: Twig caching highlight: 1 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No validate: type: bool @@ -180,8 +188,8 @@ form: label: Twig debug highlight: 1 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No validate: type: bool @@ -190,8 +198,8 @@ form: label: Detect changes highlight: 1 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No validate: type: bool @@ -200,8 +208,8 @@ form: label: Autoescape variables highlight: 1 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No validate: type: bool @@ -214,42 +222,42 @@ form: assets.css_pipeline: type: toggle label: CSS Pipeline - highlight: 0 + highlight: 1 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No assets.css_minify: type: toggle label: CSS Minify highlight: 1 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No assets.css_rewrite: type: toggle label: CSS Rewrite highlight: 1 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No assets.js_pipeline: type: toggle label: JavaScript Pipeline - highlight: 0 + highlight: 01 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No assets.js_minify: type: toggle label: JavaScript Minify highlight: 1 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No debugger: type: section @@ -262,13 +270,14 @@ form: label: Debugger highlight: 1 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No validate: type: bool debugger.mode: type: select + size: small label: Mode options: detect: Auto-Detect @@ -278,15 +287,16 @@ form: debugger.strict: type: toggle label: Strict - highlight: 0 + highlight: 1 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No validate: type: bool debugger.max_depth: type: select + size: small label: Detail Level placeholder: "How many nested levels to display for objects or arrays" options: @@ -308,8 +318,8 @@ form: label: Logging highlight: 1 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No validate: type: bool @@ -318,8 +328,8 @@ form: label: Shutdown Close Connection highlight: 1 options: - 1: Enabled - 0: Disabled + 1: Yes + 0: No validate: type: bool