From a1a10ab23d22a9ec0f3fe7e4d1e71b5ff3cc5700 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Sat, 1 Aug 2015 17:40:58 -0600 Subject: [PATCH] more tweaks for blueprints --- system/blueprints/config/system.yaml | 2 ++ system/blueprints/pages/default.yaml | 18 +++++++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/system/blueprints/config/system.yaml b/system/blueprints/config/system.yaml index 322a30358..ab1fead2c 100644 --- a/system/blueprints/config/system.yaml +++ b/system/blueprints/config/system.yaml @@ -23,6 +23,7 @@ form: pages.theme: type: themeselect classes: fancy + selectize: true size: medium label: Default theme help: "Set the default theme for Grav to use (default is Antimatter)" @@ -40,6 +41,7 @@ form: timezone: type: select label: Timezone + size: medium classes: fancy help: "Override the default timezone the server" @data-options: '\Grav\Common\Utils::timezones' diff --git a/system/blueprints/pages/default.yaml b/system/blueprints/pages/default.yaml index c9b697a7e..f2064d0c6 100644 --- a/system/blueprints/pages/default.yaml +++ b/system/blueprints/pages/default.yaml @@ -56,11 +56,11 @@ form: header.published: type: toggle label: Published - toggleable: true - default: 1 help: "By default, a page is published unless you explicitly set published: false or via a publish_date being in the future, or unpublish_date in the past" highlight: 1 + size: medium options: + '': Global 1: Yes 0: No validate: @@ -217,6 +217,14 @@ form: twig: Twig use: keys + header.child_type: + type: select + toggleable: true + label: Default Child Type + default: default + placeholder: Use Global + @data-options: '\Grav\Common\Page\Pages::types' + header.visible: type: toggle label: Visible @@ -252,11 +260,7 @@ form: validate: type: bool - header.child_type: - type: select - label: Default Child Type - default: default - @data-options: '\Grav\Common\Page\Pages::types' + header.order_by: type: hidden