Last change
on this file since 12675 was
12563,
checked in by ascheibe, 9 years ago
|
#2394 merged r12428, r12429, r12430, r12435, r12442, r12443, r12445, r12514, r12517, r12519, r12520, r12521, r12523, r12532, r12542, r12546, r12552, r12553, r12556, r12557, r12559, r12561, r12146, r12457 into stable
|
File size:
961 bytes
|
Rev | Line | |
---|
[12428] | 1 | var appStatusPlugin = app.registerPlugin('status');
|
---|
| 2 | (function () {
|
---|
| 3 | var plugin = appStatusPlugin;
|
---|
[12563] | 4 | plugin.dependencies = ['ngResource', 'ui.knob', 'ui.bootstrap', 'tableSort'];
|
---|
[12428] | 5 | plugin.files = [
|
---|
| 6 | 'WebApp/status.css',
|
---|
| 7 | 'WebApp/services/statusService.js',
|
---|
| 8 | 'WebApp/status/statusCtrl.js',
|
---|
| 9 | 'WebApp/history/historyCtrl.js'
|
---|
| 10 | ];
|
---|
| 11 | plugin.view = 'WebApp/status/status.cshtml';
|
---|
| 12 | plugin.controller = 'app.status.ctrl';
|
---|
| 13 | plugin.routes = [
|
---|
| 14 | new Route('history', 'WebApp/history/history.cshtml', 'app.status.historyCtrl')
|
---|
| 15 | ];
|
---|
| 16 | var menu = app.getMenu();
|
---|
[12563] | 17 | var section = menu.getSection('Menu', 1);
|
---|
[12428] | 18 | section.addEntry({
|
---|
| 19 | name: 'Status',
|
---|
| 20 | route: '#/status',
|
---|
| 21 | icon: 'glyphicon glyphicon-dashboard',
|
---|
| 22 | entries: [{
|
---|
| 23 | name: 'History',
|
---|
| 24 | route: '#/status/history',
|
---|
| 25 | icon: 'glyphicon glyphicon-stats'
|
---|
| 26 | }]
|
---|
| 27 | });
|
---|
| 28 | })();
|
---|
| 29 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.