refs #1477. Refactor repository view styles and structure for improved layout and readability
testing/ogGui-multibranch/pipeline/head There was a failure building this commit
Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit
Details
parent
3c9458d15a
commit
ee37287f9e
|
@ -1,3 +1,16 @@
|
|||
.header-container {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 10px 10px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.header-container-title {
|
||||
flex-grow: 1;
|
||||
text-align: left;
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
.client-header {
|
||||
display: flex;
|
||||
|
@ -36,20 +49,24 @@
|
|||
.charts-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between; /* Distribuye el espacio entre los gráficos */
|
||||
gap: 20px; /* Añade espacio entre los gráficos */
|
||||
justify-content: space-between;
|
||||
/* Distribuye el espacio entre los gráficos */
|
||||
gap: 20px;
|
||||
/* Añade espacio entre los gráficos */
|
||||
}
|
||||
|
||||
.disk-usage {
|
||||
text-align: center;
|
||||
flex: 1;
|
||||
min-width: 200px; /* Ajusta este valor según el tamaño mínimo deseado para cada gráfico */
|
||||
min-width: 200px;
|
||||
/* Ajusta este valor según el tamaño mínimo deseado para cada gráfico */
|
||||
}
|
||||
|
||||
.circular-chart {
|
||||
max-width: 150px;
|
||||
max-height: 150px;
|
||||
margin: 0 auto; /* Centra el gráfico dentro del contenedor */
|
||||
margin: 0 auto;
|
||||
/* Centra el gráfico dentro del contenedor */
|
||||
}
|
||||
|
||||
.chart {
|
||||
|
@ -89,7 +106,7 @@
|
|||
gap: 15px;
|
||||
}
|
||||
|
||||
.save-button{
|
||||
.save-button {
|
||||
align-self: flex-start;
|
||||
width: 100px !important;
|
||||
margin-top: 20px;
|
||||
|
@ -110,7 +127,7 @@
|
|||
}
|
||||
|
||||
.mat-elevation-z8 {
|
||||
box-shadow: 0px 0px 0px rgba(0,0,0,0.2);
|
||||
box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.table-row {
|
||||
|
@ -135,10 +152,6 @@
|
|||
min-height: 400px;
|
||||
}
|
||||
|
||||
.main-container {
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.mat-tab-body-wrapper {
|
||||
min-height: inherit;
|
||||
}
|
||||
|
@ -170,7 +183,7 @@
|
|||
}
|
||||
|
||||
|
||||
.disk-usage-info{
|
||||
.disk-usage-info {
|
||||
display: flex;
|
||||
justify-content: start;
|
||||
margin-top: 10px;
|
||||
|
@ -178,9 +191,7 @@
|
|||
|
||||
p {
|
||||
margin-left: 15px;
|
||||
}.dashboard {
|
||||
padding: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.disk-usage-container {
|
||||
display: flex;
|
||||
|
@ -190,8 +201,7 @@ p {
|
|||
|
||||
.header-button-container {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
gap: 15px;
|
||||
}
|
||||
|
||||
.disk-usage {
|
||||
|
@ -231,7 +241,8 @@ table {
|
|||
.button-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px; /* Espacio entre botones */
|
||||
gap: 10px;
|
||||
/* Espacio entre botones */
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
|
@ -262,7 +273,7 @@ table {
|
|||
margin-top: 50px;
|
||||
}
|
||||
|
||||
.search-container {
|
||||
.search-container {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
@ -281,17 +292,8 @@ table {
|
|||
padding: 5px;
|
||||
}
|
||||
|
||||
.header-container {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 100px;
|
||||
padding: 10px;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.mat-elevation-z8 {
|
||||
box-shadow: 0px 0px 0px rgba(0,0,0,0.2);
|
||||
box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.paginator-container {
|
||||
|
@ -300,8 +302,7 @@ table {
|
|||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
|
||||
.dashboard {
|
||||
.server-status {
|
||||
padding: 20px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -381,5 +382,4 @@ table {
|
|||
.top-row .card {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
|
@ -1,6 +1,6 @@
|
|||
<mat-tab-group class="main-container" dynamicHeight>
|
||||
<mat-tab-group dynamicHeight>
|
||||
<mat-tab label="Estado servidor">
|
||||
<div class="dashboard">
|
||||
<div class="server-status">
|
||||
<h2>OgRepository Server Status</h2>
|
||||
|
||||
<div class="row top-row">
|
||||
|
@ -76,16 +76,18 @@
|
|||
</div>
|
||||
</mat-tab>
|
||||
|
||||
|
||||
<mat-tab label="Datos generales">
|
||||
<div class="dashboard">
|
||||
<div class="header-button-container">
|
||||
<button mat-flat-button color="primary" (click)="syncRepository()">Sincronizar base de datos</button>
|
||||
<button mat-flat-button color="accent" (click)="openImageInfoDialog()">Ver Información</button>
|
||||
<div class="general-data">
|
||||
<div class="header-container">
|
||||
<div class="header-container-title">
|
||||
<h2>Editar datos repositorio</h2>
|
||||
</div>
|
||||
<div class="header-button-container">
|
||||
<button mat-flat-button color="primary" (click)="syncRepository()">Sincronizar base de datos</button>
|
||||
<button mat-flat-button color="accent" (click)="openImageInfoDialog()">Ver Información</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h2>Editar datos repositorio</h2>
|
||||
|
||||
<app-loading [isLoading]="loading"></app-loading>
|
||||
|
||||
<div *ngIf="!loading" class="client-info form-container">
|
||||
|
@ -113,6 +115,6 @@
|
|||
</mat-tab>
|
||||
|
||||
<mat-tab label="Listado de imágenes">
|
||||
<app-repository-images [repositoryUuid] ="repositoryId"></app-repository-images>
|
||||
<app-repository-images [repositoryUuid]="repositoryId"></app-repository-images>
|
||||
</mat-tab>
|
||||
</mat-tab-group>
|
|
@ -1,20 +1,11 @@
|
|||
.title {
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.images-button-row {
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.divider {
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
.search-container {
|
||||
|
@ -22,7 +13,7 @@ table {
|
|||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
padding: 0 5px;
|
||||
margin: 1.5rem 0rem 1.5rem 0rem;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
@ -40,7 +31,8 @@ table {
|
|||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
padding: 10px;
|
||||
padding: 10px 10px;
|
||||
border-bottom: 1px solid #ddd;
|
||||
}
|
||||
|
||||
.mat-elevation-z8 {
|
||||
|
|
|
@ -11,8 +11,6 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<mat-divider class="divider"></mat-divider>
|
||||
|
||||
<div class="search-container">
|
||||
<mat-form-field appearance="fill" class="search-string" joyrideStep="searchImagesField" text="Busca una imagen por nombre. Pulsa 'enter' para iniciar la búsqueda.">
|
||||
<mat-label>{{ 'searchLabel' | translate }}</mat-label>
|
||||
|
|
Loading…
Reference in New Issue