From 59b2e293cfaa274875024dfaab42a5bd01236197 Mon Sep 17 00:00:00 2001 From: Paul Clarke Date: Fri, 9 Sep 2016 13:40:07 +1200 Subject: [PATCH 1/3] Convert to new styles to use .panel and .toolbar --- .../SilverStripe/CMS/Controllers/Includes/CMSMain_EditForm.ss | 2 +- .../SilverStripe/CMS/Controllers/Includes/CMSMain_Tools.ss | 2 +- .../CMS/Controllers/Includes/CMSPageAddController_Content.ss | 2 +- .../Includes/CMSPagesController_ContentToolActions.ss | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_EditForm.ss b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_EditForm.ss index 0468be07..5afe0d65 100644 --- a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_EditForm.ss +++ b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_EditForm.ss @@ -1,6 +1,6 @@
-
+
<% if $Message %>

$Message

<% else %> diff --git a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Tools.ss b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Tools.ss index 8f8825aa..d7c24730 100644 --- a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Tools.ss +++ b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Tools.ss @@ -1,5 +1,5 @@
-
+
$SearchForm
diff --git a/templates/SilverStripe/CMS/Controllers/Includes/CMSPageAddController_Content.ss b/templates/SilverStripe/CMS/Controllers/Includes/CMSPageAddController_Content.ss index b81ba27b..fde670f0 100644 --- a/templates/SilverStripe/CMS/Controllers/Includes/CMSPageAddController_Content.ss +++ b/templates/SilverStripe/CMS/Controllers/Includes/CMSPageAddController_Content.ss @@ -13,7 +13,7 @@
-
+
<% if $Message %>

$Message

<% else %> diff --git a/templates/SilverStripe/CMS/Controllers/Includes/CMSPagesController_ContentToolActions.ss b/templates/SilverStripe/CMS/Controllers/Includes/CMSPagesController_ContentToolActions.ss index d8f51017..01436c6e 100644 --- a/templates/SilverStripe/CMS/Controllers/Includes/CMSPagesController_ContentToolActions.ss +++ b/templates/SilverStripe/CMS/Controllers/Includes/CMSPagesController_ContentToolActions.ss @@ -1,4 +1,4 @@ -
+
<% _t('CMSMain.AddNewButton', 'Add new') %> From 1158520f40fd30290336e8249c06b9e334b5f24d Mon Sep 17 00:00:00 2001 From: Paul Clarke Date: Thu, 15 Sep 2016 15:41:04 +1200 Subject: [PATCH 2/3] Use consistent panel styles, apply .panel styles --- .../SilverStripe/CMS/Controllers/Includes/CMSMain_Tools.ss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Tools.ss b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Tools.ss index d7c24730..77a291ba 100644 --- a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Tools.ss +++ b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_Tools.ss @@ -1,10 +1,10 @@
-
+
$SearchForm
-
+
<%-- Lazy-loaded via ajax --%>
From c42a20ae051f59c7fcef5e5b824e817b90424843 Mon Sep 17 00:00:00 2001 From: Paul Clarke Date: Fri, 16 Sep 2016 15:09:17 +1200 Subject: [PATCH 3/3] Update preview classes as area broken --- .../CMS/Controllers/Includes/CMSMain_PreviewPanel.ss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_PreviewPanel.ss b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_PreviewPanel.ss index ba3bbca1..7c112d3d 100644 --- a/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_PreviewPanel.ss +++ b/templates/SilverStripe/CMS/Controllers/Includes/CMSMain_PreviewPanel.ss @@ -1,6 +1,6 @@
<%t CMSPageHistoryController_versions_ss.PREVIEW 'Website preview' %>
-
+