Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HiveProjectManagement/HeuristicLab.Services.WebApp.Statistics/3.3/statistics.js @ 15552

Last change on this file since 15552 was 14820, checked in by jkarder, 8 years ago

#2743: worked on web app

  • added sorting functionality to some tables
File size: 2.4 KB
Line 
1var appStatisticsPlugin = app.registerPlugin('statistics');
2(function () {
3    var plugin = appStatisticsPlugin;
4    plugin.dependencies = ['ngResource', 'ui.knob', 'ui.bootstrap', 'ngFitText', 'tableSort'];
5    plugin.files = [
6        'WebApp/statistics.css',
7        'WebApp/services/statisticsService.js',
8        'WebApp/services/clientService.js',
9        'WebApp/services/exceptionService.js',
10        'WebApp/services/groupService.js',
11        'WebApp/services/jobService.js',
12        'WebApp/services/taskService.js',
13        'WebApp/services/userService.js',
14        'WebApp/jobs/jobsCtrl.js',
15        'WebApp/jobs/details/jobDetailsCtrl.js',
16        'WebApp/jobs/details/jobTaskDetailsDialogCtrl.js',
17        'WebApp/clients/clientsCtrl.js',
18        'WebApp/clients/details/clientDetailsCtrl.js',
19        'WebApp/clients/details/clientTaskDetailsDialogCtrl.js',
20        'WebApp/users/usersCtrl.js',
21        'WebApp/users/details/userDetailsCtrl.js',
22        'WebApp/groups/groupsCtrl.js',
23        'WebApp/groups/details/groupDetailsCtrl.js',
24        'WebApp/exceptions/exceptionsCtrl.js',
25        'WebApp/exceptions/exceptionDetailsDialogCtrl.js'
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'),
31        new Route('jobs/:id', 'WebApp/jobs/details/jobDetails.cshtml', 'app.statistics.jobDetailsCtrl'),
32        new Route('clients', 'WebApp/clients/clients.cshtml', 'app.statistics.clientsCtrl'),
33        new Route('clients/:id', 'WebApp/clients/details/clientDetails.cshtml', 'app.statistics.clientDetailsCtrl'),
34        new Route('users', 'WebApp/users/users.cshtml', 'app.statistics.usersCtrl'),
35        new Route('users/:id', 'WebApp/users/details/userDetails.cshtml', 'app.statistics.userDetailsCtrl'),
36        new Route('groups', 'WebApp/groups/groups.cshtml', 'app.statistics.groupsCtrl'),
37        new Route('groups/:id', 'WebApp/groups/details/groupDetails.cshtml', 'app.statistics.groupDetailsCtrl'),
38        new Route('exceptions', 'WebApp/exceptions/exceptions.cshtml', 'app.statistics.exceptionsCtrl')
39    ];
40    var menu = app.getMenu();
41    var section = menu.getSection('Menu', 1);
42    section.addEntry({
43        name: 'Statistics',
44        route: '#/statistics',
45        icon: 'glyphicon glyphicon-stats',
46        entries: []
47    });
48})();
49
Note: See TracBrowser for help on using the repository browser.