Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2522_RefactorPluginInfrastructure/HeuristicLab.Services.WebApp.Statistics/3.3/statistics.js @ 16189

Last change on this file since 16189 was 15973, checked in by gkronber, 7 years ago

#2522: merged trunk changes from r13402:15972 to branch resolving conflicts where necessary

File size: 2.4 KB
RevLine 
[12477]1var appStatisticsPlugin = app.registerPlugin('statistics');
2(function () {
3    var plugin = appStatisticsPlugin;
[15973]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
Note: See TracBrowser for help on using the repository browser.