[12477] | 1 | var appStatisticsPlugin = app.registerPlugin('statistics');
|
---|
| 2 | (function () {
|
---|
| 3 | var plugin = appStatisticsPlugin;
|
---|
[14820] | 4 | plugin.dependencies = ['ngResource', 'ui.knob', 'ui.bootstrap', 'ngFitText', 'tableSort'];
|
---|
[12477] | 5 | plugin.files = [
|
---|
[12516] | 6 | 'WebApp/statistics.css',
|
---|
[12477] | 7 | 'WebApp/services/statisticsService.js',
|
---|
[12551] | 8 | 'WebApp/services/clientService.js',
|
---|
| 9 | 'WebApp/services/exceptionService.js',
|
---|
| 10 | 'WebApp/services/groupService.js',
|
---|
[12516] | 11 | 'WebApp/services/jobService.js',
|
---|
| 12 | 'WebApp/services/taskService.js',
|
---|
| 13 | 'WebApp/services/userService.js',
|
---|
[12477] | 14 | 'WebApp/jobs/jobsCtrl.js',
|
---|
[12516] | 15 | 'WebApp/jobs/details/jobDetailsCtrl.js',
|
---|
| 16 | 'WebApp/jobs/details/jobTaskDetailsDialogCtrl.js',
|
---|
[12477] | 17 | 'WebApp/clients/clientsCtrl.js',
|
---|
[12516] | 18 | 'WebApp/clients/details/clientDetailsCtrl.js',
|
---|
| 19 | 'WebApp/clients/details/clientTaskDetailsDialogCtrl.js',
|
---|
[12477] | 20 | 'WebApp/users/usersCtrl.js',
|
---|
[12525] | 21 | 'WebApp/users/details/userDetailsCtrl.js',
|
---|
| 22 | 'WebApp/groups/groupsCtrl.js',
|
---|
[12551] | 23 | 'WebApp/groups/details/groupDetailsCtrl.js',
|
---|
| 24 | 'WebApp/exceptions/exceptionsCtrl.js',
|
---|
| 25 | 'WebApp/exceptions/exceptionDetailsDialogCtrl.js'
|
---|
[12477] | 26 | ];
|
---|
| 27 | plugin.view = 'WebApp/jobs/jobs.cshtml';
|
---|
| 28 | plugin.controller = 'app.statistics.jobsCtrl';
|
---|
| 29 | plugin.routes = [
|
---|
| 30 | new Route('jobs', 'WebApp/jobs/jobs.cshtml', 'app.statistics.jobsCtrl'),
|
---|
[12516] | 31 | new Route('jobs/:id', 'WebApp/jobs/details/jobDetails.cshtml', 'app.statistics.jobDetailsCtrl'),
|
---|
[12477] | 32 | new Route('clients', 'WebApp/clients/clients.cshtml', 'app.statistics.clientsCtrl'),
|
---|
[12516] | 33 | new Route('clients/:id', 'WebApp/clients/details/clientDetails.cshtml', 'app.statistics.clientDetailsCtrl'),
|
---|
| 34 | new Route('users', 'WebApp/users/users.cshtml', 'app.statistics.usersCtrl'),
|
---|
[12525] | 35 | new Route('users/:id', 'WebApp/users/details/userDetails.cshtml', 'app.statistics.userDetailsCtrl'),
|
---|
| 36 | new Route('groups', 'WebApp/groups/groups.cshtml', 'app.statistics.groupsCtrl'),
|
---|
[12551] | 37 | new Route('groups/:id', 'WebApp/groups/details/groupDetails.cshtml', 'app.statistics.groupDetailsCtrl'),
|
---|
| 38 | new Route('exceptions', 'WebApp/exceptions/exceptions.cshtml', 'app.statistics.exceptionsCtrl')
|
---|
[12477] | 39 | ];
|
---|
| 40 | var menu = app.getMenu();
|
---|
[12560] | 41 | var section = menu.getSection('Menu', 1);
|
---|
[12477] | 42 | section.addEntry({
|
---|
| 43 | name: 'Statistics',
|
---|
[12525] | 44 | route: '#/statistics',
|
---|
[12477] | 45 | icon: 'glyphicon glyphicon-stats',
|
---|
| 46 | entries: []
|
---|
| 47 | });
|
---|
| 48 | })();
|
---|
| 49 |
|
---|