Restore WebUI breadcrumbs

- Update paths to svg images
 - Restore sections concept
 - Tested with local cluster
This commit is contained in:
Patrick Reilly
2015-05-15 11:18:17 -07:00
parent 967495659b
commit 75d062b89d
23 changed files with 1013 additions and 334 deletions

View File

@@ -15,8 +15,10 @@
'$scope',
'$filter',
'$location',
'menu',
'$rootScope',
function($scope, $filter, $location, $rootScope) {
function($scope, $filter, $location, menu, $rootScope) {
$scope.menu = menu;
$scope.$watch('page', function(newValue, oldValue) {
if (typeof newValue !== 'undefined') {
$location.path(newValue);
@@ -31,7 +33,7 @@
id: 'groupsView'
},
{category: 'dashboard', name: 'Pods', value: '/dashboard/pods', id: 'podsView'},
{category: 'dashboard', name: 'Minions', value: '/dashboard/minions', id: 'minionsView'},
{category: 'dashboard', name: 'Nodes', value: '/dashboard/minions', id: 'minionsView'},
{
category: 'dashboard',
name: 'Replication Controllers',