Service submodules skeletons
This commit is contained in:
parent
fff43cd26f
commit
81952cd360
|
@ -116,6 +116,9 @@ module.exports = function (grunt) {
|
|||
'<%= project.app %>/components/host/host_main/host_main.js',
|
||||
'<%= project.app %>/components/host/host_services_list/host_services_list.js',
|
||||
'<%= project.app %>/components/service/service.js',
|
||||
'<%= project.app %>/components/service/service_main/service_main.js',
|
||||
'<%= project.app %>/components/service/service_info/service_info.js',
|
||||
'<%= project.app %>/components/service/service_metrics/service_metrics.js',
|
||||
'<%= project.app %>/routing_view/routing_view.js',
|
||||
'<%= project.app %>/templates/dashboard/dashboard.js',
|
||||
'<%= project.app %>/templates/single_table/single_table.js',
|
||||
|
@ -160,6 +163,9 @@ module.exports = function (grunt) {
|
|||
'<%= project.build %>/components/host/host_main/host_main.js': '<%= project.app %>/components/host/host_main/host_main.js',
|
||||
'<%= project.build %>/components/host/host_services_list/host_services_list.js': '<%= project.app %>/components/host/host_services_list/host_services_list.js',
|
||||
'<%= project.build %>/components/service/service.js': '<%= project.app %>/components/service/service.js',
|
||||
'<%= project.build %>/components/service/service_main/service_main.js': '<%= project.app %>/components/service/service_main/service_main.js',
|
||||
'<%= project.build %>/components/service/service_info/service_info.js': '<%= project.app %>/components/service/service_info/service_info.js',
|
||||
'<%= project.build %>/components/service/service_metrics/service_metrics.js': '<%= project.app %>/components/service/service_metrics/service_metrics.js',
|
||||
|
||||
'<%= project.build %>/routing_view/routing_view.js': '<%= project.app %>/routing_view/routing_view.js',
|
||||
'<%= project.build %>/templates/dashboard/dashboard.js': '<%= project.app %>/templates/dashboard/dashboard.js',
|
||||
|
@ -198,6 +204,9 @@ module.exports = function (grunt) {
|
|||
'<%= project.build %>/components/host/host_main/host_main.js',
|
||||
'<%= project.build %>/components/host/host_services_list/host_services_list.js',
|
||||
'<%= project.build %>/components/service/service.js',
|
||||
'<%= project.build %>/components/service/service_main/service_main.js',
|
||||
'<%= project.build %>/components/service/service_info/service_info.js',
|
||||
'<%= project.build %>/components/service/service_metrics/service_metrics.js',
|
||||
'<%= project.build %>/routing_view/routing_view.js',
|
||||
'<%= project.build %>/templates/dashboard/dashboard.js',
|
||||
'<%= project.build %>/templates/single_table/single_table.js',
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<article ng-controller="ServiceCtrl">
|
||||
<section class="main__content tabpanel">
|
||||
<h2>{{data}}</h2>
|
||||
<adg-service-main></adg-service-main>
|
||||
<adg-service-info></adg-service-info>
|
||||
<adg-service-metrics></adg-service-metrics>
|
||||
</section>
|
||||
</article>
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('adagios.service', ['adagios.live'])
|
||||
angular.module('adagios.service', ['adagios.live',
|
||||
'adagios.service.main',
|
||||
'adagios.service.info',
|
||||
'adagios.service.metrics'])
|
||||
|
||||
.value('serviceConfig', {})
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
<div ng-controller="ServiceInfoCtrl">
|
||||
</div>
|
|
@ -0,0 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('adagios.service.info', [])
|
||||
|
||||
.controller('ServiceInfoCtrl', ['$scope', function ($scope) {
|
||||
}])
|
||||
|
||||
.directive('adgServiceInfo', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/service/service_info/service_info.html'
|
||||
};
|
||||
});
|
|
@ -0,0 +1,2 @@
|
|||
<div ng-controller="ServiceMainCtrl">
|
||||
</div>
|
|
@ -0,0 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('adagios.service.main', [])
|
||||
|
||||
.controller('ServiceMainCtrl', ['$scope', function ($scope) {
|
||||
}])
|
||||
|
||||
.directive('adgServiceMain', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/service/service_main/service_main.html'
|
||||
};
|
||||
});
|
|
@ -0,0 +1,2 @@
|
|||
<div ng-controller="ServiceMetricsCtrl">
|
||||
</div>
|
|
@ -0,0 +1,13 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('adagios.service.metrics', [])
|
||||
|
||||
.controller('ServiceMetricsCtrl', ['$scope', function ($scope) {
|
||||
}])
|
||||
|
||||
.directive('adgServiceMetrics', function () {
|
||||
return {
|
||||
restrict: 'E',
|
||||
templateUrl: 'components/service/service_metrics/service_metrics.html'
|
||||
};
|
||||
});
|
Loading…
Reference in New Issue