Add a simple hierarchical treatment for box/list view.

This commit is contained in:
Jeromy Carriere
2014-10-10 09:58:56 -04:00
parent 707ff3c039
commit 181ba8367c
2 changed files with 12 additions and 7 deletions

View File

@@ -46,6 +46,10 @@ k8sApp.controller('PodCtrl', function ($scope, $http, $routeParams) {
function GroupController() {}
GroupController.prototype.resetGroupLayout = function(group) {
delete group.settings;
};
GroupController.prototype.handlePath = function(path) {
var parts = path.split("/")
// split leaves an empty string at the beginning.