From a4c28d0f2045b1047193e4f9d2eee809f2ec067c Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 11 Jul 2019 13:25:40 +1200 Subject: [PATCH] Better styleguide template See https://app.zenhub.com/workspaces/open-sorcerers-52b2f493f0808b12020000f8/issues/silverstripe/bambusa-theme/3 --- .../Layout/SimpleStyleguideController.ss | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 app/templates/Layout/SimpleStyleguideController.ss diff --git a/app/templates/Layout/SimpleStyleguideController.ss b/app/templates/Layout/SimpleStyleguideController.ss new file mode 100755 index 0000000..0df8cfb --- /dev/null +++ b/app/templates/Layout/SimpleStyleguideController.ss @@ -0,0 +1,31 @@ +
+
+
+ +
+
+
+
+
+

+ This view is only accessible to developers and admin users. + It demonstrates styling variations, and can be used to + test styling changes. +

+ + <% include SimpleStyleguideNavigation %> + +
+ <% include SimpleStyleguideColorSwatches %> + <% include SimpleStyleguideTypography %> + <% include SimpleStyleguideHeadings %> + <% include SimpleStyleguideForm %> +
+
+
+
+
+<% include PageUtilities %>