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:
@@ -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/';
|
||||
}
|
||||
},
|
||||
|
||||
|
Reference in New Issue
Block a user