3
0

Adjust resource list heights to fill screen

This commit is contained in:
Jože Fortun
2023-11-08 12:38:13 +01:00
parent 4fe063e141
commit c418d022f0
45 changed files with 62 additions and 51 deletions
@@ -1,7 +1,7 @@
<template>
<b-container
fluid
class="d-flex flex-column h-100 py-3"
class="d-flex flex-column h-100 pt-2 pb-3"
>
<c-content-header
:title="$t('ui.title.automation')"
@@ -1,7 +1,7 @@
<template>
<b-container
fluid="xl"
class="d-flex flex-column h-100 py-3"
class="d-flex flex-column h-100 pt-2 pb-3"
>
<c-content-header :title="$t('title')" />
@@ -1,6 +1,6 @@
<template>
<b-container
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="$t('title')"
@@ -1,7 +1,7 @@
<template>
<b-container
fluid="xl"
class="d-flex flex-column h-100 py-3"
class="d-flex flex-column flex-fill pt-2 pb-3"
>
<c-content-header :title="$t('title')" />
@@ -28,7 +28,7 @@
sticky-header
hide-search
:hide-total="!pagination.incTotal"
class="custom-resource-list-height-no-buttons"
class="custom-resource-list-height flex-fill"
@row-clicked="handleRowClicked"
>
<template #header>
@@ -1,7 +1,7 @@
<template>
<b-container
v-if="workflow"
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="title"
@@ -1,6 +1,7 @@
<template>
<b-container
fluid="xl"
class="d-flex flex-column flex-fill pt-2 pb-3"
>
<c-content-header :title="$t('title')" />
@@ -26,7 +27,7 @@
}"
clickable
sticky-header
class="custom-resource-list-height"
class="custom-resource-list-height flex-fill"
@search="filterList"
@row-clicked="handleRowClicked"
>
@@ -1,7 +1,7 @@
<template>
<b-container
fluid
class="d-flex flex-column h-100 py-3"
class="d-flex flex-column h-100 pt-2 pb-3"
>
<c-content-header
:title="$t('ui.title.compose')"
@@ -1,6 +1,6 @@
<template>
<b-container
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="$t('title')"
+1 -2
View File
@@ -1,6 +1,6 @@
<template>
<b-container
class="d-flex flex-column py-3 flex-fill"
class="d-flex flex-column pt-2 pb-3 flex-fill"
>
<c-content-header
:title="$t('title')"
@@ -9,7 +9,6 @@
ui-page="dashboard"
ui-slot="toolbar"
resource-type="system'"
class="mr-1"
@click="dispatchCortezaSystemEvent($event)"
/>
</c-content-header>
@@ -1,6 +1,6 @@
<template>
<b-container
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="title"
@@ -1,6 +1,7 @@
<template>
<b-container
fluid="xl"
class="d-flex flex-column flex-fill pt-2 pb-3"
>
<c-content-header :title="$t('title')" />
@@ -24,7 +25,7 @@
clickable
sticky-header
hide-total
class="custom-resource-list-height"
class="custom-resource-list-height flex-fill"
@row-clicked="handleRowClicked"
@search="filterList"
>
@@ -1,7 +1,7 @@
<template>
<b-container
fluid
class="d-flex flex-column h-100 py-3"
class="d-flex flex-column h-100 pt-2 pb-3"
>
<c-content-header
:title="$t('ui.title.federation')"
+1 -1
View File
@@ -70,7 +70,7 @@
}"
/>
</template>
<div class="d-flex flex-column w-100">
<div class="d-flex flex-column w-100 flex-fill">
<router-view />
</div>
</main>
@@ -1,7 +1,7 @@
<template>
<b-container
fluid="xl"
class="d-flex flex-column h-100 py-3"
class="d-flex flex-column h-100 pt-2 pb-3"
>
<c-content-header
:title="$t('title')"
@@ -1,5 +1,5 @@
<template>
<b-container class="py-3">
<b-container class="pt-2 pb-3">
<c-content-header
:title="$t('title')"
class="mb-2"
@@ -1,6 +1,7 @@
<template>
<b-container
class="py-3"
fluid="xl"
class="d-flex flex-column flex-fill pt-2 pb-3"
>
<c-content-header :title="$t('title')" />
@@ -16,7 +17,7 @@
/>
<c-route-list
class="mb-4 flex-fill"
class="flex-fill"
/>
</div>
</b-container>
@@ -1,6 +1,6 @@
<template>
<b-container
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="$t('hit.title')"
@@ -1,7 +1,8 @@
<template>
<b-container
data-tets-id="profiler"
class="py-3"
fluid="xl"
class="d-flex flex-column flex-fill pt-2 pb-3"
>
<c-content-header
:title="$t('title')"
@@ -10,7 +11,7 @@
<b-card
no-body
data-test-id="card-profiler"
class="shadow-sm"
class="flex-fill shadow-sm"
footer-class="d-flex align-items-center justify-content-center"
footer-bg-variant="white"
header-bg-variant="white"
@@ -1,6 +1,6 @@
<template>
<b-container
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="title"
@@ -1,7 +1,7 @@
<template>
<b-container
v-if="application"
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="title"
@@ -1,6 +1,7 @@
<template>
<b-container
fluid="xl"
class="d-flex flex-column flex-fill pt-2 pb-3"
>
<c-content-header :title="$t('title')" />
@@ -26,7 +27,7 @@
}"
clickable
sticky-header
class="custom-resource-list-height"
class="custom-resource-list-height flex-fill"
@search="filterList"
@row-clicked="handleRowClicked"
>
@@ -1,7 +1,7 @@
<template>
<b-container
v-if="authclient"
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="title"
@@ -1,6 +1,7 @@
<template>
<b-container
fluid="xl"
class="d-flex flex-column flex-fill pt-2 pb-3"
>
<c-content-header :title="$t('title')" />
@@ -27,7 +28,7 @@
clickable
sticky-header
hide-search
class="custom-resource-list-height"
class="custom-resource-list-height flex-fill"
@search="filterList"
@row-clicked="handleRowClicked"
>
@@ -1,6 +1,6 @@
<template>
<b-container
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="connectionID ? $t('title.edit') : $t('title.create')"
@@ -1,6 +1,7 @@
<template>
<b-container
class="py-3 h-100"
fluid="xl"
class="d-flex flex-column flex-fill pt-2 pb-3"
>
<c-content-header
:title="$t('title')"
@@ -14,7 +15,7 @@
/>
<c-external-connection-list
class="mb-4 flex-fill"
class="flex-fill"
/>
<!-- <c-federated-node-list /> -->
@@ -1,6 +1,6 @@
<template>
<b-container
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="$t('title')"
@@ -1,7 +1,7 @@
<template>
<b-container
fluid
class="d-flex flex-column h-100 py-3"
class="d-flex flex-column h-100 pt-2 pb-3"
>
<c-content-header
:title="$t('ui.title.system')"
@@ -1,7 +1,7 @@
<template>
<b-container
v-if="queue"
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="title"
@@ -1,6 +1,7 @@
<template>
<b-container
fluid="xl"
class="d-flex flex-column flex-fill pt-2 pb-3"
>
<c-content-header :title="$t('title')" />
@@ -26,7 +27,7 @@
}"
clickable
sticky-header
class="custom-resource-list-height"
class="custom-resource-list-height flex-fill"
@search="filterList"
@row-clicked="handleRowClicked"
>
@@ -1,7 +1,7 @@
<template>
<b-container
v-if="role"
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="title"
@@ -1,6 +1,7 @@
<template>
<b-container
fluid="xl"
class="d-flex flex-column flex-fill pt-2 pb-3"
>
<c-content-header :title="$t('title')" />
@@ -26,7 +27,7 @@
}"
clickable
sticky-header
class="custom-resource-list-height"
class="custom-resource-list-height flex-fill"
@search="filterList"
@row-clicked="handleRowClicked"
>
@@ -1,7 +1,7 @@
<template>
<b-container
v-if="sensitivityLevel"
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="title"
@@ -1,6 +1,7 @@
<template>
<b-container
fluid="xl"
class="d-flex flex-column flex-fill pt-2 pb-3"
>
<c-content-header :title="$t('title')" />
@@ -26,7 +27,7 @@
clickable
sticky-header
hide-search
class="custom-resource-list-height"
class="custom-resource-list-height flex-fill"
@row-clicked="handleRowClicked"
>
<template #header>
@@ -1,6 +1,6 @@
<template>
<b-container
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="$t('title')"
@@ -1,7 +1,7 @@
<template>
<b-container
v-if="template"
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="title"
@@ -1,6 +1,7 @@
<template>
<b-container
fluid="xl"
class="d-flex flex-column flex-fill pt-2 pb-3"
>
<c-content-header :title="$t('title')" />
@@ -26,7 +27,7 @@
}"
clickable
sticky-header
class="custom-resource-list-height"
class="custom-resource-list-height flex-fill"
@search="filterList"
@row-clicked="handleRowClicked"
>
@@ -1,7 +1,7 @@
<template>
<b-container
v-if="user"
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="title"
@@ -1,6 +1,7 @@
<template>
<b-container
fluid="xl"
class="d-flex flex-column flex-fill pt-2 pb-3"
>
<c-content-header :title="$t('title')" />
@@ -26,7 +27,7 @@
}"
clickable
sticky-header
class="custom-resource-list-height"
class="custom-resource-list-height flex-fill"
@search="filterList"
@row-clicked="handleRowClicked"
>
+1 -1
View File
@@ -1,6 +1,6 @@
<template>
<b-container
class="py-3"
class="pt-2 pb-3"
>
<c-content-header
:title="$t('title')"
@@ -28,7 +28,7 @@
}"
clickable
sticky-header
class="h-100"
class="h-100 flex-fill"
@search="filterList"
@row-clicked="handleRowClicked"
>
@@ -29,7 +29,7 @@
}"
clickable
sticky-header
class="h-100"
class="h-100 flex-fill"
@search="filterList"
@row-clicked="handleRowClicked"
>
@@ -45,7 +45,7 @@
}"
clickable
sticky-header
class="h-100"
class="h-100 flex-fill"
@search="filterList"
@row-clicked="handleRowClicked"
>
@@ -1,6 +1,6 @@
<template>
<div
class="app-selector d-flex flex-column h-100"
class="app-selector d-flex flex-column h-100 mt-3"
>
<div class="d-flex justify-content-center align-items-center">
<b-img
@@ -28,7 +28,7 @@
}"
sticky-header
clickable
class="h-100"
class="h-100 flex-fill"
@search="filterList"
@row-clicked="viewReport"
>
@@ -1,7 +1,7 @@
<template>
<b-container
fluid="xl"
class="py-3 d-flex flex-column"
class="d-flex flex-column py-3"
>
<portal to="topbar-title">
{{ $t('general:workflow-list') }}
@@ -29,7 +29,7 @@
}"
clickable
sticky-header
class="h-100"
class="h-100 flex-fill"
@search="filterList"
@row-clicked="handleRowClicked"
>