From cfd299562ef9f38d49c80c5034c84c81dd84e69d Mon Sep 17 00:00:00 2001 From: Per Ploug Date: Fri, 5 Jul 2013 12:58:36 +0200 Subject: [PATCH] rename umb leftcol to umb navigation --- src/Umbraco.Web.UI.Client/gruntFile.js | 3 +- ...irective.js => umbnavigation.directive.js} | 6 +- src/Umbraco.Web.UI.Client/src/index.html | 2 +- ...mb-leftcolumn.html => umb-navigation.html} | 170 +++++++++--------- .../App_Plugins/property editors/mntp/mntp.js | 2 +- .../umbraco/Views/Default.cshtml | 3 +- src/Umbraco.Web.UI/umbraco/index.html | 4 +- 7 files changed, 96 insertions(+), 94 deletions(-) rename src/Umbraco.Web.UI.Client/src/common/directives/{umbleftcolumn.directive.js => umbnavigation.directive.js} (60%) rename src/Umbraco.Web.UI.Client/src/views/directives/{umb-leftcolumn.html => umb-navigation.html} (97%) diff --git a/src/Umbraco.Web.UI.Client/gruntFile.js b/src/Umbraco.Web.UI.Client/gruntFile.js index 0a48b63e3f..406314e921 100644 --- a/src/Umbraco.Web.UI.Client/gruntFile.js +++ b/src/Umbraco.Web.UI.Client/gruntFile.js @@ -112,9 +112,8 @@ module.exports = function (grunt) { mocks: { files: [{ dest: '<%= distdir %>/js', src : '*.js', expand: true, cwd: 'src/common/mocks/' }] }, - vs: { - files: [{ dest: '<%= vsdir %>/js', src : '**', expand: true, cwd: '<%= distdir %>/js/' }] + files: [{ dest: '<%= vsdir %>/', src : '**', expand: true, cwd: '<%= distdir %>/' }] }, packages: { files: [{ dest: '<%= vsdir %>/../App_Plugins', src : '**', expand: true, cwd: 'src/packages/' }] diff --git a/src/Umbraco.Web.UI.Client/src/common/directives/umbleftcolumn.directive.js b/src/Umbraco.Web.UI.Client/src/common/directives/umbnavigation.directive.js similarity index 60% rename from src/Umbraco.Web.UI.Client/src/common/directives/umbleftcolumn.directive.js rename to src/Umbraco.Web.UI.Client/src/common/directives/umbnavigation.directive.js index 0c74915fa8..e0c0e34ac2 100644 --- a/src/Umbraco.Web.UI.Client/src/common/directives/umbleftcolumn.directive.js +++ b/src/Umbraco.Web.UI.Client/src/common/directives/umbnavigation.directive.js @@ -1,14 +1,14 @@ /** * @ngdoc directive -* @name umbraco.directive:leftColumn +* @name umbraco.directive:umbNavigation * @restrict E **/ function leftColumnDirective() { return { restrict: "E", // restrict to an element replace: true, // replace the html element with the template - templateUrl: 'views/directives/umb-leftcolumn.html' + templateUrl: 'views/directives/umb-navigation.html' }; } -angular.module('umbraco.directives').directive("umbLeftColumn", leftColumnDirective); +angular.module('umbraco.directives').directive("umbNavigation", leftColumnDirective); diff --git a/src/Umbraco.Web.UI.Client/src/index.html b/src/Umbraco.Web.UI.Client/src/index.html index bac166cb41..f8f4f79785 100644 --- a/src/Umbraco.Web.UI.Client/src/index.html +++ b/src/Umbraco.Web.UI.Client/src/index.html @@ -12,7 +12,7 @@
- +
diff --git a/src/Umbraco.Web.UI.Client/src/views/directives/umb-leftcolumn.html b/src/Umbraco.Web.UI.Client/src/views/directives/umb-navigation.html similarity index 97% rename from src/Umbraco.Web.UI.Client/src/views/directives/umb-leftcolumn.html rename to src/Umbraco.Web.UI.Client/src/views/directives/umb-navigation.html index f9d0e62c04..224cf16ecf 100644 --- a/src/Umbraco.Web.UI.Client/src/views/directives/umb-leftcolumn.html +++ b/src/Umbraco.Web.UI.Client/src/views/directives/umb-navigation.html @@ -1,85 +1,85 @@ -
-
- -
- - - - -
+
+
+ +
+ + + + +
diff --git a/src/Umbraco.Web.UI/App_Plugins/property editors/mntp/mntp.js b/src/Umbraco.Web.UI/App_Plugins/property editors/mntp/mntp.js index fabaea3b8b..7f8681adba 100644 --- a/src/Umbraco.Web.UI/App_Plugins/property editors/mntp/mntp.js +++ b/src/Umbraco.Web.UI/App_Plugins/property editors/mntp/mntp.js @@ -12,4 +12,4 @@ angular.module('umbraco') function populate(data){ $scope.model.value = data.selection; } -}); +}); \ No newline at end of file diff --git a/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml b/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml index 824d8f906b..fc3a58858f 100644 --- a/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml +++ b/src/Umbraco.Web.UI/umbraco/Views/Default.cshtml @@ -48,7 +48,8 @@
- + +
diff --git a/src/Umbraco.Web.UI/umbraco/index.html b/src/Umbraco.Web.UI/umbraco/index.html index d715deb792..4dc83db4f3 100644 --- a/src/Umbraco.Web.UI/umbraco/index.html +++ b/src/Umbraco.Web.UI/umbraco/index.html @@ -12,15 +12,17 @@
- +
+
+