From 7cfc7e2a70e1d0ead5b99c0ab849ac9baf93d941 Mon Sep 17 00:00:00 2001 From: Will Gordon Date: Mon, 27 Aug 2018 15:40:49 -0400 Subject: [PATCH] Update Quay enterprise trial page Signed-off-by: Will Gordon --- static/css/pages/plans.css | 51 +++++++++++--- static/directives/plans-display.html | 88 +++++++++++++++++++++--- static/js/directives/ui/plans-display.js | 4 +- 3 files changed, 119 insertions(+), 24 deletions(-) diff --git a/static/css/pages/plans.css b/static/css/pages/plans.css index d1a96d2c2..e50bfefa5 100644 --- a/static/css/pages/plans.css +++ b/static/css/pages/plans.css @@ -571,28 +571,28 @@ display: block; } -#tectonicManagerDialog .modal-body { +#redhatManagerDialog .modal-body { text-align: center; padding: 40px; } -#tectonicManagerDialog .qe-logo { +#redhatManagerDialog .qe-logo { max-height: 50px; margin-bottom: 30px; max-width: 100%; } -#tectonicManagerDialog b { +#redhatManagerDialog b { display: block; margin-bottom: 15px; } -#tectonicManagerDialog .buttons { +#redhatManagerDialog .buttons { margin-top: 20px; margin-bottom: 20px; } -#tectonicManagerDialog .buttons .btn { +#redhatManagerDialog .buttons .btn { margin-left: 30px; font-size: 14px; padding-left: 20px; @@ -600,17 +600,17 @@ } @media (max-width: 767px) { - #tectonicManagerDialog .buttons .btn { + #redhatManagerDialog .buttons .btn { margin: 0px; margin-top: 20px; } } -#tectonicManagerDialog .buttons .btn:first-child { +#redhatManagerDialog .buttons .btn:first-child { margin-left: 0px; } -#tectonicManagerDialog .shoutout { +#redhatManagerDialog .shoutout { padding: 20px; border: 1px solid #ddd; border-radius: 4px; @@ -623,12 +623,41 @@ margin-bottom: 10px; } -#tectonicManagerDialog .shoutout img { +#redhatManagerDialog .shoutout img { max-width: 260px; max-height: 20px; margin-top: 20px; } -#tectonicManagerDialog .modal-dialog { - max-width: 650px; +#redhatManagerDialog h1 { + margin-bottom: 30px; +} + +#redhatManagerDialog .plan-box .step-text { + font-size: 18px; + margin: 15px 0 5px; +} + +#redhatManagerDialog .plan-box p { + margin-left: 10px; +} + +#redhatManagerDialog a { + color: #44a2f3; +} + +#redhatManagerDialog a:focus, #redhatManagerDialog a:hover { + color: #b2daff; +} + +@media screen and (min-width: 992px) { + #redhatManagerDialog .plan-box.same-height { + min-height: 938px; + } +} + +@media screen and (min-width: 1200px) { + #redhatManagerDialog .plan-box.same-height { + min-height: 767px; + } } diff --git a/static/directives/plans-display.html b/static/directives/plans-display.html index f9c7efc6a..95b9d4f60 100644 --- a/static/directives/plans-display.html +++ b/static/directives/plans-display.html @@ -544,23 +544,89 @@ - diff --git a/static/js/directives/ui/plans-display.js b/static/js/directives/ui/plans-display.js index 8fc927f90..48a394c74 100644 --- a/static/js/directives/ui/plans-display.js +++ b/static/js/directives/ui/plans-display.js @@ -24,7 +24,7 @@ angular.module('quay').directive('plansDisplay', function () { }; $scope.qeStartTrial = function() { - $('#tectonicManagerDialog').modal('show'); + $('#redhatManagerDialog').modal('show'); }; $scope.buyNow = function(plan) { @@ -57,4 +57,4 @@ angular.module('quay').directive('plansDisplay', function () { } }; return directiveDefinitionObject; -}); \ No newline at end of file +});