diff --git a/CHANGELOG.md b/CHANGELOG.md index d1a2277..8bb413f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,9 @@ # Changelog + +## [1.3.2] - 2026-04-13 +### Added +- Añadida opción para restaurar sólo cache o cache y particion. + ## [1.3.1] - 2026-04-09 ### Added - Añadida información de la fecha de despliegue de una imagen en una particion. diff --git a/ogWebconsole/src/app/components/groups/components/client-main-view/deploy-image/deploy-image.component.css b/ogWebconsole/src/app/components/groups/components/client-main-view/deploy-image/deploy-image.component.css index 6a2a8a6..05cebdb 100644 --- a/ogWebconsole/src/app/components/groups/components/client-main-view/deploy-image/deploy-image.component.css +++ b/ogWebconsole/src/app/components/groups/components/client-main-view/deploy-image/deploy-image.component.css @@ -708,11 +708,83 @@ table { font-size: 13px; } -.section-hint mat-icon { - color: #667eea; - font-size: 18px; - width: 18px; - height: 18px; +/* Deploy mode radio group */ +.form-section-row { + display: flex; + align-items: flex-start; + gap: 20px; + flex-wrap: wrap; + margin-bottom: 20px; + padding: 16px 20px; + background: #f7faff; + border-radius: 10px; + border: 1px solid #e2e8ff; } +.deploy-mode-label { + display: flex; + align-items: center; + gap: 8px; + font-size: 14px; + font-weight: 600; + color: #2c3e50; + min-width: 140px; + padding-top: 12px; +} + +.deploy-mode-label mat-icon { + color: #667eea; +} + +.deploy-mode-radio-group { + display: flex; + gap: 16px; + flex-wrap: wrap; +} + +.deploy-mode-radio { + border: 2px solid #e2e8ff; + border-radius: 10px; + padding: 10px 16px; + background: white; + transition: border-color 0.2s, box-shadow 0.2s; + cursor: pointer; +} + +.deploy-mode-radio:has(.mat-radio-button-checked), +.deploy-mode-radio:hover { + border-color: #667eea; + box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15); +} + +.deploy-mode-option { + display: flex; + align-items: center; + gap: 10px; +} + +.deploy-mode-option mat-icon { + color: #667eea; + font-size: 20px; + width: 20px; + height: 20px; +} + +.deploy-mode-option div { + display: flex; + flex-direction: column; +} + +.deploy-mode-option-title { + font-size: 13px; + font-weight: 600; + color: #2c3e50; + line-height: 1.2; +} + +.deploy-mode-option-desc { + font-size: 11px; + color: #6c757d; + margin-top: 2px; +} diff --git a/ogWebconsole/src/app/components/groups/components/client-main-view/deploy-image/deploy-image.component.html b/ogWebconsole/src/app/components/groups/components/client-main-view/deploy-image/deploy-image.component.html index 1b10903..b1c6d89 100644 --- a/ogWebconsole/src/app/components/groups/components/client-main-view/deploy-image/deploy-image.component.html +++ b/ogWebconsole/src/app/components/groups/components/client-main-view/deploy-image/deploy-image.component.html @@ -198,6 +198,36 @@ + + @if (imageType === 'monolithic' && selectedMethod && !isDirectMethod()) { +
| {{ column.header }} | -
- @if (column.columnDef !== 'size' && column.columnDef !== 'operativeSystem') {
+ @for (column of columns; track column.columnDef) {
+ | {{ column.header }} |
+
+ @if (column.columnDef !== 'size' && column.columnDef !== 'operativeSystem') {
{{ column.cell(image) }}
- }
- @if (column.columnDef === 'size') {
+ }
+ @if (column.columnDef === 'size') {
|
-
@if (image.filesystem === 'CACHE' && image.cacheContent) {
- Contenido:
- @for (item of parseCacheContent(image.cacheContent); track item.name) {
-
- }
-
- • {{ item.name }} ({{ item.size }})
-
- }
+ Contenido:
+ @for (item of parseCacheContent(image.cacheContent); track item.name) {
+
+ • {{ item.name }} ({{ item.size }})
+
+ }
}
@if (image.filesystem !== 'CACHE' || !image.cacheContent) {
- {{image.operativeSystem?.name }}
- {{ image.image?.name }}
- @if (image.deployDate) {
- Instalada el {{ image.deployDate | date:'dd/MM/yyyy HH:mm' }}
- }
+ {{image.operativeSystem?.name }}
+ {{ image.image?.name }}
+ @if (image.deployDate) {
+ Desplegada: {{ image.deployDate | date:'dd/MM/yyyy HH:mm' }}
+ }
}
|
+
|---|