mirror of https://github.com/rancher/dashboard.git
Move type description to the top
This commit is contained in:
parent
378ea3413f
commit
a64fd63168
|
|
@ -85,6 +85,14 @@ export default {
|
|||
|
||||
<template>
|
||||
<header>
|
||||
<Banner
|
||||
v-if="typeDescriptionKey"
|
||||
class="type-banner mb-20 mt-0"
|
||||
color="info"
|
||||
:closable="true"
|
||||
:label-key="typeDescriptionKey"
|
||||
@close="hideTypeDescription"
|
||||
/>
|
||||
<h1>
|
||||
{{ typeDisplay }} <Favorite v-if="isExplorer" :resource="resource" />
|
||||
</h1>
|
||||
|
|
@ -148,13 +156,5 @@ export default {
|
|||
</template>
|
||||
</ButtonDropdown>
|
||||
</div>
|
||||
<Banner
|
||||
v-if="typeDescriptionKey"
|
||||
class="state-banner mt-20 mb-0"
|
||||
color="info"
|
||||
:closable="true"
|
||||
:label-key="typeDescriptionKey"
|
||||
@close="hideTypeDescription"
|
||||
/>
|
||||
</header>
|
||||
</template>
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
<script>
|
||||
import ClusterRepo from './catalog.cattle.io.clusterrepo';
|
||||
export default ClusterRepo;
|
||||
</script>
|
||||
|
|
@ -319,7 +319,8 @@ export default {
|
|||
|
||||
HEADER {
|
||||
display: grid;
|
||||
grid-template-areas: "title actions"
|
||||
grid-template-areas: "type-banner type-banner"
|
||||
"title actions"
|
||||
"state-banner state-banner";
|
||||
grid-template-columns: "auto min-content";
|
||||
margin-bottom: 20px;
|
||||
|
|
@ -330,6 +331,10 @@ export default {
|
|||
margin: 0;
|
||||
}
|
||||
|
||||
.type-banner {
|
||||
grid-area: type-banner;
|
||||
}
|
||||
|
||||
.state-banner {
|
||||
grid-area: state-banner;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue