diff --git a/ogWebconsole/src/app/app.module.ts b/ogWebconsole/src/app/app.module.ts index d7d5f8d..8bdcfd5 100644 --- a/ogWebconsole/src/app/app.module.ts +++ b/ogWebconsole/src/app/app.module.ts @@ -25,6 +25,7 @@ import { MatListModule } from '@angular/material/list'; import { UsersComponent } from './components/admin/users/users/users.component'; import { RolesComponent } from './components/admin/roles/roles/roles.component'; import { MatTableModule } from '@angular/material/table'; +import { MatButtonToggleModule } from '@angular/material/button-toggle'; import { MatDialogModule } from '@angular/material/dialog'; import { AddUserModalComponent } from './components/admin/users/users/add-user-modal/add-user-modal.component'; import { MatSelectModule } from '@angular/material/select'; @@ -41,7 +42,7 @@ import { ClassroomViewComponent } from './components/groups/shared/classroom-vie import { MatProgressSpinner } from "@angular/material/progress-spinner"; import { MatProgressBarModule } from '@angular/material/progress-bar'; import { MatMenu, MatMenuItem, MatMenuTrigger } from "@angular/material/menu"; -import {MatAutocomplete, MatAutocompleteTrigger} from "@angular/material/autocomplete"; +import { MatAutocomplete, MatAutocompleteTrigger } from "@angular/material/autocomplete"; import { MatChip, MatChipListbox, MatChipOption, MatChipSet, MatChipsModule } from "@angular/material/chips"; import { ClientViewComponent } from './components/groups/shared/client-view/client-view.component'; import { MatTab, MatTabGroup } from "@angular/material/tabs"; @@ -85,7 +86,7 @@ import { MatDatepickerModule } from '@angular/material/datepicker'; import { MatNativeDateModule } from '@angular/material/core'; import { CalendarComponent } from './components/calendar/calendar.component'; import { CreateCalendarComponent } from './components/calendar/create-calendar/create-calendar.component'; -import {MatRadioButton, MatRadioGroup} from "@angular/material/radio"; +import { MatRadioButton, MatRadioGroup } from "@angular/material/radio"; import { CreateCalendarRuleComponent } from './components/calendar/create-calendar-rule/create-calendar-rule.component'; import { CommandsGroupsComponent } from './components/commands/commands-groups/commands-groups.component'; import { CommandsTaskComponent } from './components/commands/commands-task/commands-task.component'; @@ -96,11 +97,11 @@ import { DetailTaskComponent } from './components/commands/commands-task/detail- import { TaskLogsComponent } from './components/commands/commands-task/task-logs/task-logs.component'; import { ServerInfoDialogComponent } from './components/ogdhcp/og-dhcp-subnets/server-info-dialog/server-info-dialog.component'; import { StatusComponent } from './components/ogdhcp/og-dhcp-subnets/status/status.component'; -import {MatSliderModule} from '@angular/material/slider'; +import { MatSliderModule } from '@angular/material/slider'; import { ClientMainViewComponent } from './components/groups/components/client-main-view/client-main-view.component'; import { ImagesComponent } from './components/images/images.component'; import { CreateImageComponent } from './components/images/create-image/create-image.component'; -import { CreateClientImageComponent} from './components/groups/components/client-main-view/create-image/create-image.component'; +import { CreateClientImageComponent } from './components/groups/components/client-main-view/create-image/create-image.component'; import { PartitionAssistantComponent } from './components/groups/components/client-main-view/partition-assistant/partition-assistant.component'; import { SoftwareComponent } from './components/software/software.component'; import { CreateSoftwareComponent } from './components/software/create-software/create-software.component'; @@ -124,7 +125,7 @@ import { MenusComponent } from './components/menus/menus.component'; import { CreateMenuComponent } from './components/menus/create-menu/create-menu.component'; import { CreateMultipleClientComponent } from './components/groups/shared/clients/create-multiple-client/create-multiple-client.component'; import { ExportImageComponent } from './components/images/export-image/export-image.component'; -import {ImportImageComponent} from "./components/repositories/import-image/import-image.component"; +import { ImportImageComponent } from "./components/repositories/import-image/import-image.component"; import { LoadingComponent } from './shared/loading/loading.component'; import { RepositoryImagesComponent } from './components/repositories/repository-images/repository-images.component'; import { InputDialogComponent } from './components/commands/commands-task/task-logs/input-dialog/input-dialog.component'; @@ -217,53 +218,54 @@ export function HttpLoaderFactory(http: HttpClient) { ManageOrganizationalUnitComponent, ], bootstrap: [AppComponent], - imports: [BrowserModule, - AppRoutingModule, - FormsModule, - ReactiveFormsModule, - MatToolbarModule, - MatIconModule, - MatButtonModule, - MatSidenavModule, - NoopAnimationsModule, - MatCardModule, - MatCheckboxModule, - MatFormFieldModule, - MatInputModule, - MatListModule, - MatTableModule, - MatDialogModule, - MatSelectModule, - MatDividerModule, - MatProgressBarModule, - MatStepperModule, - DragDropModule, - MatSlideToggleModule, MatMenu, MatMenuTrigger, MatMenuItem, MatAutocomplete, MatChipListbox, MatChipOption, MatChipSet, MatChipsModule, MatChip, MatProgressSpinner, MatTabGroup, MatTab, MatTooltip, - MatExpansionModule, - NgxChartsModule, - MatDatepickerModule, - MatNativeDateModule, - MatSliderModule, - MatSortModule, - TranslateModule.forRoot({ - loader: { - provide: TranslateLoader, - useFactory: HttpLoaderFactory, - deps: [HttpClient] - } - }), - JoyrideModule.forRoot(), - ToastrModule.forRoot( - { - timeOut: 5000, - positionClass: 'toast-bottom-right', - preventDuplicates: true, - progressBar: true, - progressAnimation: 'increasing', - closeButton: true - } - ), MatGridList, MatTree, MatTreeNode, MatNestedTreeNode, MatTreeNodeToggle, MatTreeNodeDef, MatTreeNodePadding, MatTreeNodeOutlet, MatPaginator, MatGridTile, MatExpansionPanel, MatExpansionPanelTitle, MatExpansionPanelDescription, MatRadioGroup, MatRadioButton, MatAutocompleteTrigger - ], + imports: [BrowserModule, + AppRoutingModule, + FormsModule, + ReactiveFormsModule, + MatToolbarModule, + MatIconModule, + MatButtonToggleModule, + MatButtonModule, + MatSidenavModule, + NoopAnimationsModule, + MatCardModule, + MatCheckboxModule, + MatFormFieldModule, + MatInputModule, + MatListModule, + MatTableModule, + MatDialogModule, + MatSelectModule, + MatDividerModule, + MatProgressBarModule, + MatStepperModule, + DragDropModule, + MatSlideToggleModule, MatMenu, MatMenuTrigger, MatMenuItem, MatAutocomplete, MatChipListbox, MatChipOption, MatChipSet, MatChipsModule, MatChip, MatProgressSpinner, MatTabGroup, MatTab, MatTooltip, + MatExpansionModule, + NgxChartsModule, + MatDatepickerModule, + MatNativeDateModule, + MatSliderModule, + MatSortModule, + TranslateModule.forRoot({ + loader: { + provide: TranslateLoader, + useFactory: HttpLoaderFactory, + deps: [HttpClient] + } + }), + JoyrideModule.forRoot(), + ToastrModule.forRoot( + { + timeOut: 5000, + positionClass: 'toast-bottom-right', + preventDuplicates: true, + progressBar: true, + progressAnimation: 'increasing', + closeButton: true + } + ), MatGridList, MatTree, MatTreeNode, MatNestedTreeNode, MatTreeNodeToggle, MatTreeNodeDef, MatTreeNodePadding, MatTreeNodeOutlet, MatPaginator, MatGridTile, MatExpansionPanel, MatExpansionPanelTitle, MatExpansionPanelDescription, MatRadioGroup, MatRadioButton, MatAutocompleteTrigger + ], schemas: [ CUSTOM_ELEMENTS_SCHEMA, ], diff --git a/ogWebconsole/src/app/components/groups/components/client-main-view/client-main-view.component.css b/ogWebconsole/src/app/components/groups/components/client-main-view/client-main-view.component.css index e27b76a..1c2f62d 100644 --- a/ogWebconsole/src/app/components/groups/components/client-main-view/client-main-view.component.css +++ b/ogWebconsole/src/app/components/groups/components/client-main-view/client-main-view.component.css @@ -32,20 +32,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 { @@ -86,7 +90,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 { @@ -134,8 +138,10 @@ .client-button-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 */ } .buttons-row { @@ -221,10 +227,26 @@ } /* Define colores distintos para cada partición */ -.partition-0 { stroke: #00bfa5; } /* Ejemplo: verde */ -.partition-1 { stroke: #ff6f61; } /* Ejemplo: rojo */ -.partition-2 { stroke: #ffb400; } /* Ejemplo: amarillo */ -.partition-3 { stroke: #3498db; } /* Ejemplo: azul */ +.partition-0 { + stroke: #00bfa5; +} + +/* Ejemplo: verde */ +.partition-1 { + stroke: #ff6f61; +} + +/* Ejemplo: rojo */ +.partition-2 { + stroke: #ffb400; +} + +/* Ejemplo: amarillo */ +.partition-3 { + stroke: #3498db; +} + +/* Ejemplo: azul */ /* Texto en el centro del gráfico */ .percentage { @@ -258,6 +280,26 @@ } .back-button { - margin-left: 10px; + display: flex; + align-items: center; + gap: 5px; + margin-left: 0.5em; + background-color: #3f51b5; + color: white; + padding: 8px 18px 8px 8px; + border: none; + border-radius: 4px; + cursor: pointer; + font-size: 16px; + transition: transform 0.3s ease; + font-family: Roboto, "Helvetica Neue", sans-serif; } +.back-button:hover:not(:disabled) { + background-color: #485ac0d7; +} + +.back-button:disabled { + background-color: #ced0df; + cursor: not-allowed; +} \ No newline at end of file diff --git a/ogWebconsole/src/app/components/groups/components/client-main-view/client-main-view.component.html b/ogWebconsole/src/app/components/groups/components/client-main-view/client-main-view.component.html index 4a6adf2..3432ca8 100644 --- a/ogWebconsole/src/app/components/groups/components/client-main-view/client-main-view.component.html +++ b/ogWebconsole/src/app/components/groups/components/client-main-view/client-main-view.component.html @@ -2,9 +2,9 @@

{{ 'clientDetailsTitle' | translate }}

- -
@@ -14,7 +14,7 @@ - diff --git a/ogWebconsole/src/app/components/groups/components/client-main-view/create-image/create-image.component.html b/ogWebconsole/src/app/components/groups/components/client-main-view/create-image/create-image.component.html index 634a3bd..189f45d 100644 --- a/ogWebconsole/src/app/components/groups/components/client-main-view/create-image/create-image.component.html +++ b/ogWebconsole/src/app/components/groups/components/client-main-view/create-image/create-image.component.html @@ -7,7 +7,7 @@
- +
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 0fd1c85..4de8d9d 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 @@ -7,7 +7,7 @@
- +
diff --git a/ogWebconsole/src/app/components/groups/components/client-main-view/partition-assistant/partition-assistant.component.css b/ogWebconsole/src/app/components/groups/components/client-main-view/partition-assistant/partition-assistant.component.css index 782c974..020cb8b 100644 --- a/ogWebconsole/src/app/components/groups/components/client-main-view/partition-assistant/partition-assistant.component.css +++ b/ogWebconsole/src/app/components/groups/components/client-main-view/partition-assistant/partition-assistant.component.css @@ -9,8 +9,8 @@ display: flex; justify-content: space-between; align-items: center; - height: 100px; - padding: 10px; + padding: 10px 10px; + border-bottom: 1px solid #ddd; } .disk-size { diff --git a/ogWebconsole/src/app/components/groups/components/client-main-view/partition-assistant/partition-assistant.component.html b/ogWebconsole/src/app/components/groups/components/client-main-view/partition-assistant/partition-assistant.component.html index 7c09394..a5ee1b8 100644 --- a/ogWebconsole/src/app/components/groups/components/client-main-view/partition-assistant/partition-assistant.component.html +++ b/ogWebconsole/src/app/components/groups/components/client-main-view/partition-assistant/partition-assistant.component.html @@ -7,10 +7,9 @@
- +
-
@@ -19,13 +18,10 @@ Listado de clientes donde se realizará el particionado -
+
- Client Icon + Client Icon
{{ client.name }} @@ -54,86 +50,74 @@
-
+ class="partition-segment"> {{ partition.partitionCode }} ({{ (partition.size / 1024).toFixed(2) }} GB)
- +
- - - - - - - - - + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + +
ParticiónTipo particiónS. ficherosTamaño (MB)Tamaño (%)FormatearEliminar
ParticiónTipo particiónS. ficherosTamaño (MB)Tamaño (%)FormatearEliminar
{{ partition.partitionNumber }} - - - - - - - - - - - -
{{ partition.partitionNumber }} + + + + + + + + + + + +
- +
-
{{ errorMessage }}
+
{{ errorMessage }}
\ No newline at end of file diff --git a/ogWebconsole/src/app/components/groups/groups.component.css b/ogWebconsole/src/app/components/groups/groups.component.css index ab06306..97a7e90 100644 --- a/ogWebconsole/src/app/components/groups/groups.component.css +++ b/ogWebconsole/src/app/components/groups/groups.component.css @@ -488,9 +488,19 @@ mat-tree mat-tree-node.disabled:hover { .clients-view-header { display: flex; + flex-direction: row; justify-content: space-between; margin-bottom: 1rem; align-items: center; + padding-right: 1rem; +} + +@media (max-width: 1560px) { + .clients-view-header { + display: flex; + flex-direction: column; + } + } .clients-title-name { @@ -506,4 +516,56 @@ mat-tree mat-tree-node.disabled:hover { gap: 10px; margin-top: 1.5rem; margin-left: 1.6rem; +} + +.view-type-container { + display: flex; + justify-content: flex-end; + gap: 2rem; + align-items: center; +} + +mat-button-toggle-group { + border: none; +} + +.mat-button-toggle-group .mat-button-toggle { + height: 36px; + background-color: #3f51b5; + color: white; + border: none; + cursor: pointer; + font-size: 16px; + transition: transform 0.3s ease; + font-family: Roboto, "Helvetica Neue", sans-serif; + display: flex; + align-items: center; + justify-content: center; + padding: 0 6px; +} + +.mat-button-toggle-group .mat-button-toggle:first-child { + border-top-left-radius: 15px; + border-bottom-left-radius: 15px; +} + +.mat-button-toggle-group .mat-button-toggle:last-child { + border-top-right-radius: 15px; + border-bottom-right-radius: 15px; +} + +.mat-button-toggle-group .mat-button-toggle:not(:first-child):not(:last-child) { + border-radius: 0; +} + +.mat-button-toggle-group .mat-button-toggle:hover { + background-color: #303f9f; +} + +.mat-button-toggle-group .mat-button-toggle.mat-button-toggle-checked { + background-color: #303f9f; +} + +.mat-button-toggle-group .mat-button-toggle.mat-button-toggle-disabled { + background-color: #c7c7c7; } \ No newline at end of file diff --git a/ogWebconsole/src/app/components/groups/groups.component.html b/ogWebconsole/src/app/components/groups/groups.component.html index 1273645..6a7420d 100644 --- a/ogWebconsole/src/app/components/groups/groups.component.html +++ b/ogWebconsole/src/app/components/groups/groups.component.html @@ -9,8 +9,8 @@
- @@ -164,19 +164,24 @@
- - {{ 'clients' | translate }} - {{ selectedNode?.name }} - +
+ + {{ 'clients' | translate }} + {{ selectedNode?.name }} + +
- - + + + list {{ 'Vista Lista' | translate }} + + + grid_view {{ 'Vista Tarjeta' | translate }} + +
diff --git a/ogWebconsole/src/app/components/groups/shared/classroom-view/classroom-view.component.css b/ogWebconsole/src/app/components/groups/shared/classroom-view/classroom-view.component.css index bcf134e..4413607 100644 --- a/ogWebconsole/src/app/components/groups/shared/classroom-view/classroom-view.component.css +++ b/ogWebconsole/src/app/components/groups/shared/classroom-view/classroom-view.component.css @@ -129,6 +129,6 @@ mat-dialog-content { margin-bottom: 25px; } -.saveDisposition-btn{ - margin-top: 10px; -} +.submit-button { + margin: 1rem; +} \ No newline at end of file diff --git a/ogWebconsole/src/app/components/groups/shared/classroom-view/classroom-view.component.html b/ogWebconsole/src/app/components/groups/shared/classroom-view/classroom-view.component.html index 5485a3d..c5b1bbd 100644 --- a/ogWebconsole/src/app/components/groups/shared/classroom-view/classroom-view.component.html +++ b/ogWebconsole/src/app/components/groups/shared/classroom-view/classroom-view.component.html @@ -21,5 +21,5 @@
- + diff --git a/ogWebconsole/src/app/components/groups/shared/clients/create-client/create-client.component.css b/ogWebconsole/src/app/components/groups/shared/clients/create-client/create-client.component.css index 254ced8..b3c6559 100644 --- a/ogWebconsole/src/app/components/groups/shared/clients/create-client/create-client.component.css +++ b/ogWebconsole/src/app/components/groups/shared/clients/create-client/create-client.component.css @@ -15,12 +15,6 @@ h1 { padding: 15px 50px 15px 50px; } -button { - text-transform: none; - font-size: 16px; - font-weight: 500; -} - mat-option .unit-name { display: block; } @@ -47,4 +41,11 @@ mat-option .unit-path { grid-template-columns: repeat(2, 1fr); column-gap: 20px; row-gap: 20px; +} + +.action-container { + display: flex; + justify-content: flex-end; + gap: 1em; + padding: 1.5em; } \ No newline at end of file diff --git a/ogWebconsole/src/app/components/groups/shared/clients/create-client/create-client.component.html b/ogWebconsole/src/app/components/groups/shared/clients/create-client/create-client.component.html index 5994b10..3cbfd51 100644 --- a/ogWebconsole/src/app/components/groups/shared/clients/create-client/create-client.component.html +++ b/ogWebconsole/src/app/components/groups/shared/clients/create-client/create-client.component.html @@ -9,7 +9,7 @@ {{ getSelectedParentName() }} - +
{{ unit.name }}
{{ unit.path }}
@@ -107,8 +107,9 @@
-
+
- +
-
+
\ No newline at end of file diff --git a/ogWebconsole/src/app/components/groups/shared/clients/create-multiple-client/create-multiple-client.component.css b/ogWebconsole/src/app/components/groups/shared/clients/create-multiple-client/create-multiple-client.component.css index 64a2fb8..b90667f 100644 --- a/ogWebconsole/src/app/components/groups/shared/clients/create-multiple-client/create-multiple-client.component.css +++ b/ogWebconsole/src/app/components/groups/shared/clients/create-multiple-client/create-multiple-client.component.css @@ -1,10 +1,12 @@ .create-client-container { display: flex; flex-direction: column; - padding: 16px; + padding: 16px 16px 0px 16px; } -h1, h3, h4 { +h1, +h3, +h4 { margin: 0 0 16px; color: #333; font-weight: 600; @@ -75,7 +77,8 @@ table { border-collapse: collapse; } -th, td { +th, +td { text-align: left; padding: 8px; border-bottom: 1px solid #ddd; @@ -90,14 +93,6 @@ tr:hover { background-color: #f9f9f9; } -button { - margin-right: 8px; -} - -button:last-child { - margin-right: 0; -} - .mat-dialog-actions { margin-top: 16px; display: flex; @@ -148,7 +143,8 @@ input[type="file"] { gap: 16px; } - .mat-dialog-content, .create-multiple-client-container { + .mat-dialog-content, + .create-multiple-client-container { padding: 12px; } @@ -156,3 +152,10 @@ input[type="file"] { max-height: 150px; } } + +.action-container { + display: flex; + justify-content: flex-end; + gap: 1em; + padding: 1.5em; +} \ No newline at end of file diff --git a/ogWebconsole/src/app/components/groups/shared/clients/create-multiple-client/create-multiple-client.component.html b/ogWebconsole/src/app/components/groups/shared/clients/create-multiple-client/create-multiple-client.component.html index 1b34d9c..297869d 100644 --- a/ogWebconsole/src/app/components/groups/shared/clients/create-multiple-client/create-multiple-client.component.html +++ b/ogWebconsole/src/app/components/groups/shared/clients/create-multiple-client/create-multiple-client.component.html @@ -20,12 +20,15 @@
- +

o añadelos manualmente:

- - + +
@@ -55,8 +58,9 @@
-
- - +
+ +
-
+
\ No newline at end of file diff --git a/ogWebconsole/src/app/components/groups/shared/clients/edit-client/edit-client.component.css b/ogWebconsole/src/app/components/groups/shared/clients/edit-client/edit-client.component.css index 69cf4a7..b3c6559 100644 --- a/ogWebconsole/src/app/components/groups/shared/clients/edit-client/edit-client.component.css +++ b/ogWebconsole/src/app/components/groups/shared/clients/edit-client/edit-client.component.css @@ -4,31 +4,25 @@ h1 { font-weight: 400; color: #3f51b5; margin-bottom: 20px; -} - -.network-form { - display: flex; - flex-direction: column; - gap: 15px; + margin-top: 20px; } .form-field { width: 100%; - margin-top: 10px; } .mat-dialog-content { - padding: 50px; + padding: 15px 50px 15px 50px; } -button { - text-transform: none; - font-size: 16px; - font-weight: 500; +mat-option .unit-name { + display: block; } -.mat-slide-toggle { - margin-top: 20px; +mat-option .unit-path { + display: block; + font-size: 0.8em; + color: gray; } .loading-spinner { @@ -38,27 +32,20 @@ button { justify-content: center; } -.mat-dialog-content.loading { - display: flex; - align-items: center; - justify-content: center; - height: 100%; -} - -.client-form { - width: 100%; -} - -.form-field { - width: 100%; +.create-client-container { + position: relative; } .grid-form { display: grid; grid-template-columns: repeat(2, 1fr); - gap: 20px; + column-gap: 20px; + row-gap: 20px; } -.form-field { - width: 100%; -} +.action-container { + display: flex; + justify-content: flex-end; + gap: 1em; + padding: 1.5em; +} \ No newline at end of file diff --git a/ogWebconsole/src/app/components/groups/shared/clients/edit-client/edit-client.component.html b/ogWebconsole/src/app/components/groups/shared/clients/edit-client/edit-client.component.html index fee5dfc..ba47bb9 100644 --- a/ogWebconsole/src/app/components/groups/shared/clients/edit-client/edit-client.component.html +++ b/ogWebconsole/src/app/components/groups/shared/clients/edit-client/edit-client.component.html @@ -104,9 +104,9 @@
-
- - +
diff --git a/ogWebconsole/src/app/components/groups/shared/execute-command-ou/execute-command-ou.component.css b/ogWebconsole/src/app/components/groups/shared/execute-command-ou/execute-command-ou.component.css index b908066..f7b5bbe 100644 --- a/ogWebconsole/src/app/components/groups/shared/execute-command-ou/execute-command-ou.component.css +++ b/ogWebconsole/src/app/components/groups/shared/execute-command-ou/execute-command-ou.component.css @@ -1,57 +1,55 @@ .form-container { - display: flex; - flex-direction: column; - gap: 16px; - padding: 16px; - } - - .command-form { - width: 100%; - } - - .full-width { - width: 100%; - } - - .checkbox-group { - display: flex; - flex-direction: column; - gap: 8px; - padding-top: 8px; - } - - .checkbox-group label { - font-weight: bold; - margin-bottom: 8px; - } - - .mat-checkbox { - margin-left: 8px; - } - - .mat-dialog-title { - font-size: 20px; - font-weight: 600; - margin-bottom: 12px; - } - - .mat-dialog-content { - max-height: 60vh; - overflow-y: auto; - } - - .mat-dialog-actions { - display: flex; - justify-content: flex-end; - gap: 8px; - padding: 16px; - } - - button[mat-button] { - font-weight: 500; - } - - button[mat-button]:disabled { - color: rgba(0, 0, 0, 0.38); - } - \ No newline at end of file + display: flex; + flex-direction: column; + gap: 16px; + padding: 16px; +} + +.command-form { + width: 100%; +} + +.full-width { + width: 100%; +} + +.checkbox-group { + display: flex; + flex-direction: column; + gap: 8px; + padding-top: 8px; +} + +.checkbox-group label { + font-weight: bold; + margin-bottom: 8px; +} + +.mat-checkbox { + margin-left: 8px; +} + +.mat-dialog-title { + font-size: 20px; + font-weight: 600; + margin-bottom: 12px; +} + +.mat-dialog-content { + max-height: 60vh; + overflow-y: auto; +} + +.mat-dialog-actions { + display: flex; + justify-content: flex-end; + gap: 8px; + padding: 16px; +} + +.action-container { + display: flex; + justify-content: flex-end; + gap: 1em; + padding: 1.5em; +} \ No newline at end of file diff --git a/ogWebconsole/src/app/components/groups/shared/execute-command-ou/execute-command-ou.component.html b/ogWebconsole/src/app/components/groups/shared/execute-command-ou/execute-command-ou.component.html index 154290d..3b5902f 100644 --- a/ogWebconsole/src/app/components/groups/shared/execute-command-ou/execute-command-ou.component.html +++ b/ogWebconsole/src/app/components/groups/shared/execute-command-ou/execute-command-ou.component.html @@ -20,9 +20,8 @@
- + {{ client.name }}
@@ -34,12 +33,10 @@ - - - + - + \ No newline at end of file diff --git a/ogWebconsole/src/app/components/groups/shared/organizational-units/manage-organizational-unit/manage-organizational-unit.component.html b/ogWebconsole/src/app/components/groups/shared/organizational-units/manage-organizational-unit/manage-organizational-unit.component.html index a3e1fac..52d1291 100644 --- a/ogWebconsole/src/app/components/groups/shared/organizational-units/manage-organizational-unit/manage-organizational-unit.component.html +++ b/ogWebconsole/src/app/components/groups/shared/organizational-units/manage-organizational-unit/manage-organizational-unit.component.html @@ -34,7 +34,7 @@ - {{ 'excludeParentChanges' | translate }} + {{ 'excludeParentChanges' | translate }} @@ -137,14 +137,14 @@ - - Menu - - - {{ menu.name }} - - - + + Menu + + + {{ menu.name }} + + + Perfil de Hardware @@ -169,4 +169,4 @@ -
+
\ No newline at end of file diff --git a/ogWebconsole/src/app/components/groups/shared/organizational-units/show-organizational-unit/show-organizational-unit.component.html b/ogWebconsole/src/app/components/groups/shared/organizational-units/show-organizational-unit/show-organizational-unit.component.html index d642dbb..47bc3ee 100644 --- a/ogWebconsole/src/app/components/groups/shared/organizational-units/show-organizational-unit/show-organizational-unit.component.html +++ b/ogWebconsole/src/app/components/groups/shared/organizational-units/show-organizational-unit/show-organizational-unit.component.html @@ -46,5 +46,5 @@
- +
diff --git a/ogWebconsole/src/app/components/images/create-image/create-image.component.css b/ogWebconsole/src/app/components/images/create-image/create-image.component.css index ffb19eb..8a9bda9 100644 --- a/ogWebconsole/src/app/components/images/create-image/create-image.component.css +++ b/ogWebconsole/src/app/components/images/create-image/create-image.component.css @@ -1,13 +1,15 @@ .dialog-content { display: flex; flex-direction: column; - gap: 16px; /* Espacio entre los elementos del formulario */ + gap: 16px; + /* Espacio entre los elementos del formulario */ } .image-form { width: 100%; display: flex; flex-direction: column; + margin-top: 1rem; } .form-field { @@ -16,27 +18,19 @@ } .partition-info-container { - background-color: #f0f8ff; /* Un color de fondo suave */ + background-color: #f0f8ff; + /* Un color de fondo suave */ padding: 10px; border: 1px solid #ccc; margin-top: 10px; border-radius: 5px; } -/* Botones alineados al final, con margen superior */ -.dialog-actions { - display: flex; - justify-content: flex-end; - margin-top: 24px; -} - -button { - margin-left: 8px; /* Espacio entre los botones */ -} - .warning-card { - background-color: #ffebee; /* Rojo claro */ - color: #d32f2f; /* Rojo oscuro */ + background-color: #ffebee; + /* Rojo claro */ + color: #d32f2f; + /* Rojo oscuro */ padding: 16px; border-left: 5px solid #d32f2f; display: flex; @@ -68,3 +62,10 @@ button { margin-bottom: 8px; } } + +.action-container { + display: flex; + justify-content: flex-end; + gap: 1em; + padding: 1.5em; +} \ No newline at end of file diff --git a/ogWebconsole/src/app/components/images/create-image/create-image.component.html b/ogWebconsole/src/app/components/images/create-image/create-image.component.html index fc5e87d..f3b8278 100644 --- a/ogWebconsole/src/app/components/images/create-image/create-image.component.html +++ b/ogWebconsole/src/app/components/images/create-image/create-image.component.html @@ -5,7 +5,8 @@ warning - Ha marcado la casilla "Imagen Global". Se transferirá la imagen al resto de repositorios en el caso de que no exista previamente. + Ha marcado la casilla "Imagen Global". Se transferirá la imagen al resto de repositorios en el + caso de que no exista previamente. @@ -16,7 +17,8 @@ {{ 'repositoryLabel' | translate }} - + {{ imageRepository.name }} @@ -41,16 +43,11 @@ - + {{ 'remotePcLabel' | translate }} - + {{ 'globalImageLabel' | translate }} @@ -68,7 +65,7 @@ - - - - + + + + \ No newline at end of file diff --git a/ogWebconsole/src/app/components/images/export-image/export-image.component.html b/ogWebconsole/src/app/components/images/export-image/export-image.component.html index 0837588..ad113c3 100644 --- a/ogWebconsole/src/app/components/images/export-image/export-image.component.html +++ b/ogWebconsole/src/app/components/images/export-image/export-image.component.html @@ -12,6 +12,6 @@ - - + + diff --git a/ogWebconsole/src/app/components/images/images.component.html b/ogWebconsole/src/app/components/images/images.component.html index b921d68..5f169b0 100644 --- a/ogWebconsole/src/app/components/images/images.component.html +++ b/ogWebconsole/src/app/components/images/images.component.html @@ -10,7 +10,7 @@
-
@@ -38,7 +38,7 @@ - +
-
diff --git a/ogWebconsole/src/app/components/menus/create-menu/create-menu.component.css b/ogWebconsole/src/app/components/menus/create-menu/create-menu.component.css index a2b595f..5efc52e 100644 --- a/ogWebconsole/src/app/components/menus/create-menu/create-menu.component.css +++ b/ogWebconsole/src/app/components/menus/create-menu/create-menu.component.css @@ -1,20 +1,19 @@ .dialog-content { display: flex; flex-direction: column; - gap: 16px; - padding: 16px; + margin-top: 2rem; } .form-container { display: flex; - flex-direction: row; /* Alinear elementos horizontalmente */ + flex-direction: row; justify-content: space-between; gap: 24px; - align-items: flex-start; /* Para alinear superiormente */ + align-items: flex-start; } .menu-form { - flex: 1; /* El formulario ocupa el espacio restante */ + flex: 1; display: flex; flex-direction: column; gap: 16px; @@ -25,11 +24,11 @@ } .iframe-container { - flex: 1; /* El iframe ocupa la otra mitad del espacio */ + flex: 1; display: flex; justify-content: center; align-items: flex-start; - max-width: 50%; /* Limitar ancho máximo */ + max-width: 50%; } .iframe { @@ -39,3 +38,10 @@ border-radius: 8px; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); } + +.action-container { + display: flex; + justify-content: flex-end; + gap: 1em; + padding: 1.5em; +} \ No newline at end of file diff --git a/ogWebconsole/src/app/components/menus/create-menu/create-menu.component.html b/ogWebconsole/src/app/components/menus/create-menu/create-menu.component.html index c15e7a8..3095add 100644 --- a/ogWebconsole/src/app/components/menus/create-menu/create-menu.component.html +++ b/ogWebconsole/src/app/components/menus/create-menu/create-menu.component.html @@ -25,10 +25,7 @@ - + {{ 'defaultMenuLabel' | translate }} @@ -40,7 +37,7 @@ - - - - + + + + \ No newline at end of file diff --git a/ogWebconsole/src/app/components/menus/menus.component.html b/ogWebconsole/src/app/components/menus/menus.component.html index a60ac00..12ecb01 100644 --- a/ogWebconsole/src/app/components/menus/menus.component.html +++ b/ogWebconsole/src/app/components/menus/menus.component.html @@ -7,7 +7,7 @@ Administrar menús
-
diff --git a/ogWebconsole/src/app/components/ogboot/pxe-boot-files/create-pxeBootFile/create-pxe-boot-file/create-pxe-boot-file.component.html b/ogWebconsole/src/app/components/ogboot/pxe-boot-files/create-pxeBootFile/create-pxe-boot-file/create-pxe-boot-file.component.html index 0e20a3b..ba5a912 100644 --- a/ogWebconsole/src/app/components/ogboot/pxe-boot-files/create-pxeBootFile/create-pxe-boot-file/create-pxe-boot-file.component.html +++ b/ogWebconsole/src/app/components/ogboot/pxe-boot-files/create-pxeBootFile/create-pxe-boot-file/create-pxe-boot-file.component.html @@ -11,8 +11,8 @@
- - +
diff --git a/ogWebconsole/src/app/components/ogboot/pxe-boot-files/pxe-boot-files.component.html b/ogWebconsole/src/app/components/ogboot/pxe-boot-files/pxe-boot-files.component.html index 34d1f13..f8caba7 100644 --- a/ogWebconsole/src/app/components/ogboot/pxe-boot-files/pxe-boot-files.component.html +++ b/ogWebconsole/src/app/components/ogboot/pxe-boot-files/pxe-boot-files.component.html @@ -31,7 +31,7 @@ - diff --git a/ogWebconsole/src/app/components/ogboot/pxe-images/create-image/create-image/create-image.component.css b/ogWebconsole/src/app/components/ogboot/pxe-images/create-image/create-image/create-image.component.css index 5a93649..53eeb5c 100644 --- a/ogWebconsole/src/app/components/ogboot/pxe-images/create-image/create-image/create-image.component.css +++ b/ogWebconsole/src/app/components/ogboot/pxe-images/create-image/create-image/create-image.component.css @@ -7,3 +7,10 @@ display: block; justify-content: center; } + +.action-container { + display: flex; + justify-content: flex-end; + gap: 1em; + padding: 1.5em; +} \ No newline at end of file diff --git a/ogWebconsole/src/app/components/ogboot/pxe-images/create-image/create-image/create-image.component.html b/ogWebconsole/src/app/components/ogboot/pxe-images/create-image/create-image/create-image.component.html index 44c8fd3..09f4410 100644 --- a/ogWebconsole/src/app/components/ogboot/pxe-images/create-image/create-image/create-image.component.html +++ b/ogWebconsole/src/app/components/ogboot/pxe-images/create-image/create-image/create-image.component.html @@ -11,7 +11,7 @@ - - - + + + diff --git a/ogWebconsole/src/app/components/ogboot/pxe-images/info-image/info-image/info-image.component.html b/ogWebconsole/src/app/components/ogboot/pxe-images/info-image/info-image/info-image.component.html index 87d5a9e..236f131 100644 --- a/ogWebconsole/src/app/components/ogboot/pxe-images/info-image/info-image/info-image.component.html +++ b/ogWebconsole/src/app/components/ogboot/pxe-images/info-image/info-image/info-image.component.html @@ -3,5 +3,5 @@
{{ data | json }}
- + diff --git a/ogWebconsole/src/app/components/ogboot/pxe-images/pxe-images.component.html b/ogWebconsole/src/app/components/ogboot/pxe-images/pxe-images.component.html index d093040..bf06c2f 100644 --- a/ogWebconsole/src/app/components/ogboot/pxe-images/pxe-images.component.html +++ b/ogWebconsole/src/app/components/ogboot/pxe-images/pxe-images.component.html @@ -8,8 +8,8 @@
- - + diff --git a/ogWebconsole/src/app/components/ogboot/pxe/create-pxeTemplate/create-pxe-template.component.css b/ogWebconsole/src/app/components/ogboot/pxe/create-pxeTemplate/create-pxe-template.component.css index 4abaa49..65a0a2c 100644 --- a/ogWebconsole/src/app/components/ogboot/pxe/create-pxeTemplate/create-pxe-template.component.css +++ b/ogWebconsole/src/app/components/ogboot/pxe/create-pxeTemplate/create-pxe-template.component.css @@ -1,6 +1,5 @@ mat-form-field { width: 100%; - margin-bottom: 20px; } pre { @@ -77,7 +76,9 @@ h3 { display: flex; justify-content: space-between; width: 100%; - align-items: center; + align-items: center; + margin-bottom: 1rem; + padding-right: 1rem; } .action-buttons { diff --git a/ogWebconsole/src/app/components/ogboot/pxe/create-pxeTemplate/create-pxe-template.component.html b/ogWebconsole/src/app/components/ogboot/pxe/create-pxeTemplate/create-pxe-template.component.html index f79fd47..75a76cc 100644 --- a/ogWebconsole/src/app/components/ogboot/pxe/create-pxeTemplate/create-pxe-template.component.html +++ b/ogWebconsole/src/app/components/ogboot/pxe/create-pxeTemplate/create-pxe-template.component.html @@ -13,7 +13,8 @@ {{ 'templateContentLabel' | translate }} - + {{ 'templateContentError' | translate }} @@ -24,7 +25,7 @@
- @@ -33,10 +34,10 @@
- - +
-
+ \ No newline at end of file diff --git a/ogWebconsole/src/app/components/ogboot/pxe/pxe.component.html b/ogWebconsole/src/app/components/ogboot/pxe/pxe.component.html index a1d3940..ca58141 100644 --- a/ogWebconsole/src/app/components/ogboot/pxe/pxe.component.html +++ b/ogWebconsole/src/app/components/ogboot/pxe/pxe.component.html @@ -7,8 +7,8 @@ translate }}
- - +
diff --git a/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/add-clients-to-subnet/add-clients-to-subnet.component.css b/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/add-clients-to-subnet/add-clients-to-subnet.component.css index 2239479..3c43c3c 100644 --- a/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/add-clients-to-subnet/add-clients-to-subnet.component.css +++ b/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/add-clients-to-subnet/add-clients-to-subnet.component.css @@ -20,3 +20,10 @@ mat-dialog-actions { flex-direction: column; gap: 10px; } + +.action-container { + display: flex; + justify-content: flex-end; + gap: 1em; + padding: 1.5em; +} diff --git a/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/add-clients-to-subnet/add-clients-to-subnet.component.html b/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/add-clients-to-subnet/add-clients-to-subnet.component.html index 6ea0177..4c0b532 100644 --- a/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/add-clients-to-subnet/add-clients-to-subnet.component.html +++ b/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/add-clients-to-subnet/add-clients-to-subnet.component.html @@ -23,7 +23,7 @@ - - - + + + diff --git a/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/create-subnet/create-subnet.component.css b/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/create-subnet/create-subnet.component.css index 36b762b..106da2f 100644 --- a/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/create-subnet/create-subnet.component.css +++ b/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/create-subnet/create-subnet.component.css @@ -2,7 +2,7 @@ width: 100%; } -form{ +form { padding: 20px; } @@ -33,3 +33,10 @@ form{ margin-left: 8px; cursor: pointer; } + +.action-container { + display: flex; + justify-content: flex-end; + gap: 1em; + padding: 1.5em; +} \ No newline at end of file diff --git a/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/create-subnet/create-subnet.component.html b/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/create-subnet/create-subnet.component.html index 68f9b0b..ed1940e 100644 --- a/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/create-subnet/create-subnet.component.html +++ b/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/create-subnet/create-subnet.component.html @@ -62,7 +62,7 @@ - - - - + + + + \ No newline at end of file diff --git a/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/og-dhcp-subnets.component.html b/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/og-dhcp-subnets.component.html index 0caafe9..1f3aac2 100644 --- a/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/og-dhcp-subnets.component.html +++ b/ogWebconsole/src/app/components/ogdhcp/og-dhcp-subnets/og-dhcp-subnets.component.html @@ -7,9 +7,9 @@ text="Desde aquí puedes gestionar las subredes configuradas en el servidor OgDHCP.">Administrar Subredes
- -
@@ -58,7 +58,7 @@ - + +
diff --git a/ogWebconsole/src/app/components/operative-system/create-operative-system/create-operative-system.component.css b/ogWebconsole/src/app/components/operative-system/create-operative-system/create-operative-system.component.css index 722ef4f..f9086a7 100644 --- a/ogWebconsole/src/app/components/operative-system/create-operative-system/create-operative-system.component.css +++ b/ogWebconsole/src/app/components/operative-system/create-operative-system/create-operative-system.component.css @@ -1,60 +1,15 @@ -.full-width { - width: 100%; -} .form-container { - padding: 40px; -} - -.form-group { - margin-top: 20px; - margin-bottom: 26px; + padding: 20px; } .full-width { width: 100%; - margin-bottom: 16px; + margin-top: 16px; } -.additional-form { - margin-top: 20px; -} - -.checkbox-group { +.action-container { display: flex; - flex-direction: column; - margin: 15px 0; - align-items: flex-start; -} - -.time-fields { - display: flex; - gap: 15px; /* Espacio entre los campos */ -} - -.time-field { - flex: 1; -} - -.list-item-content { - display: flex; - align-items: flex-start; /* Alinea el contenido al inicio */ - justify-content: space-between; /* Espacio entre los textos y los íconos */ - width: 100%; /* Asegúrate de que el contenido ocupe todo el ancho */ -} - -.text-content { - flex-grow: 1; /* Permite que este contenedor ocupe el espacio disponible */ - margin-right: 16px; /* Espaciado a la derecha para separar de los íconos */ - margin-left: 10px; -} - -.icon-container { - display: flex; - align-items: center; /* Alinea los íconos verticalmente */ -} - -.right-icon { - margin-left: 8px; /* Espaciado entre los íconos */ - cursor: pointer; -} - + justify-content: flex-end; + gap: 1em; + padding: 1.5em; +} \ No newline at end of file diff --git a/ogWebconsole/src/app/components/operative-system/create-operative-system/create-operative-system.component.html b/ogWebconsole/src/app/components/operative-system/create-operative-system/create-operative-system.component.html index 5263ebd..ca4f066 100644 --- a/ogWebconsole/src/app/components/operative-system/create-operative-system/create-operative-system.component.html +++ b/ogWebconsole/src/app/components/operative-system/create-operative-system/create-operative-system.component.html @@ -8,8 +8,7 @@ - - - - - + + + + \ No newline at end of file diff --git a/ogWebconsole/src/app/components/operative-system/operative-system.component.html b/ogWebconsole/src/app/components/operative-system/operative-system.component.html index 49ccd5c..8a1a845 100644 --- a/ogWebconsole/src/app/components/operative-system/operative-system.component.html +++ b/ogWebconsole/src/app/components/operative-system/operative-system.component.html @@ -9,7 +9,7 @@
-
diff --git a/ogWebconsole/src/app/components/repositories/create-repository/create-repository.component.css b/ogWebconsole/src/app/components/repositories/create-repository/create-repository.component.css index 57c71a9..afab99f 100644 --- a/ogWebconsole/src/app/components/repositories/create-repository/create-repository.component.css +++ b/ogWebconsole/src/app/components/repositories/create-repository/create-repository.component.css @@ -1,7 +1,6 @@ .dialog-content { display: flex; flex-direction: column; - gap: 16px; } .repository-form { @@ -12,17 +11,14 @@ .form-field { width: 100%; - margin-bottom: 16px; + margin-top: 16px; } -.dialog-actions { +.action-container { display: flex; justify-content: flex-end; - margin-top: 24px; -} - -button { - margin-left: 8px; + gap: 1em; + padding: 1.5em; } @media (max-width: 600px) { @@ -40,4 +36,4 @@ button { margin-left: 0; margin-bottom: 8px; } -} +} \ No newline at end of file diff --git a/ogWebconsole/src/app/components/repositories/create-repository/create-repository.component.html b/ogWebconsole/src/app/components/repositories/create-repository/create-repository.component.html index 501d1fa..84ce0db 100644 --- a/ogWebconsole/src/app/components/repositories/create-repository/create-repository.component.html +++ b/ogWebconsole/src/app/components/repositories/create-repository/create-repository.component.html @@ -19,7 +19,7 @@ - - - - + + + + \ No newline at end of file diff --git a/ogWebconsole/src/app/components/repositories/import-image/import-image.component.html b/ogWebconsole/src/app/components/repositories/import-image/import-image.component.html index 943cc38..82bc9fd 100644 --- a/ogWebconsole/src/app/components/repositories/import-image/import-image.component.html +++ b/ogWebconsole/src/app/components/repositories/import-image/import-image.component.html @@ -23,6 +23,6 @@ - - + + diff --git a/ogWebconsole/src/app/components/repositories/main-repository-view/main-repository-view.component.html b/ogWebconsole/src/app/components/repositories/main-repository-view/main-repository-view.component.html index d7b0563..70229ae 100644 --- a/ogWebconsole/src/app/components/repositories/main-repository-view/main-repository-view.component.html +++ b/ogWebconsole/src/app/components/repositories/main-repository-view/main-repository-view.component.html @@ -83,8 +83,8 @@

Editar datos repositorio

- - + +
@@ -108,7 +108,7 @@ - + diff --git a/ogWebconsole/src/app/components/repositories/repositories.component.html b/ogWebconsole/src/app/components/repositories/repositories.component.html index 1a51e54..6ad69e6 100644 --- a/ogWebconsole/src/app/components/repositories/repositories.component.html +++ b/ogWebconsole/src/app/components/repositories/repositories.component.html @@ -10,7 +10,7 @@
-
diff --git a/ogWebconsole/src/app/components/software-profile/create-software-profile/create-software-profile.component.css b/ogWebconsole/src/app/components/software-profile/create-software-profile/create-software-profile.component.css index 722ef4f..0ec67f1 100644 --- a/ogWebconsole/src/app/components/software-profile/create-software-profile/create-software-profile.component.css +++ b/ogWebconsole/src/app/components/software-profile/create-software-profile/create-software-profile.component.css @@ -1,18 +1,18 @@ .full-width { width: 100%; } + .form-container { padding: 40px; } .form-group { margin-top: 20px; - margin-bottom: 26px; } .full-width { width: 100%; - margin-bottom: 16px; + margin-top: 16px; } .additional-form { @@ -58,3 +58,9 @@ cursor: pointer; } +.action-container { + display: flex; + justify-content: flex-end; + gap: 1em; + padding: 0em 1.5em 1.5em 1.5em; +} \ No newline at end of file diff --git a/ogWebconsole/src/app/components/software-profile/create-software-profile/create-software-profile.component.html b/ogWebconsole/src/app/components/software-profile/create-software-profile/create-software-profile.component.html index a448bcc..17ad578 100644 --- a/ogWebconsole/src/app/components/software-profile/create-software-profile/create-software-profile.component.html +++ b/ogWebconsole/src/app/components/software-profile/create-software-profile/create-software-profile.component.html @@ -4,7 +4,7 @@
- + Descripción @@ -22,7 +22,7 @@ Seleccionar sistema operativo - + {{ op.name }} @@ -34,16 +34,10 @@
- - @@ -67,7 +61,7 @@ - - - - + + + + \ No newline at end of file diff --git a/ogWebconsole/src/app/components/software-profile/software-profile.component.html b/ogWebconsole/src/app/components/software-profile/software-profile.component.html index f13f48f..9b9b767 100644 --- a/ogWebconsole/src/app/components/software-profile/software-profile.component.html +++ b/ogWebconsole/src/app/components/software-profile/software-profile.component.html @@ -7,7 +7,7 @@ text="En esta pantalla podrás administrar los diferentes perfiles de software">Administrar perfiles software
-
diff --git a/ogWebconsole/src/app/components/software/create-software/create-software.component.css b/ogWebconsole/src/app/components/software/create-software/create-software.component.css index 722ef4f..ca3e639 100644 --- a/ogWebconsole/src/app/components/software/create-software/create-software.component.css +++ b/ogWebconsole/src/app/components/software/create-software/create-software.component.css @@ -1,6 +1,7 @@ .full-width { width: 100%; } + .form-container { padding: 40px; } @@ -12,49 +13,12 @@ .full-width { width: 100%; - margin-bottom: 16px; + margin-top: 16px; } -.additional-form { - margin-top: 20px; -} - -.checkbox-group { +.action-container { display: flex; - flex-direction: column; - margin: 15px 0; - align-items: flex-start; + justify-content: flex-end; + gap: 1em; + padding: 1.5em; } - -.time-fields { - display: flex; - gap: 15px; /* Espacio entre los campos */ -} - -.time-field { - flex: 1; -} - -.list-item-content { - display: flex; - align-items: flex-start; /* Alinea el contenido al inicio */ - justify-content: space-between; /* Espacio entre los textos y los íconos */ - width: 100%; /* Asegúrate de que el contenido ocupe todo el ancho */ -} - -.text-content { - flex-grow: 1; /* Permite que este contenedor ocupe el espacio disponible */ - margin-right: 16px; /* Espaciado a la derecha para separar de los íconos */ - margin-left: 10px; -} - -.icon-container { - display: flex; - align-items: center; /* Alinea los íconos verticalmente */ -} - -.right-icon { - margin-left: 8px; /* Espaciado entre los íconos */ - cursor: pointer; -} - diff --git a/ogWebconsole/src/app/components/software/create-software/create-software.component.html b/ogWebconsole/src/app/components/software/create-software/create-software.component.html index 495f491..b8093d2 100644 --- a/ogWebconsole/src/app/components/software/create-software/create-software.component.html +++ b/ogWebconsole/src/app/components/software/create-software/create-software.component.html @@ -22,8 +22,7 @@ - - - - - + + + + \ No newline at end of file diff --git a/ogWebconsole/src/app/components/software/software.component.html b/ogWebconsole/src/app/components/software/software.component.html index 77916bd..8ee4f5e 100644 --- a/ogWebconsole/src/app/components/software/software.component.html +++ b/ogWebconsole/src/app/components/software/software.component.html @@ -7,7 +7,7 @@ text="Administra el software deisponible desde este componente.">Administrar Software
-
diff --git a/ogWebconsole/src/app/shared/delete_modal/delete-modal/delete-modal.component.css b/ogWebconsole/src/app/shared/delete_modal/delete-modal/delete-modal.component.css index 470356d..d1640b2 100644 --- a/ogWebconsole/src/app/shared/delete_modal/delete-modal/delete-modal.component.css +++ b/ogWebconsole/src/app/shared/delete_modal/delete-modal/delete-modal.component.css @@ -1,29 +1,40 @@ mat-dialog-content { - font-size: 16px; - margin-bottom: 20px; - color: #555; /* Color de texto más suave */ - } - - mat-dialog-actions { - margin-top: 20px; - display: flex; - justify-content: flex-end; /* Alineación a la derecha */ - } - - button[mat-button] { - margin-left: 8px; /* Espacio entre los botones */ - } - - button[mat-button]:first-child { - color: #757575; /* Color para el botón de cancelar */ - } - - button[mat-raised-button] { - box-shadow: none; - } - - strong { - font-weight: bold; - color: #000; /* Color de texto más fuerte para el nombre del elemento */ - } - \ No newline at end of file + font-size: 16px; + margin-bottom: 20px; + color: #555; + /* Color de texto más suave */ +} + +.action-container { + display: flex; + justify-content: flex-end; + gap: 1em; + padding: 0.5em 1.5em 1.5em 1.5em; +} + +strong { + font-weight: bold; + color: #000; + /* Color de texto más fuerte para el nombre del elemento */ +} + +.delete-button { + background-color: #f00e0e; + color: white; + padding: 8px 18px; + border: none; + border-radius: 4px; + cursor: pointer; + font-size: 16px; + transition: transform 0.3s ease; + font-family: Roboto, "Helvetica Neue", sans-serif; +} + +.delete-button:hover:not(:disabled) { + background-color: #f00e0edc; +} + +.delete-button:disabled { + background-color: #ced0df; + cursor: not-allowed; +} \ No newline at end of file diff --git a/ogWebconsole/src/app/shared/delete_modal/delete-modal/delete-modal.component.html b/ogWebconsole/src/app/shared/delete_modal/delete-modal/delete-modal.component.html index bd1b25f..f3592de 100644 --- a/ogWebconsole/src/app/shared/delete_modal/delete-modal/delete-modal.component.html +++ b/ogWebconsole/src/app/shared/delete_modal/delete-modal/delete-modal.component.html @@ -4,7 +4,7 @@ ¿Estás seguro que deseas eliminar {{ data.name }}?

-
- - +
+ +