From 06d6b6ed35e4102bd8868747cc6a1c72b6b9a328 Mon Sep 17 00:00:00 2001 From: Jeremy Mitchell Date: Wed, 3 May 2017 08:19:09 -0600 Subject: [PATCH 1/3] moved a couple pages around; button and tooltip changes as well --- traffic_ops/experimental/ui/app/src/app.js | 6 ++-- .../ui/app/src/common/api/AuthService.js | 2 +- .../form/cacheGroup/form.cacheGroup.tpl.html | 7 ++-- .../modules/form/cdn/FormCDNController.js | 4 --- .../common/modules/form/cdn/form.cdn.tpl.html | 12 ++++--- .../FormDeliveryServiceController.js | 6 +--- .../form.deliveryService.tpl.html | 9 ++--- .../form/profile/form.profile.tpl.html | 6 ++-- .../modules/form/server/form.server.tpl.html | 11 ++++-- .../modules/navigation/navigation.tpl.html | 5 ++- .../table.cacheGroupParameters.tpl.html | 4 +-- .../cdnServers/table.cdnServers.tpl.html | 32 ++++++++--------- .../table.deliveryServiceJobs.tpl.html | 2 +- .../table.deliveryServiceRegexes.tpl.html | 2 +- .../table.deliveryServiceServers.tpl.html | 4 +-- .../table.parameterProfiles.tpl.html | 4 +-- .../table.profileParameters.tpl.html | 4 +-- .../table.serverDeliveryServices.tpl.html | 4 +-- .../table/servers/table.servers.tpl.html | 5 +-- .../table.userDeliveryServices.tpl.html | 4 +-- .../DashboardController.js} | 6 ++-- .../_dashboard.scss} | 0 .../dashboard.tpl.html} | 2 +- .../{dashboards => dashboard}/index.js | 16 ++++----- .../monitor/dashboards/dashboards.tpl.html | 22 ------------ .../three/DashboardsThreeController.js | 24 ------------- .../dashboards/three/_dashboards.three.scss | 16 --------- .../three/dashboards.three.tpl.html | 20 ----------- .../private/monitor/dashboards/three/index.js | 35 ------------------- .../dashboards/two/DashboardsTwoController.js | 24 ------------- .../dashboards/two/_dashboards.two.scss | 16 --------- .../private/monitor/dashboards/two/index.js | 35 ------------------- .../MapController.js} | 6 ++-- .../_dashboards.map.scss => map/_map.scss} | 0 .../monitor/{dashboards => }/map/index.js | 12 +++---- .../map.tpl.html} | 0 .../experimental/ui/app/src/styles/main.scss | 6 ++-- 37 files changed, 89 insertions(+), 284 deletions(-) rename traffic_ops/experimental/ui/app/src/modules/private/monitor/{dashboards/DashboardsController.js => dashboard/DashboardController.js} (86%) rename traffic_ops/experimental/ui/app/src/modules/private/monitor/{dashboards/_dashboards.scss => dashboard/_dashboard.scss} (100%) rename traffic_ops/experimental/ui/app/src/modules/private/monitor/{dashboards/two/dashboards.two.tpl.html => dashboard/dashboard.tpl.html} (97%) rename traffic_ops/experimental/ui/app/src/modules/private/monitor/{dashboards => dashboard}/index.js (78%) delete mode 100644 traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/dashboards.tpl.html delete mode 100644 traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/DashboardsThreeController.js delete mode 100644 traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/_dashboards.three.scss delete mode 100644 traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/dashboards.three.tpl.html delete mode 100644 traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/three/index.js delete mode 100644 traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/DashboardsTwoController.js delete mode 100644 traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/_dashboards.two.scss delete mode 100644 traffic_ops/experimental/ui/app/src/modules/private/monitor/dashboards/two/index.js rename traffic_ops/experimental/ui/app/src/modules/private/monitor/{dashboards/map/DashboardsMapController.js => map/MapController.js} (88%) rename traffic_ops/experimental/ui/app/src/modules/private/monitor/{dashboards/map/_dashboards.map.scss => map/_map.scss} (100%) rename traffic_ops/experimental/ui/app/src/modules/private/monitor/{dashboards => }/map/index.js (77%) rename traffic_ops/experimental/ui/app/src/modules/private/monitor/{dashboards/map/dashboards.map.tpl.html => map/map.tpl.html} (100%) diff --git a/traffic_ops/experimental/ui/app/src/app.js b/traffic_ops/experimental/ui/app/src/app.js index 820ee28f5f..ac4a99d555 100644 --- a/traffic_ops/experimental/ui/app/src/app.js +++ b/traffic_ops/experimental/ui/app/src/app.js @@ -154,10 +154,8 @@ var trafficOps = angular.module('trafficOps', [ require('./modules/private/monitor').name, // dashboards - require('./modules/private/monitor/dashboards').name, - require('./modules/private/monitor/dashboards/map').name, - require('./modules/private/monitor/dashboards/two').name, - require('./modules/private/monitor/dashboards/three').name, + require('./modules/private/monitor/dashboard').name, + require('./modules/private/monitor/map').name, // common modules require('./common/modules/dialog/confirm').name, diff --git a/traffic_ops/experimental/ui/app/src/common/api/AuthService.js b/traffic_ops/experimental/ui/app/src/common/api/AuthService.js index da534fa75c..d1b7c9c476 100644 --- a/traffic_ops/experimental/ui/app/src/common/api/AuthService.js +++ b/traffic_ops/experimental/ui/app/src/common/api/AuthService.js @@ -30,7 +30,7 @@ var AuthService = function($rootScope, $http, $state, $location, $q, $state, htt $location.search('redirect', null); // remove the redirect query param $location.url(redirect); } else { - $location.url('/monitor/dashboards/map'); + $location.url('/monitor/map'); } }, function(fault) { diff --git a/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/form.cacheGroup.tpl.html b/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/form.cacheGroup.tpl.html index 527580844a..40beeb401e 100644 --- a/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/form.cacheGroup.tpl.html +++ b/traffic_ops/experimental/ui/app/src/common/modules/form/cacheGroup/form.cacheGroup.tpl.html @@ -24,14 +24,17 @@
  • {{cacheGroupName}}
  • - - + +