1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-08-31 14:42:10 +00:00

new admin devices page;

This commit is contained in:
lian
2016-04-23 18:07:09 +08:00
parent b3911c5081
commit bc2828969d
29 changed files with 2391 additions and 31 deletions

View File

@@ -18,6 +18,12 @@ require.config({
'jquery'
],
exports: 'Backbone'
},
'backbone.paginator': {
deps: [
'backbone'
],
exports: 'BackbonePaginator'
}
},
paths: {
@@ -46,6 +52,7 @@ require.config({
underscore: 'lib/underscore',
backbone: 'lib/backbone',
'backbone.paginator': 'lib/backbone.paginator',
text: 'lib/text'
}
});
@@ -156,6 +163,8 @@ define([
case 'space_and_traffic': return siteRoot + 'ajax/space_and_traffic/';
// sysadmin
case 'sysinfo': return siteRoot + 'api/v2.1/admin/sysinfo/';
case 'admin-devices': return siteRoot + 'api/v2.1/admin/devices/';
case 'admin-device-errors': return siteRoot + 'api/v2.1/admin/device-errors/';
}
},