1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-02 23:48:47 +00:00

[system repo admin] fix, improvement, supplement, clean

This commit is contained in:
llj
2016-06-07 17:32:01 +08:00
committed by lian
parent a767aeb3d8
commit 8c2e16ca36
29 changed files with 615 additions and 1153 deletions

View File

@@ -11,6 +11,7 @@ define([
id: "system-library",
tabNavTemplate: _.template($("#libraries-tabnav-tmpl").html()),
template: _.template($("#system-library-tmpl").html()),
itemTemplate: _.template($("#system-library-item-tmpl").html()),
@@ -20,8 +21,10 @@ define([
},
render: function() {
var data = {'cur_tab': 'system',};
this.$el.html(this.template(data));
var $tabnav = $(this.tabNavTemplate({'cur_tab': 'system'}));
this.$el.append($tabnav);
this.$el.append(this.template());
this.$table = this.$('table');
this.$tableBody = $('tbody', this.$table);
this.$loadingTip = this.$('.loading-tip');