Free cookie consent management tool by TermsFeed Policy Generator

source: stable/HeuristicLab.Services.WebApp.Maintenance/3.3/maintenance.js @ 13133

Last change on this file since 13133 was 12761, checked in by dglaser, 9 years ago

#2429: Worked on the maintenance WebApp plugin:

  • Space Usage Page: Displays the number of rows and allocated disk space for every database table
  • Plugin Page: Shows unused plugins and provides functionality to delete all and specific plugins
  • FactTask Page: Allows to aggregate all Job Tasks to a single task for a given job or jobs within an selected time period
  • FactClientInfo Page: Allows to aggregate consecutive FactClientInfo entries with the same state and isallowedtocalculate flag
File size: 1.4 KB
Line 
1var appMaintenancePlugin = app.registerPlugin('maintenance');
2(function () {
3    var plugin = appMaintenancePlugin;
4    plugin.dependencies = ['ngResource', 'ui.knob', 'ui.bootstrap', 'tableSort'];
5    plugin.files = [
6        'WebApp/services/spaceUsageService.js',
7        'WebApp/services/pluginService.js',
8        'WebApp/services/facttaskService.js',
9        'WebApp/services/factclientinfoService.js',
10        'WebApp/plugin/pluginCtrl.js',
11        'WebApp/facttask/facttaskCtrl.js',
12        'WebApp/factclientinfo/factclientinfoCtrl.js',
13        'WebApp/spaceUsage/spaceUsageCtrl.js'
14    ];
15    plugin.view = 'WebApp/spaceUsage/spaceUsage.cshtml';
16    plugin.controller = 'app.maintenance.spaceUsageCtrl';
17    plugin.routes = [
18        new Route('spaceusage', 'WebApp/spaceUsage/spaceUsage.cshtml', 'app.maintenance.spaceUsageCtrl'),
19        new Route('facttask', 'WebApp/facttask/facttask.cshtml', 'app.maintenance.facttaskCtrl'),
20        new Route('factclientinfo', 'WebApp/factclientinfo/factclientinfo.cshtml', 'app.maintenance.factclientinfoCtrl'),
21        new Route('plugin', 'WebApp/plugin/plugin.cshtml', 'app.maintenance.pluginCtrl')
22    ];
23    var menu = app.getMenu();
24    var section = menu.getSection('Administration', -1);
25    section.addEntry({
26        name: 'Maintenance',
27        route: '#/maintenance',
28        icon: 'glyphicon glyphicon-cog',
29        entries: []
30    });
31})();
32
Note: See TracBrowser for help on using the repository browser.