diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/umbeditor.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/umbeditor.directive.js
index 255ebf1e27..a089edba2f 100644
--- a/src/Umbraco.Web.UI.Client/src/common/directives/umbeditor.directive.js
+++ b/src/Umbraco.Web.UI.Client/src/common/directives/umbeditor.directive.js
@@ -8,19 +8,18 @@ angular.module("umbraco.directives")
.directive('umbEditor', function (umbPropEditorHelper) {
return {
scope: {
- view: "@",
- alias: "@",
- config: "=",
- value: "="
+ model: "="
},
restrict: 'E',
replace: true,
templateUrl: 'views/directives/umb-editor.html',
link: function (scope, element, attrs, ctrl) {
- if(!scope.alias){
- scope.alias = Math.random().toString(36).slice(2);
+
+ if(!scope.model.alias){
+ scope.model.alias = Math.random().toString(36).slice(2);
}
- scope.propertyEditorView = umbPropEditorHelper.getViewPath(scope.view);
+
+ scope.propertyEditorView = umbPropEditorHelper.getViewPath(scope.model.view);
}
};
});
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/umbproperty.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/umbproperty.directive.js
index 7b34cd3761..d7642cde16 100644
--- a/src/Umbraco.Web.UI.Client/src/common/directives/umbproperty.directive.js
+++ b/src/Umbraco.Web.UI.Client/src/common/directives/umbproperty.directive.js
@@ -16,6 +16,5 @@ angular.module("umbraco.directives")
link: function (scope, element, attrs, ctrl) {
}
-
};
});
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI.Client/src/common/services/_module.js b/src/Umbraco.Web.UI.Client/src/common/services/_module.js
index 580677806e..d2311fab63 100644
--- a/src/Umbraco.Web.UI.Client/src/common/services/_module.js
+++ b/src/Umbraco.Web.UI.Client/src/common/services/_module.js
@@ -1 +1 @@
-angular.module("umbraco.services", ["umbraco.security", "umbraco.resources"]);
\ No newline at end of file
+angular.module("umbraco.services", ["umbraco.security", "umbraco.resources"]);
diff --git a/src/Umbraco.Web.UI.Client/src/less/forms.less b/src/Umbraco.Web.UI.Client/src/less/forms.less
index 690a1c5398..08823cc322 100644
--- a/src/Umbraco.Web.UI.Client/src/less/forms.less
+++ b/src/Umbraco.Web.UI.Client/src/less/forms.less
@@ -495,7 +495,6 @@ input[type="checkbox"][readonly] {
}
.add-on:first-child,
.btn:first-child {
- // FYI, `.btn:first-child` accounts for a button group that's prepended
.border-radius(@inputBorderRadius 0 0 @inputBorderRadius);
}
}
diff --git a/src/Umbraco.Web.UI.Client/src/less/main.less b/src/Umbraco.Web.UI.Client/src/less/main.less
index 9956bae4b3..fc89f23f2e 100644
--- a/src/Umbraco.Web.UI.Client/src/less/main.less
+++ b/src/Umbraco.Web.UI.Client/src/less/main.less
@@ -157,9 +157,10 @@ label {
/* FORM GRID */
-.umb-control-group {
+.umb-pane {
padding: 30px 20px;
}
+
.umb-control-group .umb-el-wrap {
padding: 0
}
diff --git a/src/Umbraco.Web.UI.Client/src/views/content/edit.html b/src/Umbraco.Web.UI.Client/src/views/content/edit.html
index 32efa8d5bb..1ac7877c34 100644
--- a/src/Umbraco.Web.UI.Client/src/views/content/edit.html
+++ b/src/Umbraco.Web.UI.Client/src/views/content/edit.html
@@ -34,34 +34,28 @@
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
+
+
-
+
+
+
+
diff --git a/src/Umbraco.Web.UI.Client/src/views/directives/umb-pane.html b/src/Umbraco.Web.UI.Client/src/views/directives/umb-pane.html
new file mode 100644
index 0000000000..6d1e1d2218
--- /dev/null
+++ b/src/Umbraco.Web.UI.Client/src/views/directives/umb-pane.html
@@ -0,0 +1,3 @@
+
+
+
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI.Client/src/views/directives/umb-property.html b/src/Umbraco.Web.UI.Client/src/views/directives/umb-property.html
index 34de8b5807..afb5d702ac 100644
--- a/src/Umbraco.Web.UI.Client/src/views/directives/umb-property.html
+++ b/src/Umbraco.Web.UI.Client/src/views/directives/umb-property.html
@@ -1,4 +1,4 @@
-
diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/datepicker/datepicker.controller.js b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/datepicker/datepicker.controller.js
index db5699c8a1..9757917895 100644
--- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/datepicker/datepicker.controller.js
+++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/datepicker/datepicker.controller.js
@@ -8,7 +8,7 @@ angular.module("umbraco").controller("Umbraco.Editors.DatepickerController",
//The Datepicker js and css files are available and all components are ready to use.
// Get the id of the datepicker button that was clicked
- var pickerId = $scope.alias;
+ var pickerId = $scope.model.alias;
// Open the datepicker and add a changeDate eventlistener
$("#" + pickerId).datepicker({
@@ -16,7 +16,7 @@ angular.module("umbraco").controller("Umbraco.Editors.DatepickerController",
autoclose: true
}).on("changeDate", function (e) {
// When a date is clicked the date is stored in model.value as a ISO 8601 date
- $scope.value = e.date.toISOString();
+ $scope.model.value = e.date.toISOString();
});
});
diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/datepicker/datepicker.html b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/datepicker/datepicker.html
index cf568d7be1..7fd2d73376 100644
--- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/datepicker/datepicker.html
+++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/datepicker/datepicker.html
@@ -1,6 +1,6 @@
-
-
+
+
\ No newline at end of file
diff --git a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/dropdown/dropdown.html b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/dropdown/dropdown.html
index 84f050b59c..09cab4c2d1 100644
--- a/src/Umbraco.Web.UI.Client/src/views/propertyeditors/dropdown/dropdown.html
+++ b/src/Umbraco.Web.UI.Client/src/views/propertyeditors/dropdown/dropdown.html
@@ -1,4 +1,4 @@
-