23 lines
667 B
JavaScript
23 lines
667 B
JavaScript
'use strict';
|
|
|
|
angular.module('adagios.tactical', ['adagios.tactical.status_overview',
|
|
'adagios.tactical.current_health',
|
|
'adagios.tactical.top_alert_producers'
|
|
])
|
|
|
|
.controller('TacticalCtrl', [function () {
|
|
|
|
// Togglable tabs
|
|
// Don't follow hyperlinks
|
|
$('a[data-toggle="tab"]').on('click', function (evt) {
|
|
evt.preventDefault();
|
|
});
|
|
}])
|
|
|
|
.directive('adgTactical', function () {
|
|
return {
|
|
restrict: 'E',
|
|
templateUrl: 'components/tactical/tactical.html'
|
|
};
|
|
});
|