Rename files to conform with standard

Change-Id: Ia3914eaeb81093a44124e0c3c10ad681276aa866
This commit is contained in:
Vincent Fournier 2015-08-17 18:35:41 -04:00
parent 68e3f89633
commit f1b6d5d552
12 changed files with 138 additions and 125 deletions

View File

@ -5,6 +5,7 @@ angular.module('bansho.directive', [
'bansho.textArea', 'bansho.textArea',
'bansho.container', 'bansho.container',
'bansho.hostTree', 'bansho.hostTree',
'bansho.stateIcon',
'bansho.table', 'bansho.table',
'bansho.tabpanel', 'bansho.tabpanel',
'bansho.tactical', 'bansho.tactical',

View File

@ -8,7 +8,7 @@ angular.module('bansho.hostTree', ['bansho.datasource'])
scope: { scope: {
options: '=' options: '='
}, },
templateUrl: 'components/directive/hostTree/hostTree.html', templateUrl: 'components/directive/host_tree/host_tree.html',
controller: ['$scope', 'sharedData', controller: ['$scope', 'sharedData',
function ($scope, sharedData) { function ($scope, sharedData) {
$scope.sources = {}; $scope.sources = {};

View File

@ -1,6 +1,6 @@
'use strict'; 'use strict';
angular.module('bansho.table') angular.module('bansho.stateIcon', [])
.directive('banshoHostStateIcon', function () { .directive('banshoHostStateIcon', function () {
return { return {
restrict: 'EA', restrict: 'EA',

View File

@ -4,7 +4,7 @@ angular.module('bansho.tabpanel', [])
.directive('banshoTabpanel', ['sharedData', function (sharedData) { .directive('banshoTabpanel', ['sharedData', function (sharedData) {
return { return {
restrict: 'E', restrict: 'E',
templateUrl: 'components/directive/tabpanel/tabpanel.html', templateUrl: 'components/directive/tab_panel/tab_panel.html',
scope: { scope: {
options: '=' options: '='
}, },
@ -28,7 +28,7 @@ angular.module('bansho.tabpanel', [])
.directive('banshoPanel', function () { .directive('banshoPanel', function () {
return { return {
restrict: 'E', restrict: 'E',
templateUrl: 'components/directive/tabpanel/panel.html', templateUrl: 'components/directive/tab_panel/panel.html',
scope: { scope: {
options: '=' options: '='
}, },

View File

@ -7,7 +7,7 @@ angular.module('bansho.table.pagingbar', ['bansho.datasource', 'bansho.surveil',
scope: { scope: {
options: '=' options: '='
}, },
templateUrl: 'components/directive/table/pagingbar/pagingbar.html', templateUrl: 'components/directive/table/paging_bar/paging_bar.html',
controller: ['$scope', 'datasource', controller: ['$scope', 'datasource',
function ($scope, datasource) { function ($scope, datasource) {
$scope.datasourceId = $scope.options.attributes.datasourceId; $scope.datasourceId = $scope.options.attributes.datasourceId;

View File

@ -10,7 +10,7 @@ angular.module('bansho.textArea', [])
scope: { scope: {
options: '=' options: '='
}, },
templateUrl: 'components/directive/textArea/textArea.html', templateUrl: 'components/directive/text_area/text_area.html',
controller:['$scope', '$window', 'configManager', controller:['$scope', '$window', 'configManager',
function ($scope, $window, configManager) { function ($scope, $window, configManager) {
$scope.configuration = JSON.stringify(configManager.readLayoutConfig(), null, 4); $scope.configuration = JSON.stringify(configManager.readLayoutConfig(), null, 4);

View File

@ -4,140 +4,152 @@
<!--[if IE 8]> <html lang="en" class="no-js lt-ie9"> <![endif]--> <!--[if IE 8]> <html lang="en" class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--> <html lang="en" class="no-js"> <!--<![endif]--> <!--[if gt IE 8]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Bansho</title> <title>Bansho</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <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 href='http://fonts.googleapis.com/css?family=Roboto:400,700,400italic' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="assets/css/app.css"> <link rel="stylesheet" href="assets/css/app.css">
<!-- build:css assets/css/app_ext_css.css --> <!-- build:css assets/css/app_ext_css.css -->
<link href="bower_components/fontawesome/css/font-awesome.min.css" media="all" rel="stylesheet" type="text/css"> <link href="bower_components/fontawesome/css/font-awesome.min.css" media="all" rel="stylesheet" type="text/css">
<link href="bower_components/pnotify/pnotify.core.css" media="all" rel="stylesheet" type="text/css" /> <link href="bower_components/pnotify/pnotify.core.css" media="all" rel="stylesheet" type="text/css" />
<link href="bower_components/pnotify/pnotify.buttons.css" media="all" rel="stylesheet" type="text/css" /> <link href="bower_components/pnotify/pnotify.buttons.css" media="all" rel="stylesheet" type="text/css" />
<link href="bower_components/pnotify/pnotify.history.css" media="all" rel="stylesheet" type="text/css" /> <link href="bower_components/pnotify/pnotify.history.css" media="all" rel="stylesheet" type="text/css" />
<link href="bower_components/angular-material/angular-material.min.css" media="all" rel="stylesheet" type="text/css" /> <link href="bower_components/angular-material/angular-material.min.css" media="all" rel="stylesheet" type="text/css" />
<!-- endbuild --> <!-- endbuild -->
<meta name="description" content=""> <meta name="description" content="">
<!-- build:js js/app.min.js --> <!-- build:js js/app.min.js -->
<script src="bower_components/angular/angular.js"></script> <script src="bower_components/angular/angular.js"></script>
<script src="bower_components/angular-filter/dist/angular-filter.min.js"></script> <script src="bower_components/angular-filter/dist/angular-filter.min.js"></script>
<script src="bower_components/angular-cookies/angular-cookies.min.js"></script> <script src="bower_components/angular-cookies/angular-cookies.min.js"></script>
<script src="bower_components/angular-route/angular-route.js"></script> <script src="bower_components/angular-route/angular-route.js"></script>
<script src="bower_components/jquery/dist/jquery.min.js"></script> <script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/angular-material/angular-material.min.js"></script> <script src="bower_components/angular-material/angular-material.min.js"></script>
<script src="bower_components/angular-animate/angular-animate.min.js"></script> <script src="bower_components/angular-animate/angular-animate.min.js"></script>
<script src="bower_components/angular-aria/angular-aria.min.js"></script> <script src="bower_components/angular-aria/angular-aria.min.js"></script>
<script src="bower_components/moment/moment.js"></script> <script src="bower_components/moment/moment.js"></script>
<script src="bower_components/raphael/raphael-min.js"></script> <script src="bower_components/raphael/raphael-min.js"></script>
<script src="bower_components/justgage-toorshia/justgage.js"></script> <script src="bower_components/justgage-toorshia/justgage.js"></script>
<script src="bower_components/bootstrap-sass-official/assets/javascripts/bootstrap.js"></script> <script src="bower_components/bootstrap-sass-official/assets/javascripts/bootstrap.js"></script>
<script src="assets/js/scripts.js"></script> <script src="assets/js/scripts.js"></script>
<!-- pnotify js --> <!-- pnotify js -->
<script src="bower_components/pnotify/pnotify.core.js"></script> <script src="bower_components/pnotify/pnotify.core.js"></script>
<script src="bower_components/pnotify/pnotify.buttons.js"></script> <script src="bower_components/pnotify/pnotify.buttons.js"></script>
<script src="bower_components/pnotify/pnotify.callbacks.js"></script> <script src="bower_components/pnotify/pnotify.callbacks.js"></script>
<script src="bower_components/pnotify/pnotify.confirm.js"></script> <script src="bower_components/pnotify/pnotify.confirm.js"></script>
<script src="bower_components/pnotify/pnotify.desktop.js"></script> <script src="bower_components/pnotify/pnotify.desktop.js"></script>
<script src="bower_components/pnotify/pnotify.nonblock.js"></script> <script src="bower_components/pnotify/pnotify.nonblock.js"></script>
<script src="app.js"></script> <script src="app.js"></script>
<script src="components/config/config.js"></script> <script src="components/config/config.js"></script>
<!-- Surveil API client -->
<script src="components/surveil/surveil.js"></script>
<script src="components/surveil/status.js"></script>
<script src="components/surveil/actions.js"></script>
<script src="components/surveil/config.js"></script>
<script src="components/surveil/query.js"></script>
<script src="components/authentication/authentication.js"></script> <!-- Surveil API client -->
<script src="components/ng-justgage/ng-justgage.js"></script> <script src="components/surveil/surveil.js"></script>
<script src="components/filters/filters.js"></script> <script src="components/surveil/status.js"></script>
<script src="components/notifications/notifications.js"></script> <script src="components/surveil/actions.js"></script>
<script src="components/sidebar/sidebar.js"></script> <script src="components/surveil/config.js"></script>
<script src="components/topbar/topbar.js"></script> <script src="components/surveil/query.js"></script>
<script src="components/datasource/datasource.js"></script>
<!-- Directives --> <script src="components/authentication/authentication.js"></script>
<script src="components/directive/directive.js"></script> <script src="components/ng-justgage/ng-justgage.js"></script>
<script src="components/directive/title/title.js"></script> <script src="components/filters/filters.js"></script>
<script src="components/directive/tactical/tactical.js"></script> <script src="components/notifications/notifications.js"></script>
<script src="components/directive/tactical/status_overview/status_overview.js"></script> <script src="components/sidebar/sidebar.js"></script>
<script src="components/directive/tactical/current_health/current_health.js"></script> <script src="components/topbar/topbar.js"></script>
<script src="components/directive/tactical/top_alert_producers/top_alert_producers.js"></script> <script src="components/datasource/datasource.js"></script>
<script src="components/directive/tabpanel/tabpanel.js"></script> <script src="components/grafana/grafana.js"></script>
<!-- Table components -->
<script src="components/directive/container/container.js"></script> <!-- Directives -->
<script src="components/directive/actionbar/actionbar.js"></script> <script src="components/directive/directive.js"></script>
<script src="components/directive/actionbar/component_acknowledge/acknowledge.js"></script>
<script src="components/directive/actionbar/component_downtime/downtime.js"></script>
<script src="components/directive/actionbar/component_filter/filter.js"></script>
<script src="components/directive/actionbar/component_more/more.js"></script>
<script src="components/directive/actionbar/component_recheck/recheck.js"></script>
<script src="components/directive/actionbar/component_search_filter/search_filter.js"></script>
<script src="components/directive/container/info/info.js"></script>
<script src="components/directive/textArea/textArea.js"></script>
<script src="components/directive/table/table.js"></script>
<script src="components/directive/table/pagingbar/pagingbar.js"></script>
<script src="components/directive/table/cell_status_duration/cell_status_duration.js"></script>
<script src="components/directive/table/cell_single/cell_single.js"></script> <!-- Table components -->
<script src="components/directive/table/cell_config_host_register/cell_config_host_register.js"></script> <script src="components/directive/table/table.js"></script>
<script src="components/directive/table/cell_other_fields/cell_other_fields.js"></script> <script src="components/directive/table/cell_single/cell_single.js"></script>
<script src="components/directive/table/cell_status_host/cell_status_host.js"></script> <script src="components/directive/table/cell_other_fields/cell_other_fields.js"></script>
<script src="components/directive/table/cell_status_last_check/cell_status_last_check.js"></script>
<script src="components/directive/table/cell_status_service_check/cell_status_service_check.js"></script>
<script src="components/directive/table/cell_status_host_status/cell_status_host_status.js"></script>
<script src="components/directive/state_icon/state_icon.js"></script>
<script src="components/grafana/grafana.js"></script>
<script src="components/directive/container/host_cpu/host_cpu.js"></script> <script src="components/directive/table/cell_status_duration/cell_status_duration.js"></script>
<script src="components/directive/container/host_load/host_load.js"></script> <script src="components/directive/table/cell_config_host_register/cell_config_host_register.js"></script>
<script src="components/directive/container/host_main/host_main.js"></script> <script src="components/directive/table/cell_status_host/cell_status_host.js"></script>
<script src="components/directive/container/host_live/host_live.js"></script> <script src="components/directive/table/cell_status_last_check/cell_status_last_check.js"></script>
<script src="components/directive/container/host_services_list/host_services_list.js"></script> <script src="components/directive/table/cell_status_service_check/cell_status_service_check.js"></script>
<script src="components/directive/hostTree/hostTree.js"></script> <script src="components/directive/table/cell_status_host_status/cell_status_host_status.js"></script>
<script src="components/directive/container/service_main/service_main.js"></script>
<script src="components/directive/container/service_live/service_live.js"></script>
<script src="components/directive/container/service_info/service_info.js"></script>
<script src="components/directive/container/service_graphs/service_graphs.js"></script>
<script src="components/directive/container/service_metrics/service_metrics.js"></script>
<script src="components/drupal/drupal.js"></script>
<script src="components/drupal/drupal_tile/drupal_tile.js"></script>
<script src="components/drupal/drupal_info/drupal_info.js"></script>
<script src="routing_view/routing_view.js"></script>
<script src="templates/template.js"></script>
<script src="templates/page/page.js"></script>
<script src="templates/drupal_dashboard/drupal_dashboard.js"></script>
<script src="templates/drupal/drupal.js"></script>
<!-- endbuild -->
</head>
<body class="layout" ng-class="[themeClass, themeClassSize]" ng-app="bansho"> <script src="components/directive/tab_panel/tab_panel.js"></script>
<!--[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">
<bansho-sidebar ng-show="isAuthenticated"></bansho-sidebar>
</aside>
<div class="layout__main"> <script src="components/directive/state_icon/state_icon.js"></script>
<div class="topbar-wrapper clearfix">
<bansho-topbar ng-show="isAuthenticated"></bansho-topbar>
</div>
<main ng-view id="page" class="main" role="main"></main> <script src="components/directive/text_area/text_area.js"></script>
<footer class="footer" role="contentinfo"></footer>
<script src="components/directive/host_tree/host_tree.js"></script>
<script src="components/directive/title/title.js"></script>
<script src="components/directive/tactical/tactical.js"></script>
<script src="components/directive/tactical/status_overview/status_overview.js"></script>
<script src="components/directive/tactical/current_health/current_health.js"></script>
<script src="components/directive/tactical/top_alert_producers/top_alert_producers.js"></script>
<script src="components/directive/container/container.js"></script>
<script src="components/directive/container/info/info.js"></script>
<script src="components/directive/container/host_cpu/host_cpu.js"></script>
<script src="components/directive/container/host_load/host_load.js"></script>
<script src="components/directive/container/host_main/host_main.js"></script>
<script src="components/directive/container/host_live/host_live.js"></script>
<script src="components/directive/container/host_services_list/host_services_list.js"></script>
<script src="components/directive/container/service_main/service_main.js"></script>
<script src="components/directive/container/service_live/service_live.js"></script>
<script src="components/directive/container/service_info/service_info.js"></script>
<script src="components/directive/container/service_graphs/service_graphs.js"></script>
<script src="components/directive/container/service_metrics/service_metrics.js"></script>
<script src="components/directive/actionbar/actionbar.js"></script>
<script src="components/directive/actionbar/component_acknowledge/acknowledge.js"></script>
<script src="components/directive/actionbar/component_downtime/downtime.js"></script>
<script src="components/directive/actionbar/component_filter/filter.js"></script>
<script src="components/directive/actionbar/component_more/more.js"></script>
<script src="components/directive/actionbar/component_recheck/recheck.js"></script>
<script src="components/directive/actionbar/component_search_filter/search_filter.js"></script>
<script src="components/directive/table/paging_bar/paging_bar.js"></script>
<script src="components/drupal/drupal.js"></script>
<script src="components/drupal/drupal_tile/drupal_tile.js"></script>
<script src="components/drupal/drupal_info/drupal_info.js"></script>
<script src="routing_view/routing_view.js"></script>
<script src="templates/template.js"></script>
<script src="templates/page/page.js"></script>
<script src="templates/drupal_dashboard/drupal_dashboard.js"></script>
<script src="templates/drupal/drupal.js"></script>
<!-- endbuild -->
</head>
<body class="layout" data-ng-class="[themeClass, themeClassSize]" data-ng-app="bansho">
<!--[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">
<bansho-sidebar data-ng-show="isAuthenticated"></bansho-sidebar>
</aside>
<div class="layout__main">
<div class="topbar-wrapper clearfix">
<bansho-topbar ng-show="isAuthenticated"></bansho-topbar>
</div> </div>
</div>
<!-- build:developmentOnly --> <main data-ng-view id="page" class="main" role="main"></main>
<script src="//localhost:35729/livereload.js"></script> <footer class="footer" role="contentinfo"></footer>
<!-- endbuild --> </div>
</body> </div>
<!-- build:developmentOnly -->
<script src="//localhost:35729/livereload.js"></script>
<!-- endbuild -->
</body>
</html> </html>