Merge pull request #45 from savoirfairelinux/banshoisation
Banshoisation
This commit is contained in:
commit
42e6eb6981
@ -82,11 +82,11 @@ module.exports = function (grunt) {
|
||||
}
|
||||
},
|
||||
|
||||
// Minify and concatenate adagios in one file
|
||||
// Minify and concatenate bansho in one file
|
||||
uglify: {
|
||||
compress: {
|
||||
files: [{
|
||||
'<%= project.build %>/js/adagios.min.js' : [
|
||||
'<%= project.build %>/js/bansho.min.js' : [
|
||||
'<%= project.app %>/app.js',
|
||||
'<%= project.app %>/app.js',
|
||||
'<%= project.app %>/components/config/config.js',
|
||||
@ -173,7 +173,7 @@ module.exports = function (grunt) {
|
||||
'<%= project.build %>/templates/service/service.js': '<%= project.app %>/templates/service/service.js'
|
||||
},
|
||||
{
|
||||
'<%= project.build %>/js/adagios.min.js' : [
|
||||
'<%= project.build %>/js/bansho.min.js' : [
|
||||
'<%= project.build %>/app.js',
|
||||
'<%= project.build %>/components/config/config.js',
|
||||
'<%= project.build %>/components/utils/promise_manager.js',
|
||||
@ -261,7 +261,7 @@ module.exports = function (grunt) {
|
||||
'<%= project.build %>/templates/service/service.js': '<%= project.app %>/templates/service/service.js'
|
||||
},
|
||||
{
|
||||
'<%= project.build %>/js/adagios.min.js' : [
|
||||
'<%= project.build %>/js/bansho.min.js' : [
|
||||
'<%= project.build %>/app.js',
|
||||
'<%= project.build %>/components/config/config.js',
|
||||
'<%= project.build %>/components/utils/promise_manager.js',
|
||||
|
@ -1,6 +1,6 @@
|
||||
================
|
||||
Adagios FrontEnd
|
||||
================
|
||||
======
|
||||
Bansho
|
||||
======
|
||||
|
||||
|
||||
|
||||
@ -10,8 +10,8 @@ Installation
|
||||
::
|
||||
|
||||
sudo apt-get install npm nodejs-legacy ruby
|
||||
git clone https://github.com/titilambert/adagios-frontend.git
|
||||
cd adagios-frontend
|
||||
git clone https://github.com/savoirfairelinux/bansho
|
||||
cd bansho
|
||||
npm install
|
||||
gem install sass
|
||||
|
||||
@ -52,7 +52,7 @@ you already have docker installed) :
|
||||
|
||||
make build
|
||||
make daemon
|
||||
curl http://localhost:8080/app
|
||||
curl http://localhost:8888/app
|
||||
|
||||
You must leave grunt running in the background to automatically compile css
|
||||
and minify/compress js files when source code changes
|
||||
@ -94,7 +94,7 @@ Launch
|
||||
npm start
|
||||
|
||||
|
||||
Now, go on http://127.0.0.1:8080
|
||||
Now, go on http://127.0.0.1:8000/app/
|
||||
|
||||
Contributing
|
||||
============
|
||||
@ -105,7 +105,7 @@ and then open a pull-request to this repo's master branch.
|
||||
::
|
||||
|
||||
<fork this repo on github>
|
||||
git clone your-repo/adagios-frontend
|
||||
git clone your-repo/bansho
|
||||
git checkout -b dev-new-feature-xx
|
||||
git commit ...
|
||||
git push origin dev-new-feature-xx
|
||||
@ -115,7 +115,7 @@ Good practices before opening a pull request:
|
||||
|
||||
- Run tests with `npm test`
|
||||
- Lint your .js files with `grunt jslint`
|
||||
- Make sure your directives are prefixed with `adg`
|
||||
- Make sure your directives are prefixed with `bansho`
|
||||
- Make sure your controllers are suffixed with `Ctrl`
|
||||
- Resolve merge conflicts locally
|
||||
|
28
app/app.js
28
app/app.js
@ -4,28 +4,28 @@ angular.element(document).ready(function () {
|
||||
|
||||
$.get('components/config/config.json', function (data) {
|
||||
|
||||
angular.module('adagios.config').config(['readConfigProvider', function (readConfigProvider) {
|
||||
angular.module('bansho.config').config(['readConfigProvider', function (readConfigProvider) {
|
||||
readConfigProvider.loadJSON(data);
|
||||
}]);
|
||||
|
||||
angular.bootstrap(document, ['adagios']);
|
||||
angular.bootstrap(document, ['bansho']);
|
||||
}, "json");
|
||||
|
||||
});
|
||||
|
||||
angular.module('adagios', [
|
||||
angular.module('bansho', [
|
||||
'ngRoute',
|
||||
'adagios.config',
|
||||
'adagios.utils.promiseManager',
|
||||
'adagios.topbar',
|
||||
'adagios.sidebar',
|
||||
'adagios.host',
|
||||
'adagios.service',
|
||||
'adagios.view',
|
||||
'adagios.view.dashboard',
|
||||
'adagios.view.singleTable',
|
||||
'adagios.view.host',
|
||||
'adagios.view.service'
|
||||
'bansho.config',
|
||||
'bansho.utils.promiseManager',
|
||||
'bansho.topbar',
|
||||
'bansho.sidebar',
|
||||
'bansho.host',
|
||||
'bansho.service',
|
||||
'bansho.view',
|
||||
'bansho.view.dashboard',
|
||||
'bansho.view.singleTable',
|
||||
'bansho.view.host',
|
||||
'bansho.view.service'
|
||||
])
|
||||
|
||||
.config(['$routeProvider', function ($routeProvider) {
|
||||
|
@ -5,7 +5,7 @@ function AdagiosConfig(data) {
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
angular.module('adagios.config', [])
|
||||
angular.module('bansho.config', [])
|
||||
|
||||
.provider('readConfig', function ReadConfigProvider() {
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.filters', [])
|
||||
angular.module('bansho.filters', [])
|
||||
|
||||
.filter('timeElapsed', [function () {
|
||||
return function (input) {
|
||||
|
@ -1,9 +1,9 @@
|
||||
<article ng-controller="HostCtrl">
|
||||
<section class="main__content tabpanel" ng-if="data.live && data.config">
|
||||
<adg-host-main></adg-host-main>
|
||||
<adg-host-services-list></adg-host-services-list>
|
||||
<adg-host-load></adg-host-load>
|
||||
<adg-host-cpu></adg-host-cpu>
|
||||
<adg-host-info></adg-host-info>
|
||||
<bansho-host-main></bansho-host-main>
|
||||
<bansho-host-services-list></bansho-host-services-list>
|
||||
<bansho-host-load></bansho-host-load>
|
||||
<bansho-host-cpu></bansho-host-cpu>
|
||||
<bansho-host-info></bansho-host-info>
|
||||
</section>
|
||||
</article>
|
||||
|
@ -1,11 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.host', ['adagios.live',
|
||||
'adagios.host.main',
|
||||
'adagios.host.load',
|
||||
'adagios.host.cpu',
|
||||
'adagios.host.info',
|
||||
'adagios.host.services_list'])
|
||||
angular.module('bansho.host', ['bansho.live',
|
||||
'bansho.host.main',
|
||||
'bansho.host.load',
|
||||
'bansho.host.cpu',
|
||||
'bansho.host.info',
|
||||
'bansho.host.services_list'])
|
||||
|
||||
.value('hostConfig', {})
|
||||
|
||||
@ -22,7 +22,7 @@ angular.module('adagios.host', ['adagios.live',
|
||||
});
|
||||
}])
|
||||
|
||||
.directive('adgHost', ['$http', '$compile', 'hostConfig',
|
||||
.directive('banshoHost', ['$http', '$compile', 'hostConfig',
|
||||
function ($http, $compile, hostConfig) {
|
||||
return {
|
||||
restrict: 'E',
|
||||
@ -32,7 +32,7 @@ angular.module('adagios.host', ['adagios.live',
|
||||
var template = 'components/host/host.html';
|
||||
|
||||
if (!attrs.hostName) {
|
||||
throw new Error('<adg-host> "host-name" attribute must be defined');
|
||||
throw new Error('<bansho-host> "host-name" attribute must be defined');
|
||||
}
|
||||
|
||||
hostConfig.hostName = {};
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.host.cpu', [])
|
||||
angular.module('bansho.host.cpu', [])
|
||||
|
||||
.controller('HostCpuCtrl', ['$scope', 'getObjects', function ($scope, getObjects) {
|
||||
var hostName = $scope.hostName,
|
||||
@ -16,7 +16,7 @@ angular.module('adagios.host.cpu', [])
|
||||
});
|
||||
}])
|
||||
|
||||
.directive('adgHostCpu', function () {
|
||||
.directive('banshoHostCpu', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/host/host_cpu/host_cpu.html'
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.host.info', [])
|
||||
angular.module('bansho.host.info', [])
|
||||
|
||||
.controller('HostInfoCtrl', ['$scope', function ($scope) {
|
||||
$scope.active_checks = ($scope.data.live.active_checks_enabled === '1') ? 'Enabled' : 'Disabled';
|
||||
@ -9,7 +9,7 @@ angular.module('adagios.host.info', [])
|
||||
$scope.flap_detection_enabled = ($scope.data.config.flap_detection_enabled === '1') ? 'Enabled' : 'Disabled';
|
||||
}])
|
||||
|
||||
.directive('adgHostInfo', function () {
|
||||
.directive('banshoHostInfo', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/host/host_info/host_info.html'
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.host.load', [])
|
||||
angular.module('bansho.host.load', [])
|
||||
|
||||
.controller('HostLoadCtrl', ['$scope', 'getObjects', function ($scope, getObjects) {
|
||||
var hostName = $scope.hostName,
|
||||
@ -16,7 +16,7 @@ angular.module('adagios.host.load', [])
|
||||
});
|
||||
}])
|
||||
|
||||
.directive('adgHostLoad', function () {
|
||||
.directive('banshoHostLoad', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/host/host_load/host_load.html'
|
||||
|
@ -1,12 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.host.main', [])
|
||||
angular.module('bansho.host.main', [])
|
||||
|
||||
.controller('HostMainCtrl', ['$scope', function ($scope) {
|
||||
angular.noop();
|
||||
}])
|
||||
|
||||
.directive('adgHostMain', function () {
|
||||
.directive('banshoHostMain', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/host/host_main/host_main.html'
|
||||
|
@ -1,12 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.host.services_list', [])
|
||||
angular.module('bansho.host.services_list', [])
|
||||
|
||||
.controller('HostServicesListCtrl', ['$scope', function ($scope) {
|
||||
angular.noop();
|
||||
}])
|
||||
|
||||
.directive('adgHostServicesList', function () {
|
||||
.directive('banshoHostServicesList', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/host/host_services_list/host_services_list.html'
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.live')
|
||||
angular.module('bansho.live')
|
||||
|
||||
.constant('filterSuffixes', { contains: '__contains',
|
||||
has_field: '__has_field',
|
||||
|
@ -3,7 +3,7 @@
|
||||
describe('In Adagios Live', function () {
|
||||
var $httpBackend;
|
||||
|
||||
beforeEach(module('adagios.live'));
|
||||
beforeEach(module('bansho.live'));
|
||||
|
||||
beforeEach(inject(function (_$httpBackend_) {
|
||||
$httpBackend = _$httpBackend_;
|
||||
|
@ -1,3 +1,3 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.live', []);
|
||||
angular.module('bansho.live', []);
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.live')
|
||||
angular.module('bansho.live')
|
||||
|
||||
.service('getObjects', ['$http', 'hostQueryTransform', 'hostMiddleware', 'serviceMiddleware',
|
||||
function ($http, hostQueryTransform, hostMiddleware, serviceMiddleware) {
|
||||
|
@ -1,8 +1,8 @@
|
||||
<article ng-controller="ServiceCtrl">
|
||||
<h2>Service</h2>
|
||||
<section class="main__content tabpanel" ng-if="data">
|
||||
<adg-service-main></adg-service-main>
|
||||
<adg-service-info></adg-service-info>
|
||||
<adg-service-metrics></adg-service-metrics>
|
||||
<bansho-service-main></bansho-service-main>
|
||||
<bansho-service-info></bansho-service-info>
|
||||
<bansho-service-metrics></bansho-service-metrics>
|
||||
</section>
|
||||
</article>
|
||||
|
@ -1,9 +1,9 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.service', ['adagios.live',
|
||||
'adagios.service.main',
|
||||
'adagios.service.info',
|
||||
'adagios.service.metrics'])
|
||||
angular.module('bansho.service', ['bansho.live',
|
||||
'bansho.service.main',
|
||||
'bansho.service.info',
|
||||
'bansho.service.metrics'])
|
||||
|
||||
.value('serviceConfig', {})
|
||||
|
||||
@ -17,7 +17,7 @@ angular.module('adagios.service', ['adagios.live',
|
||||
});
|
||||
}])
|
||||
|
||||
.directive('adgService', ['$http', '$compile', 'serviceConfig',
|
||||
.directive('banshoService', ['$http', '$compile', 'serviceConfig',
|
||||
function ($http, $compile, serviceConfig) {
|
||||
return {
|
||||
restrict: 'E',
|
||||
@ -27,7 +27,7 @@ angular.module('adagios.service', ['adagios.live',
|
||||
var template = 'components/service/service.html';
|
||||
|
||||
if (!attrs.hostName && !!attrs.description) {
|
||||
throw new Error('<adg-service> "host-name" and "description" attributes must be defined');
|
||||
throw new Error('<bansho-service> "host-name" and "description" attributes must be defined');
|
||||
}
|
||||
|
||||
serviceConfig.hostName = '';
|
||||
|
@ -1,12 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.service.info', [])
|
||||
angular.module('bansho.service.info', [])
|
||||
|
||||
.controller('ServiceInfoCtrl', ['$scope', function ($scope) {
|
||||
$scope.acknowledged = $scope.data[0].acknowledged === "1" ? "Yes" : "No";
|
||||
}])
|
||||
|
||||
.directive('adgServiceInfo', function () {
|
||||
.directive('banshoServiceInfo', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/service/service_info/service_info.html'
|
||||
|
@ -1,12 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.service.main', [])
|
||||
angular.module('bansho.service.main', [])
|
||||
|
||||
.controller('ServiceMainCtrl', ['$scope', function ($scope) {
|
||||
angular.noop();
|
||||
}])
|
||||
|
||||
.directive('adgServiceMain', function () {
|
||||
.directive('banshoServiceMain', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/service/service_main/service_main.html'
|
||||
|
@ -1,12 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.service.metrics', [])
|
||||
angular.module('bansho.service.metrics', [])
|
||||
|
||||
.controller('ServiceMetricsCtrl', ['$scope', function ($scope) {
|
||||
angular.noop();
|
||||
}])
|
||||
|
||||
.directive('adgServiceMetrics', function () {
|
||||
.directive('banshoServiceMetrics', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/service/service_metrics/service_metrics.html'
|
||||
|
@ -1,11 +1,11 @@
|
||||
<div ng-app="adagios.sidebar" class="sidebar" ng-controller="SideBarCtrl">
|
||||
<div class="sidebar" ng-controller="SideBarCtrl">
|
||||
<button class="sidebar__close">
|
||||
<span class="visuallyhidden">Close the sidebar</span>
|
||||
<i class="ico-cancel"></i>
|
||||
</button>
|
||||
|
||||
<header class="sidebar__header">
|
||||
<h1 class="sidebar__appname">ADAGIOS</h1>
|
||||
<h1 class="sidebar__appname">BANSHO</h1>
|
||||
<time class="sidebar__date" datetime="2014-11-24 16:04">24 nov. 16:04</time>
|
||||
</header>
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.sidebar', [])
|
||||
angular.module('bansho.sidebar', [])
|
||||
|
||||
.controller('SideBarCtrl', ['$scope', '$location', function ($scope, $location) {
|
||||
$scope.getClass = function (path) {
|
||||
@ -14,7 +14,7 @@ angular.module('adagios.sidebar', [])
|
||||
};
|
||||
}])
|
||||
|
||||
.directive('adgSidebar', function () {
|
||||
.directive('banshoSidebar', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: "components/sidebar/sidebar.html"
|
||||
|
@ -6,7 +6,7 @@ describe('Sidebar module', function () {
|
||||
$controller,
|
||||
$httpBackend;
|
||||
|
||||
beforeEach(module('adagios.sidebar'));
|
||||
beforeEach(module('bansho.sidebar'));
|
||||
|
||||
beforeEach(inject(function (_$compile_, _$rootScope_, _$controller_, _$httpBackend_) {
|
||||
$compile = _$compile_;
|
||||
@ -31,7 +31,7 @@ describe('Sidebar module', function () {
|
||||
describe('Sidebar directive', function () {
|
||||
|
||||
it('should send a GET request', function () {
|
||||
var element = $compile('<adg-sidebar></adg-sidebar>')($rootScope);
|
||||
var element = $compile('<bansho-sidebar></bansho-sidebar>')($rootScope);
|
||||
$httpBackend.flush();
|
||||
|
||||
expect(element.html()).toBe('<li></li>');
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.table.actionbar', [])
|
||||
angular.module('bansho.table.actionbar', [])
|
||||
|
||||
.factory('actionbarFilters', function () {
|
||||
var actionbarFilters = {
|
||||
@ -68,7 +68,7 @@ angular.module('adagios.table.actionbar', [])
|
||||
};
|
||||
})
|
||||
|
||||
.directive('adgTableActionbar', function () {
|
||||
.directive('banshoTableActionbar', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/table/actionbar/actionbar.html'
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.table.cell_duration', ['adagios.table'])
|
||||
angular.module('bansho.table.cell_duration', ['bansho.table'])
|
||||
|
||||
.controller('CellDurationCtrl', [function () {
|
||||
angular.noop();
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.table.cell_host', ['adagios.table'])
|
||||
angular.module('bansho.table.cell_host', ['bansho.table'])
|
||||
|
||||
.controller('CellHostCtrl', ['$scope', function ($scope) {
|
||||
$scope.cell_name = 'host';
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.table.cell_host_address', ['adagios.table'])
|
||||
angular.module('bansho.table.cell_host_address', ['bansho.table'])
|
||||
|
||||
.controller('CellHostAddressCtrl', [function () {
|
||||
angular.noop();
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.table.cell_host_status', ['adagios.table'])
|
||||
angular.module('bansho.table.cell_host_status', ['bansho.table'])
|
||||
|
||||
.controller('CellHostStatusCtrl', ['$scope', function ($scope) {
|
||||
$scope.entry.host_status = "";
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.table.cell_last_check', ['adagios.table'])
|
||||
angular.module('bansho.table.cell_last_check', ['bansho.table'])
|
||||
|
||||
.controller('CellLastCheckCtrl', [function () {
|
||||
angular.noop();
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.table.cell_service_check', ['adagios.table'])
|
||||
angular.module('bansho.table.cell_service_check', ['bansho.table'])
|
||||
|
||||
.controller('CellServiceCheckCtrl', ['$scope', function ($scope) {
|
||||
if ($scope.entry.state === 0) {
|
||||
|
@ -12,7 +12,7 @@
|
||||
<tbody class="{{entry.child_class}}" ng-repeat="entry in entries | actionbarSelectFilter:actionbarFilters.activeFilter | filter:actionbarFilters.searchFilter | noRepeat:this | wrappableStyle:this">
|
||||
<tr>
|
||||
<td><input type="checkbox"></td>
|
||||
<td adg-cell cell-name="{{cell}}" ng-repeat="cell in cellsName"></td>
|
||||
<td bansho-cell cell-name="{{cell}}" ng-repeat="cell in cellsName"></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -1,15 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.table', ['adagios.live',
|
||||
'adagios.utils.promiseManager',
|
||||
'adagios.table.actionbar',
|
||||
'adagios.filters',
|
||||
'adagios.table.cell_host',
|
||||
'adagios.table.cell_duration',
|
||||
'adagios.table.cell_service_check',
|
||||
'adagios.table.cell_last_check',
|
||||
'adagios.table.cell_host_address',
|
||||
'adagios.table.cell_host_status'
|
||||
angular.module('bansho.table', ['bansho.live',
|
||||
'bansho.utils.promiseManager',
|
||||
'bansho.table.actionbar',
|
||||
'bansho.filters',
|
||||
'bansho.table.cell_host',
|
||||
'bansho.table.cell_duration',
|
||||
'bansho.table.cell_service_check',
|
||||
'bansho.table.cell_last_check',
|
||||
'bansho.table.cell_host_address',
|
||||
'bansho.table.cell_host_status'
|
||||
])
|
||||
|
||||
.value('tableGlobalConfig', {'cellToFieldsMap': {}, 'cellWrappableField': {}, 'nextTableIndex': 0})
|
||||
@ -64,7 +64,7 @@ angular.module('adagios.table', ['adagios.live',
|
||||
tableGlobalConfig.nextTableIndex += 1;
|
||||
}])
|
||||
|
||||
.directive('adgTable', ['$http', '$compile', 'tablesConfig', 'tableGlobalConfig',
|
||||
.directive('banshoTable', ['$http', '$compile', 'tablesConfig', 'tableGlobalConfig',
|
||||
function ($http, $compile, tablesConfig, tableGlobalConfig) {
|
||||
return {
|
||||
restrict: 'E',
|
||||
@ -75,7 +75,7 @@ angular.module('adagios.table', ['adagios.live',
|
||||
conf;
|
||||
|
||||
if (!attrs.cellsText || !attrs.cellsName || !attrs.apiName || !attrs.isWrappable) {
|
||||
throw new Error('<adg-table> "cells-text", "cells-name", "api-name"'
|
||||
throw new Error('<bansho-table> "cells-text", "cells-name", "api-name"'
|
||||
+ ' and "is-wrappable" attributes must be defined');
|
||||
}
|
||||
|
||||
@ -117,13 +117,13 @@ angular.module('adagios.table', ['adagios.live',
|
||||
};
|
||||
}])
|
||||
|
||||
.directive('adgCell', ['$http', '$compile', function ($http, $compile) {
|
||||
.directive('banshoCell', ['$http', '$compile', function ($http, $compile) {
|
||||
return {
|
||||
restrict: 'A',
|
||||
compile: function () {
|
||||
return function (scope, element, attrs) {
|
||||
if (!attrs.cellName) {
|
||||
throw new Error('<adg-cell> "cell-name" attribute must be defined');
|
||||
throw new Error('<bansho-cell> "cell-name" attribute must be defined');
|
||||
}
|
||||
|
||||
var template = 'components/table/cell_' + attrs.cellName + '/cell_' + attrs.cellName + '.html';
|
||||
|
@ -5,7 +5,7 @@ describe('In Table module', function () {
|
||||
$rootScope,
|
||||
$httpBackend;
|
||||
|
||||
beforeEach(module('adagios.table'));
|
||||
beforeEach(module('bansho.table'));
|
||||
|
||||
beforeEach(inject(function (_$compile_, _$rootScope_, _$httpBackend_) {
|
||||
$compile = _$compile_;
|
||||
@ -13,13 +13,13 @@ describe('In Table module', function () {
|
||||
$httpBackend = _$httpBackend_;
|
||||
}));
|
||||
|
||||
describe('adgCell directive', function () {
|
||||
describe('banshoCell directive', function () {
|
||||
|
||||
it('should send a get request to the proper cell template', function () {
|
||||
var cells = ['host', 'service_check', 'duration', 'last_check'];
|
||||
|
||||
angular.forEach(cells, function (cell) {
|
||||
var elem = angular.element('<td adg-cell cell-name="' + cell + '"></td>');
|
||||
var elem = angular.element('<td bansho-cell cell-name="' + cell + '"></td>');
|
||||
$compile(elem)($rootScope);
|
||||
$httpBackend.expectGET('components/table/cell_' + cell + '/cell_' + cell + '.html').respond('');
|
||||
$httpBackend.flush();
|
||||
@ -27,10 +27,10 @@ describe('In Table module', function () {
|
||||
});
|
||||
});
|
||||
|
||||
describe('adgTable directive', function () {
|
||||
describe('banshoTable directive', function () {
|
||||
|
||||
it('should request table/table.html template', function () {
|
||||
var elem = angular.element('<adg-table cells-name="host,service_check,duration,last_check" cells-text="Host,Service Check,Duration,Last check" api-name="services" is-wrappable="true"></adg-table>');
|
||||
var elem = angular.element('<bansho-table cells-name="host,service_check,duration,last_check" cells-text="Host,Service Check,Duration,Last check" api-name="services" is-wrappable="true"></bansho-table>');
|
||||
$compile(elem)($rootScope);
|
||||
$httpBackend.expectGET('components/table/table.html').respond('');
|
||||
$httpBackend.flush();
|
||||
|
@ -1,13 +1,13 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.tactical.current_health', ['adagios.live',
|
||||
angular.module('bansho.tactical.current_health', ['bansho.live',
|
||||
'ngJustGage'])
|
||||
|
||||
.controller('TacticalCurrentHealth', ['$scope', function ($scope) {
|
||||
angular.noop();
|
||||
}])
|
||||
|
||||
.directive('adgCurrentHealth', function () {
|
||||
.directive('banshoCurrentHealth', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/tactical/current_health/current_health.html'
|
||||
|
@ -6,7 +6,7 @@ describe('Current Health tactical submodule', function () {
|
||||
$controller,
|
||||
$httpBackend;
|
||||
|
||||
beforeEach(module('adagios.tactical.current_health'));
|
||||
beforeEach(module('bansho.tactical.current_health'));
|
||||
|
||||
beforeEach(inject(function (_$compile_, _$rootScope_, _$controller_, _$httpBackend_) {
|
||||
$compile = _$compile_;
|
||||
@ -33,7 +33,7 @@ describe('Current Health tactical submodule', function () {
|
||||
describe('Current health directive', function () {
|
||||
|
||||
it('should send a GET request', function () {
|
||||
var element = $compile("<adg-current-health></adg-current-health>")($rootScope);
|
||||
var element = $compile("<bansho-current-health></bansho-current-health>")($rootScope);
|
||||
$httpBackend.flush();
|
||||
|
||||
expect(element.text()).toBe('Current Health');
|
||||
|
@ -1,12 +1,12 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.tactical.status_overview', [])
|
||||
angular.module('bansho.tactical.status_overview', [])
|
||||
|
||||
.controller('TacticalStatusOverViewCtrl', ['$scope', function ($scope) {
|
||||
angular.noop();
|
||||
}])
|
||||
|
||||
.directive('adgStatusOverview', function () {
|
||||
.directive('banshoStatusOverview', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/tactical/status_overview/status_overview.html'
|
||||
|
@ -6,7 +6,7 @@ describe('Status Overview tactical submodule', function () {
|
||||
$controller,
|
||||
$httpBackend;
|
||||
|
||||
beforeEach(module('adagios.tactical.status_overview'));
|
||||
beforeEach(module('bansho.tactical.status_overview'));
|
||||
|
||||
beforeEach(inject(function (_$compile_, _$rootScope_, _$controller_, _$httpBackend_) {
|
||||
$compile = _$compile_;
|
||||
@ -33,7 +33,7 @@ describe('Status Overview tactical submodule', function () {
|
||||
describe('Status overview directive', function () {
|
||||
|
||||
it('should insert the number of warnings', function () {
|
||||
var element = $compile('<adg-status-overview></adg-status-overview>')($rootScope);
|
||||
var element = $compile('<bansho-status-overview></bansho-status-overview>')($rootScope);
|
||||
$httpBackend.flush();
|
||||
$rootScope.problems = 31;
|
||||
$rootScope.$digest();
|
||||
|
@ -1,15 +1,15 @@
|
||||
<div class="panes panes--3" ng-controller="TacticalCtrl" id="tactical">
|
||||
<div class="panes__container">
|
||||
<div class="panes__pane" ng-if="statusOverview">
|
||||
<adg-status-overview></adg-status-overview>
|
||||
<bansho-status-overview></bansho-status-overview>
|
||||
</div>
|
||||
|
||||
<div class="panes__pane" ng-if="currentHealth">
|
||||
<adg-current-health></adg-current-health>
|
||||
<bansho-current-health></bansho-current-health>
|
||||
</div>
|
||||
|
||||
<div class="panes__pane" ng-if="topAlertProducers">
|
||||
<adg-top-alert-producers></adg-top-alert-producers>
|
||||
<bansho-top-alert-producers></bansho-top-alert-producers>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,10 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.tactical', ['adagios.live',
|
||||
'adagios.utils.promiseManager',
|
||||
'adagios.tactical.status_overview',
|
||||
'adagios.tactical.current_health',
|
||||
'adagios.tactical.top_alert_producers'
|
||||
angular.module('bansho.tactical', ['bansho.live',
|
||||
'bansho.utils.promiseManager',
|
||||
'bansho.tactical.status_overview',
|
||||
'bansho.tactical.current_health',
|
||||
'bansho.tactical.top_alert_producers'
|
||||
])
|
||||
|
||||
.value('tacticalConfig', {})
|
||||
@ -67,7 +67,7 @@ angular.module('adagios.tactical', ['adagios.live',
|
||||
});
|
||||
}])
|
||||
|
||||
.directive('adgTactical', ['tacticalConfig', function (tacticalConfig) {
|
||||
.directive('banshoTactical', ['tacticalConfig', function (tacticalConfig) {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/tactical/tactical.html',
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
describe('Tactical module', function () {
|
||||
|
||||
beforeEach(module('adagios.tactical'));
|
||||
beforeEach(module('bansho.tactical'));
|
||||
|
||||
describe('TacticalCtrl', function () {
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
<table ng-app="adagios.tactical.top_alert_producers" ng-controller="TacticalTopAlertProducers" class="table">
|
||||
<table ng-controller="TacticalTopAlertProducers" class="table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Top alert producers</th>
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.tactical.top_alert_producers', ['ngRoute' ])
|
||||
angular.module('bansho.tactical.top_alert_producers', ['ngRoute' ])
|
||||
.controller('TacticalTopAlertProducers', ['$scope', function ($scope) {
|
||||
$scope.hosts = [
|
||||
{
|
||||
@ -18,7 +18,7 @@ angular.module('adagios.tactical.top_alert_producers', ['ngRoute' ])
|
||||
];
|
||||
}])
|
||||
|
||||
.directive('adgTopAlertProducers', function () {
|
||||
.directive('banshoTopAlertProducers', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/tactical/top_alert_producers/top_alert_producers.html'
|
||||
|
@ -6,7 +6,7 @@ describe('Top Alert Producer tactical submodule', function () {
|
||||
$controller,
|
||||
$httpBackend;
|
||||
|
||||
beforeEach(module('adagios.tactical.top_alert_producers'));
|
||||
beforeEach(module('bansho.tactical.top_alert_producers'));
|
||||
|
||||
beforeEach(inject(function (_$compile_, _$rootScope_, _$controller_, _$httpBackend_) {
|
||||
$compile = _$compile_;
|
||||
@ -33,7 +33,7 @@ describe('Top Alert Producer tactical submodule', function () {
|
||||
describe('Status overview directive', function () {
|
||||
|
||||
it('should insert the number of warnings', function () {
|
||||
var element = $compile('<adg-top-alert-producers></adg-top-alert-producers>')($rootScope);
|
||||
var element = $compile('<bansho-top-alert-producers></bansho-top-alert-producers>')($rootScope);
|
||||
$httpBackend.flush();
|
||||
$rootScope.problems = 31;
|
||||
$rootScope.$digest();
|
||||
|
@ -1,4 +1,4 @@
|
||||
<nav ng-app="adagios.topbar" id="topbar" class="topbar" role="navigation" ng-controller="TopBarCtrl">
|
||||
<nav id="topbar" class="topbar" role="navigation" ng-controller="TopBarCtrl">
|
||||
<ul class="topbar__list topbar__list--left">
|
||||
<li class="topbar__item topbar__toggle-sidebar">
|
||||
<button class="topbar__button"
|
||||
@ -125,7 +125,7 @@
|
||||
<nav class="topbar__panel__content" role="navigation">
|
||||
<ul class="topbar__settings__list">
|
||||
<li class="topbar__settings__item">
|
||||
<span class="topbar__settings__category">Adagios</span>
|
||||
<span class="topbar__settings__category">Bansho</span>
|
||||
|
||||
<ul class="topbar__settings__sublist">
|
||||
<li class="topbar__settings__subitem"><a href="#">Missing Plugins</a></li>
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.topbar', ['adagios.live'])
|
||||
angular.module('bansho.topbar', ['bansho.live'])
|
||||
|
||||
.controller('TopBarCtrl', ['$scope', '$interval', 'getServiceProblems', 'getHostProblems', 'addAjaxPromise',
|
||||
function ($scope, $interval, getServiceProblems, getHostProblems, addAjaxPromise) {
|
||||
@ -23,7 +23,7 @@ angular.module('adagios.topbar', ['adagios.live'])
|
||||
getData();
|
||||
}])
|
||||
|
||||
.directive('adgTopbar', function () {
|
||||
.directive('banshoTopbar', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/topbar/topbar.html'
|
||||
|
@ -6,7 +6,7 @@ describe('Topbar module', function () {
|
||||
$controller,
|
||||
$httpBackend;
|
||||
|
||||
beforeEach(module('adagios.topbar'));
|
||||
beforeEach(module('bansho.topbar'));
|
||||
|
||||
beforeEach(inject(function (_$compile_, _$rootScope_, _$controller_, _$httpBackend_) {
|
||||
$compile = _$compile_;
|
||||
@ -31,7 +31,7 @@ describe('Topbar module', function () {
|
||||
describe('Topbar directive', function () {
|
||||
|
||||
it('should insert the number of warnings', function () {
|
||||
var element = $compile('<adg-topbar></adg-topbar>')($rootScope);
|
||||
var element = $compile('<bansho-topbar></bansho-topbar>')($rootScope);
|
||||
$httpBackend.flush();
|
||||
$rootScope.notifications = 44;
|
||||
$rootScope.$digest();
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.utils.promiseManager', [])
|
||||
angular.module('bansho.utils.promiseManager', [])
|
||||
|
||||
.value('ajaxPromises', [])
|
||||
|
||||
|
@ -1,12 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<!--[if IE 7]> <html lang="en" ng-app="adagios" class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if lt IE 7]> <html lang="en" ng-app="adagios" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html lang="en" ng-app="adagios" class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html lang="en" ng-app="adagios" class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if IE 7]> <html lang="en" class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if lt IE 7]> <html lang="en" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> <!--[if IE 7]> <html lang="en" class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
||||
<!--[if IE 8]> <html lang="en" class="no-js lt-ie9"> <![endif]-->
|
||||
<!--[if gt IE 8]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>Adagios</title>
|
||||
<title>Bansho</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href='http://fonts.googleapis.com/css?family=Roboto:400,700,400italic' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" href="assets/css/app.css">
|
||||
@ -19,19 +19,19 @@
|
||||
<script src="bower_components/html5-boilerplate/js/vendor/modernizr-2.6.2.min.js"></script>
|
||||
<script src="bower_components/moment/moment.js"></script>
|
||||
|
||||
<script src="build/js/adagios.min.js"></script>
|
||||
<script src="build/js/bansho.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body class="layout color-scheme--dark">
|
||||
<!--[if lt IE 7]> <p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p> <![endif]-->
|
||||
<div class="layout__container">
|
||||
<aside class="layout__aside sidebar-wrapper collapse" id="sidebarWrapper">
|
||||
<adg-sidebar></adg-sidebar>
|
||||
<bansho-sidebar></bansho-sidebar>
|
||||
</aside>
|
||||
|
||||
<div class="layout__main">
|
||||
<div class="topbar-wrapper clearfix">
|
||||
<adg-topbar></adg-topbar>
|
||||
<bansho-topbar></bansho-topbar>
|
||||
</div>
|
||||
|
||||
<main ng-view id="page" class="main" role="main"></main>
|
||||
|
@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.view', ['ngRoute',
|
||||
'adagios.config'
|
||||
angular.module('bansho.view', ['ngRoute',
|
||||
'bansho.config'
|
||||
])
|
||||
|
||||
.value('viewsTemplate', {})
|
||||
|
@ -2,10 +2,10 @@
|
||||
<header class="main__overview">
|
||||
<h2 class="main__overview__title">{{dashboardTactical[0].title}}</h2>
|
||||
|
||||
<adg-tactical status-overview="{{dashboardTactical[0].statusOverview}}"
|
||||
<bansho-tactical status-overview="{{dashboardTactical[0].statusOverview}}"
|
||||
current-health="{{dashboardTactical[0].currentHealth}}"
|
||||
top-alert-producers="{{dashboardTactical[0].topAlertProducers}}"
|
||||
refresh-interval="{{dashboardRefreshInterval}}"></adg-tactical>
|
||||
refresh-interval="{{dashboardRefreshInterval}}"></bansho-tactical>
|
||||
|
||||
</header>
|
||||
|
||||
@ -35,7 +35,7 @@
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<adg-table-actionbar></adg-table-actionbar>
|
||||
<bansho-table-actionbar></bansho-table-actionbar>
|
||||
|
||||
<div class="tab-content">
|
||||
<div role="tabpanel" class="problems tab-pane active" id="openProblems">
|
||||
@ -52,7 +52,7 @@
|
||||
</p>
|
||||
</header>
|
||||
|
||||
<adg-table cells-text="{{dashboardTables[0].CellsText}}"
|
||||
<bansho-table cells-text="{{dashboardTables[0].CellsText}}"
|
||||
cells-name="{{dashboardTables[0].CellsName}}"
|
||||
api-name="{{dashboardTables[0].ApiName}}"
|
||||
filters="{{dashboardTables[0].Filters}}"
|
||||
@ -60,7 +60,7 @@
|
||||
no-repeat-cell="{{dashboardTables[0].NoRepeatCell}}"
|
||||
refresh-interval="{{dashboardRefreshInterval}}"
|
||||
additionnal-query-fields="{{dashboardTables[0].additionnalQueryFields}}"
|
||||
table-id="0"></adg-table>
|
||||
table-id="0"></bansho-table>
|
||||
|
||||
</span>
|
||||
|
||||
@ -77,7 +77,7 @@
|
||||
</p>
|
||||
</header>
|
||||
|
||||
<adg-table cells-text="{{dashboardTables[1].CellsText}}"
|
||||
<bansho-table cells-text="{{dashboardTables[1].CellsText}}"
|
||||
cells-name="{{dashboardTables[1].CellsName}}"
|
||||
api-name="{{dashboardTables[1].ApiName}}"
|
||||
filters="{{dashboardTables[1].Filters}}"
|
||||
@ -85,7 +85,7 @@
|
||||
no-repeat-cell="{{dashboardTables[1].NoRepeatCell}}"
|
||||
refresh-interval="{{dashboardRefreshInterval}}"
|
||||
additionnal-query-fields="{{dashboardTables[1].additionnalQueryFields}}"
|
||||
table-id="1"></adg-table>
|
||||
table-id="1"></bansho-table>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
@ -104,14 +104,14 @@
|
||||
</p>
|
||||
</header>
|
||||
|
||||
<adg-table cells-text="{{dashboardTables[2].CellsText}}"
|
||||
<bansho-table cells-text="{{dashboardTables[2].CellsText}}"
|
||||
cells-name="{{dashboardTables[2].CellsName}}"
|
||||
api-name="{{dashboardTables[2].ApiName}}"
|
||||
filters="{{dashboardTables[2].Filters}}"
|
||||
is-wrappable="{{dashboardTables[2].IsWrappable}}"
|
||||
no-repeat-cell="{{dashboardTables[2].NoRepeatCell}}"
|
||||
refresh-interval="{{dashboardRefreshInterval}}"
|
||||
table-id="2"></adg-table>
|
||||
table-id="2"></bansho-table>
|
||||
</span>
|
||||
|
||||
<span ng-hide="nbServiceProblems == 0">
|
||||
@ -127,14 +127,14 @@
|
||||
</p>
|
||||
</header>
|
||||
|
||||
<adg-table cells-text="{{dashboardTables[3].CellsText}}"
|
||||
<bansho-table cells-text="{{dashboardTables[3].CellsText}}"
|
||||
cells-name="{{dashboardTables[3].CellsName}}"
|
||||
api-name="{{dashboardTables[3].ApiName}}"
|
||||
filters="{{dashboardTables[3].Filters}}"
|
||||
is-wrappable="{{dashboardTables[3].IsWrappable}}"
|
||||
no-repeat-cell="{{dashboardTables[3].NoRepeatCell}}"
|
||||
refresh-interval="{{dashboardRefreshInterval}}"
|
||||
table-id="3"></adg-table>
|
||||
table-id="3"></bansho-table>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,10 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.view.dashboard', ['ngRoute',
|
||||
'adagios.utils.promiseManager',
|
||||
'adagios.tactical',
|
||||
'adagios.table',
|
||||
'adagios.live'
|
||||
angular.module('bansho.view.dashboard', ['ngRoute',
|
||||
'bansho.utils.promiseManager',
|
||||
'bansho.tactical',
|
||||
'bansho.table',
|
||||
'bansho.live'
|
||||
])
|
||||
|
||||
.value('dashboardConfig', {})
|
||||
|
@ -1,3 +1,3 @@
|
||||
<article ng-controller="HostViewCtrl">
|
||||
<adg-host host-name="{{hostName}}"></adg-host>
|
||||
<bansho-host host-name="{{hostName}}"></bansho-host>
|
||||
</article>
|
||||
|
@ -1,6 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.view.host', ['adagios.live'])
|
||||
angular.module('bansho.view.host', ['bansho.live'])
|
||||
|
||||
.controller('HostViewCtrl', ['$http', '$scope', '$routeParams',
|
||||
function ($http, $scope, $routeParams) {
|
||||
|
@ -1,3 +1,3 @@
|
||||
<article ng-controller="ServiceViewCtrl">
|
||||
<adg-service host-name="{{hostName}}" description="{{description}}"></adg-service>
|
||||
<bansho-service host-name="{{hostName}}" description="{{description}}"></bansho-service>
|
||||
</article>
|
||||
|
@ -1,6 +1,6 @@
|
||||
"use strict";
|
||||
|
||||
angular.module("adagios.view.service", [ "adagios.live" ])
|
||||
angular.module("bansho.view.service", [ "bansho.live" ])
|
||||
|
||||
.controller("ServiceViewCtrl", [ "$scope", "$routeParams",
|
||||
function ($scope, $routeParams) {
|
||||
|
@ -10,14 +10,14 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<adg-table cells-name="{{tableConfig.CellsName}}"
|
||||
<bansho-table cells-name="{{tableConfig.CellsName}}"
|
||||
cells-text="{{tableConfig.CellsText}}"
|
||||
api-name="{{tableConfig.ApiName}}"
|
||||
filters="{{tableConfig.Filters}}"
|
||||
is-wrappable="{{tableConfig.IsWrappable}}"
|
||||
no-repeat-cell="{{tableConfig.NoRepeatCell}}"
|
||||
refresh-interval="{{singleTableRefreshInterval}}"
|
||||
table-id="0"></adg-table>
|
||||
table-id="0"></bansho-table>
|
||||
|
||||
</section>
|
||||
</article>
|
||||
|
@ -1,10 +1,10 @@
|
||||
'use strict';
|
||||
|
||||
angular.module('adagios.view.singleTable', ['ngRoute',
|
||||
'adagios.tactical.status_overview',
|
||||
'adagios.tactical.current_health',
|
||||
'adagios.tactical.top_alert_producers',
|
||||
'adagios.table'
|
||||
angular.module('bansho.view.singleTable', ['ngRoute',
|
||||
'bansho.tactical.status_overview',
|
||||
'bansho.tactical.current_health',
|
||||
'bansho.tactical.top_alert_producers',
|
||||
'bansho.table'
|
||||
])
|
||||
|
||||
.value('singleTableConfig', {})
|
||||
|
Loading…
Reference in New Issue
Block a user