Skip to content

Commit a172029

Browse files
author
OpenShift Bot
authored
Merge pull request #1411 from spadgett/bump-origin-web-catalog
Merged by openshift-bot
2 parents 428eb00 + 2c06708 commit a172029

File tree

7 files changed

+100
-86
lines changed

7 files changed

+100
-86
lines changed

app/styles/_catalog.less

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,23 @@
1-
@landing-side-bar-top-offset: @navbar-os-header-height-desktop;
2-
@landing-side-bar-width-lg: 425px;
3-
@landing-side-bar-width-md: 375px;
4-
@landing-side-bar-width-sm: 325px;
1+
@landing-search-area-height: 52px;
52

6-
.console-os .wrap.no-sidebar .middle.landing-page {
3+
.landing {
74
background: @panel-shaded;
8-
flex: none;
9-
h1, .nav-tabs {
10-
margin-bottom: 0;
11-
}
125
@media(min-width: @screen-sm-min){
13-
overflow-y: auto;
14-
width: calc(100% ~"-" @landing-side-bar-width-sm);
6+
top: @landing-search-area-height;
157
}
16-
@media(min-width: @screen-md-min) {
17-
width: calc(100% ~"-" @landing-side-bar-width-md);
8+
.catalogs-overlay-modal .wizard-pf-body .wizard-pf-main {
9+
.row();
10+
padding-left: 0;
11+
padding-right: 0;
1812
}
19-
20-
@media(min-width: @screen-lg-min) {
21-
width: calc(100% ~"-" @landing-side-bar-width-lg);
13+
h1, .nav-tabs {
14+
margin-bottom: 0 !important;
15+
margin-top: 0 !important;
2216
}
2317
}
2418

2519
@media(min-width: @screen-sm-min) {
26-
.landing-side-bar {
27-
top: @landing-side-bar-top-offset;
20+
.catalog-search, .landing-side-bar {
21+
top: @navbar-os-header-height-desktop;
2822
}
2923
}

app/views/landing-page.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,14 @@
88
<div class="middle-section">
99
<div class="middle-container">
1010
<div class="middle-content">
11-
<landing-page service-classes="serviceClasses" image-streams="imageStreams">
11+
<landing-page>
12+
<landingsearch>
13+
<catalog-search
14+
service-classes="serviceClasses"
15+
image-streams="imageStreams"
16+
base-project-url="project">
17+
</catalog-search>
18+
</landingsearch>
1219
<landingheader>
1320
<div class="build-applications-view">
1421
<saas-list saas-offerings="saasOfferings"></saas-list>

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"file-saver": "1.3.3",
4949
"bootstrap-switch": "3.3.3",
5050
"origin-web-common": "0.0.12",
51-
"origin-web-catalog": "0.0.6"
51+
"origin-web-catalog": "0.0.7"
5252
},
5353
"devDependencies": {
5454
"angular-mocks": "1.5.11",

dist/scripts/templates.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10253,7 +10253,11 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function(
1025310253
"<div class=\"middle-section\">\n" +
1025410254
"<div class=\"middle-container\">\n" +
1025510255
"<div class=\"middle-content\">\n" +
10256-
"<landing-page service-classes=\"serviceClasses\" image-streams=\"imageStreams\">\n" +
10256+
"<landing-page>\n" +
10257+
"<landingsearch>\n" +
10258+
"<catalog-search service-classes=\"serviceClasses\" image-streams=\"imageStreams\" base-project-url=\"project\">\n" +
10259+
"</catalog-search>\n" +
10260+
"</landingsearch>\n" +
1025710261
"<landingheader>\n" +
1025810262
"<div class=\"build-applications-view\">\n" +
1025910263
"<saas-list saas-offerings=\"saasOfferings\"></saas-list>\n" +

dist/scripts/vendor.js

Lines changed: 17 additions & 18 deletions
Large diffs are not rendered by default.

dist/styles/main.css

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ dd{margin-left:0}
404404
@media (min-width:415px){.dl-horizontal dt{float:left;width:160px;clear:left;text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
405405
.dl-horizontal dd{margin-left:180px}
406406
}
407-
.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.dropdown-menu>li>a,.form-horizontal .form-group:after,.list-view-pf .list-group-item:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after,ul.messenger.messenger-theme-flat .messenger-message:after{clear:both}
407+
.btn-group-vertical>.btn-group:after,.btn-toolbar:after,.clearfix:after,.container-fluid:after,.container:after,.dl-horizontal dd:after,.dropdown-menu>li>a,.form-horizontal .form-group:after,.landing .catalogs-overlay-modal .wizard-pf-body .wizard-pf-main:after,.list-view-pf .list-group-item:after,.modal-footer:after,.modal-header:after,.nav:after,.navbar-collapse:after,.navbar-header:after,.navbar:after,.pager:after,.panel-body:after,.row:after,ul.messenger.messenger-theme-flat .messenger-message:after{clear:both}
408408
abbr[data-original-title],abbr[title]{cursor:help;border-bottom:1px dotted #9c9c9c}
409409
.initialism{font-size:90%;text-transform:uppercase}
410410
blockquote{padding:10.5px 21px;margin:0 0 21px;font-size:16.25px;border-left:5px solid #f1f1f1}
@@ -1372,7 +1372,7 @@ button.close{padding:0;cursor:pointer;background:0 0;border:0;-webkit-appearance
13721372
.carousel-caption{left:20%;right:20%;padding-bottom:30px}
13731373
.carousel-indicators{bottom:20px}
13741374
}
1375-
.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{content:" ";display:table}
1375+
.btn-group-vertical>.btn-group:after,.btn-group-vertical>.btn-group:before,.btn-toolbar:after,.btn-toolbar:before,.clearfix:after,.clearfix:before,.container-fluid:after,.container-fluid:before,.container:after,.container:before,.dl-horizontal dd:after,.dl-horizontal dd:before,.form-horizontal .form-group:after,.form-horizontal .form-group:before,.landing .catalogs-overlay-modal .wizard-pf-body .wizard-pf-main:after,.landing .catalogs-overlay-modal .wizard-pf-body .wizard-pf-main:before,.modal-footer:after,.modal-footer:before,.modal-header:after,.modal-header:before,.nav:after,.nav:before,.navbar-collapse:after,.navbar-collapse:before,.navbar-header:after,.navbar-header:before,.navbar:after,.navbar:before,.pager:after,.pager:before,.panel-body:after,.panel-body:before,.row:after,.row:before{content:" ";display:table}
13761376
.center-block{display:block;margin-left:auto;margin-right:auto}
13771377
.fa.fa-pull-left,.fa.pull-left{margin-right:.3em}
13781378
.pull-right{float:right!important}
@@ -3686,6 +3686,7 @@ table.dataTable th:active{outline:0}
36863686
.weight-slider-values .weight-percentage{font-size:15px;margin-left:5px}
36873687
@media (min-width:768px){.weight-slider-values{-webkit-flex-direction:row;-moz-flex-direction:row;-ms-flex-direction:row;flex-direction:row;justify-content:space-between}
36883688
.weight-slider-values .weight-percentage{margin-right:5px}
3689+
.landing{top:52px}
36893690
}
36903691
.osc-file-input textarea{font-family:Menlo,Monaco,Consolas,monospace;margin:5px 0}
36913692
.health-checks-form .pause-rollouts-checkbox,.set-limits-form .pause-rollouts-checkbox{margin-top:21px}
@@ -3702,14 +3703,10 @@ table.dataTable th:active{outline:0}
37023703
.row-cards-pf-flex .card-pf-body-with-version{display:flex;flex-direction:column;justify-content:space-between}
37033704
.row-cards-pf-flex .card-pf-footer .btn{margin-bottom:10px}
37043705
.row-cards-pf-flex .card-pf-title{line-height:1.3;margin:0;overflow:hidden;text-overflow:ellipsis}
3705-
.console-os .wrap.no-sidebar .middle.landing-page{background:#f2f2f2;flex:none}
3706-
.console-os .wrap.no-sidebar .middle.landing-page .nav-tabs,.console-os .wrap.no-sidebar .middle.landing-page h1{margin-bottom:0}
3707-
@media (min-width:768px){.console-os .wrap.no-sidebar .middle.landing-page{overflow-y:auto;width:calc(100% - 325px)}
3708-
.landing-side-bar{top:60px}
3709-
}
3710-
@media (min-width:992px){.console-os .wrap.no-sidebar .middle.landing-page{width:calc(100% - 375px)}
3711-
}
3712-
@media (min-width:1200px){.console-os .wrap.no-sidebar .middle.landing-page{width:calc(100% - 425px)}
3706+
.landing{background:#f2f2f2}
3707+
.landing .catalogs-overlay-modal .wizard-pf-body .wizard-pf-main{margin-left:-20px;margin-right:-20px;padding-left:0;padding-right:0}
3708+
.landing .nav-tabs,.landing h1{margin-bottom:0!important;margin-top:0!important}
3709+
@media (min-width:768px){.catalog-search,.landing-side-bar{top:60px}
37133710
}
37143711
.collapse{display:none}
37153712
.collapse.in{display:block}

dist/styles/vendor.css

Lines changed: 50 additions & 37 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)