catalog page

This commit is contained in:
lvuch 2017-03-07 10:07:17 -07:00
parent 8d00efd788
commit 96fae061d6
3 changed files with 14 additions and 4 deletions

View File

@ -90,6 +90,18 @@
{{/if}}
</h4>
<div class="mt-10 description">{{catalogItem.description}}</div>
{{else if (eq section 'footer')}}
{{#if (eq catalogItem.templateBase 'infra')}}
{{#if catalogItem.exists}}
<button type="button" class="btn btn-sm bg-default bg-disabled" {{action "launch" catalogItem.id true allowedKeys="meta ctrl"}}>{{t 'catalogPage.index.action.alreadyDeployed'}}</button>
{{else if catalogItem.supported}}
<button class="btn btn-sm bg-primary" {{action "launch" catalogItem.id}}>{{t 'catalogPage.index.action.launch'}}</button>
{{else}}
<button type="button" class="btn btn-sm bg-default bg-disabled" {{action "launch" catalogItem.id true allowedKeys="meta ctrl"}}>{{t 'catalogPage.index.action.notCompatible'}}</button>
{{/if}}
{{else}}
<button type="button" class="btn btn-sm bg-primary" {{action "launch" catalogItem.id}}>{{t 'catalogPage.index.action.launch'}}</button>
{{/if}}
{{/if}}
{{/catalog-box}}
{{else}}

View File

@ -7,13 +7,13 @@ $lines-to-show: 4;
.catalog-box {
position: relative;
border: solid $accent-border;
height: $container-height;
width: $container-width;
margin: 15px;
float: left;
text-align: center;
transition: ease all .25s;
border: $border solid 3px;
.footer {
position: absolute;
@ -37,7 +37,7 @@ $lines-to-show: 4;
}
.itemwrap {
max-height: 119px;
max-height: 129px;
overflow: hidden;
}
@ -76,7 +76,6 @@ $lines-to-show: 4;
.catalog-icon {
margin: 0 auto;
line-height: 80px;
padding: 15px 5px 5px 5px;
background: rgba(255,255,255,.9);
min-height: 110px;

View File

@ -38,7 +38,6 @@
}
$size: 35px;
$border: 2px;
.gh-avatar {
width: $size;