mirror of https://github.com/rancher/ui.git
catalog page
This commit is contained in:
parent
8d00efd788
commit
96fae061d6
|
|
@ -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}}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@
|
|||
}
|
||||
|
||||
$size: 35px;
|
||||
$border: 2px;
|
||||
|
||||
.gh-avatar {
|
||||
width: $size;
|
||||
|
|
|
|||
Loading…
Reference in New Issue