diff --git a/v2.5/assets/css/style.css b/v2.5/assets/css/style.css index afe2e66..480e65b 100644 --- a/v2.5/assets/css/style.css +++ b/v2.5/assets/css/style.css @@ -1039,6 +1039,7 @@ div.toc ul li a { vertical-align: baseline; white-space: nowrap; margin-right: 2px; + width: 120px; } .autofill-success { margin-top: 20px; @@ -1056,6 +1057,31 @@ h4.widget-title:hover { .loadingMask .mask{ opacity: 0.5; } +.tab-panel { + z-index: 10; + margin-left: 30px; +} +.tab-panel.stick { + position: fixed; + z-index: 10000; + top: 10px; +} +.review-padding{ + padding-left: 60px; + padding-right: 60px; +} +.review-network-badge{ + width:130px; +} +.review-targetconfig{ + background:#7E6EB0; +} +.review-host{ + background:#307ECC; +} +.review-osconfig{ + background:#69AA46; +} .centerLoading{ padding-top: 20%; padding-left: 45%; diff --git a/v2.5/src/app/controllers/wizardController.coffee b/v2.5/src/app/controllers/wizardController.coffee index 2024d0b..803ec9f 100644 --- a/v2.5/src/app/controllers/wizardController.coffee +++ b/v2.5/src/app/controllers/wizardController.coffee @@ -257,11 +257,17 @@ define(['./baseController'], ()-> $scope.commit = (sendRequest) -> wizardService.networkMappingCommit($scope, sendRequest) ] - .controller 'reviewCtrl', ['$scope', 'wizardService', 'ngTableParams', '$filter', - ($scope, wizardService, ngTableParams, $filter) -> + .controller 'reviewCtrl', ['$scope', 'wizardService', 'ngTableParams', '$filter', '$location', '$anchorScroll' + ($scope, wizardService, ngTableParams, $filter, $location, $anchorScroll) -> wizardService.reviewInit($scope) wizardService.watchingTriggeredStep($scope) + $scope.scrollTo = (id) -> + old = $location.hash(); + $location.hash(id); + $anchorScroll(); + $location.hash(old); + $scope.commit = (sendRequest) -> wizardService.reviewCommit(sendRequest) diff --git a/v2.5/src/app/partials/review.tpl.html b/v2.5/src/app/partials/review.tpl.html index 925e600..bbc26f6 100644 --- a/v2.5/src/app/partials/review.tpl.html +++ b/v2.5/src/app/partials/review.tpl.html @@ -1,4 +1,365 @@ -