From a930d7ae2e9d9a1f59eea74960700958f0ae896b Mon Sep 17 00:00:00 2001 From: Christopher Joe Date: Thu, 12 Oct 2017 16:49:19 +1300 Subject: [PATCH 1/2] BUG Fix up markup and classes to work better with flexbox --- .../Controllers/Includes/CMSMain_Content.ss | 58 +++++++++---------- .../CMS/Controllers/Includes/CMSMain_Tools.ss | 8 +-- .../Includes/CMSPagesController_Content.ss | 4 +- 3 files changed, 32 insertions(+), 38 deletions(-) diff --git a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Content.ss b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Content.ss index 2e247ba7..67807e0f 100644 --- a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Content.ss +++ b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Content.ss @@ -1,40 +1,34 @@
-
- $Tools + $Tools -
- diff --git a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Tools.ss b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Tools.ss index 104ac744..22a3a75f 100644 --- a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Tools.ss +++ b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Tools.ss @@ -1,10 +1,10 @@
-
-
-
+
+
+ - <% include SilverStripe\\CMS\\Controllers\\CMSMain_Filter %> + <% include SilverStripe\\CMS\\Controllers\\CMSMain_Filter %>
diff --git a/templates/SilverStripe/CMS/Controllers/Includes/CMSPagesController_Content.ss b/templates/SilverStripe/CMS/Controllers/Includes/CMSPagesController_Content.ss index 10f68324..630747b7 100644 --- a/templates/SilverStripe/CMS/Controllers/Includes/CMSPagesController_Content.ss +++ b/templates/SilverStripe/CMS/Controllers/Includes/CMSPagesController_Content.ss @@ -1,9 +1,9 @@
-
+
<% include SilverStripe\\Admin\\CMSBreadcrumbs %> - <% include SilverStripe\\CMS\\Controllers\\CMSMain_Filter %> + <% include SilverStripe\\CMS\\Controllers\\CMSMain_Filter %>
From 199f83775ce10a3f7dd3cecb993766a11b729fa1 Mon Sep 17 00:00:00 2001 From: Christopher Joe Date: Tue, 17 Oct 2017 12:04:04 +1300 Subject: [PATCH 2/2] BUG standardise "cms-content-header" content with ModalAdmin layout --- .../CMS/Controllers/Includes/CMSMain_Content.ss | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Content.ss b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Content.ss index 67807e0f..63b3fae1 100644 --- a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Content.ss +++ b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Content.ss @@ -2,9 +2,11 @@ $Tools
-
- - <% include SilverStripe\\Admin\\CMSBreadcrumbs %> +
+
+ + <% include SilverStripe\\Admin\\CMSBreadcrumbs %> +