1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-01 15:09:14 +00:00

redesigned side nav; removed 'top group nav'

This commit is contained in:
llj
2015-11-21 15:29:42 +08:00
parent 93f98bce15
commit e5c5c2b9e7
11 changed files with 123 additions and 386 deletions

View File

@@ -18,7 +18,6 @@ define([
initialize: function(options) {
this.$sideNav = $('#org-side-nav');
this.$reposDiv = $('#organization-repos');
this.$table = $('#organization-repos table');
this.$tableHead = $('thead', this.$table);
@@ -99,7 +98,6 @@ define([
},
showRepoList: function() {
this.$sideNav.show();
this.dirView.hide();
this.$reposDiv.show();
var $loadingTip = this.$loadingTip;
@@ -133,7 +131,6 @@ define([
},
showDir: function(repo_id, path) {
this.$sideNav.show();
var path = path || '/';
this.hideRepoList();
this.dirView.showDir('org', repo_id, path);
@@ -177,7 +174,6 @@ define([
},
hide: function() {
this.$sideNav.hide();
this.hideRepoList();
this.$emptyTip.hide();
this.dirView.hide();