From 7b1c275deef60122d2e9d2e9e74988711326bef2 Mon Sep 17 00:00:00 2001 From: Victor Woeltjen Date: Thu, 4 Dec 2014 12:32:35 -0800 Subject: [PATCH] [Layout] Use refactored switcher in Edit Update templates for Edit mode to reflect simplifications to the view switcher introduced to support its use on Layouts, transitioned for WTD-535. --- platform/commonUI/edit/bundle.json | 8 ++++---- .../commonUI/edit/res/templates/edit-object.html | 16 ++++++++-------- .../commonUI/edit/res/templates/topbar-edit.html | 16 +++++++++------- .../res/templates/containers/accordion.html | 2 +- 4 files changed, 22 insertions(+), 20 deletions(-) diff --git a/platform/commonUI/edit/bundle.json b/platform/commonUI/edit/bundle.json index df6732ceaa..8e4ec2e18a 100644 --- a/platform/commonUI/edit/bundle.json +++ b/platform/commonUI/edit/bundle.json @@ -63,10 +63,6 @@ } ], "templates": [ - { - "key": "topbar-edit", - "templateUrl": "templates/topbar-edit.html" - }, { "key": "edit-library", "templateUrl": "templates/library.html" @@ -88,6 +84,10 @@ "templateUrl": "templates/elements.html", "uses": [ "composition" ], "gestures": [ "drop" ] + }, + { + "key": "topbar-edit", + "templateUrl": "templates/topbar-edit.html" } ] } diff --git a/platform/commonUI/edit/res/templates/edit-object.html b/platform/commonUI/edit/res/templates/edit-object.html index 82267f7c0b..c017759cf1 100644 --- a/platform/commonUI/edit/res/templates/edit-object.html +++ b/platform/commonUI/edit/res/templates/edit-object.html @@ -1,22 +1,23 @@ - - - + +
- +
- \ No newline at end of file diff --git a/platform/commonUI/edit/res/templates/topbar-edit.html b/platform/commonUI/edit/res/templates/topbar-edit.html index 54a6101d12..cd8bb6ed12 100644 --- a/platform/commonUI/edit/res/templates/topbar-edit.html +++ b/platform/commonUI/edit/res/templates/topbar-edit.html @@ -1,17 +1,19 @@
- +
- - + + + -
\ No newline at end of file diff --git a/platform/commonUI/general/res/templates/containers/accordion.html b/platform/commonUI/general/res/templates/containers/accordion.html index c39719f77d..deac7d0edb 100644 --- a/platform/commonUI/general/res/templates/containers/accordion.html +++ b/platform/commonUI/general/res/templates/containers/accordion.html @@ -3,7 +3,7 @@ {{container.title}}