From 245f05091373497e340d25a9c9c8ab1588f8b2ae Mon Sep 17 00:00:00 2001 From: apuente Date: Wed, 14 Aug 2024 17:02:19 +0200 Subject: [PATCH] PXE templates --- .../edit-pxe-template.component.css | 86 +++++++++++++++++++ .../edit-pxe-template.component.html | 4 +- 2 files changed, 88 insertions(+), 2 deletions(-) diff --git a/ogWebconsole/src/app/components/pxe/pxe/edit-pxe-template/edit-pxe-template.component.css b/ogWebconsole/src/app/components/pxe/pxe/edit-pxe-template/edit-pxe-template.component.css index e69de29..e991549 100644 --- a/ogWebconsole/src/app/components/pxe/pxe/edit-pxe-template/edit-pxe-template.component.css +++ b/ogWebconsole/src/app/components/pxe/pxe/edit-pxe-template/edit-pxe-template.component.css @@ -0,0 +1,86 @@ +mat-form-field { + width: 100%; + margin-bottom: 16px; + padding: 5px; + } + + .button-group { + display: flex; + justify-content: space-between; + } + + button { + width: 48%; + } + + :host { + display: block; + padding: 20px; + background-color: #f5f5f5; + border-radius: 8px; + box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); +} + +.mat-form-field { + width: 100%; + margin-bottom: 16px; +} + +.mat-step-label { + font-weight: bold; + font-size: 1.1em; +} + +button { + margin: 8px 0; +} + +.mat-stepper-header { + background-color: #fff; + padding: 16px; + border-bottom: 1px solid #e0e0e0; + border-radius: 8px 8px 0 0; +} + +.mat-stepper-horizontal-line { + border-color: #3f51b5; +} + +.mat-stepper-horizontal { + background-color: #fff; + padding: 0; + border-radius: 8px; + overflow: hidden; +} + +.mat-step-header { + background-color: #e8eaf6; + color: #3f51b5; +} + +.mat-step-header .mat-step-icon { + background-color: #3f51b5; + color: #fff; +} + +.mat-stepper-content { + padding: 16px; + background-color: #fff; + border-radius: 0 0 8px 8px; +} + +pre { + background-color: #e8eaf6; + padding: 16px; + border-radius: 4px; + font-size: 12px; + overflow-x: auto; +} + +.mat-raised-button { + margin-right: 8px; +} + +.mat-button { + margin-right: 8px; +} diff --git a/ogWebconsole/src/app/components/pxe/pxe/edit-pxe-template/edit-pxe-template.component.html b/ogWebconsole/src/app/components/pxe/pxe/edit-pxe-template/edit-pxe-template.component.html index d8a40ae..30f1ce4 100644 --- a/ogWebconsole/src/app/components/pxe/pxe/edit-pxe-template/edit-pxe-template.component.html +++ b/ogWebconsole/src/app/components/pxe/pxe/edit-pxe-template/edit-pxe-template.component.html @@ -41,10 +41,10 @@ - Vista previa y edición + Vista previa y guardar
{{ previewContent }}
- +