diff --git a/ogWebconsole/src/app/components/calendar/calendar.component.css b/ogWebconsole/src/app/components/calendar/calendar.component.css index 2fd1786..e699c41 100644 --- a/ogWebconsole/src/app/components/calendar/calendar.component.css +++ b/ogWebconsole/src/app/components/calendar/calendar.component.css @@ -1,15 +1,20 @@ -.title { - font-size: 24px; +.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; } .calendar-button-row { display: flex; - justify-content: flex-start; - margin-top: 16px; -} - -.divider { - margin: 20px 0; + gap: 15px; } .lists-container { @@ -23,15 +28,14 @@ table { width: 100%; - margin-top: 50px; } -.search-container { +.search-container { display: flex; justify-content: space-between; align-items: center; width: 100%; - padding: 0 5px; + margin: 1.5rem 0rem 1.5rem 0rem; box-sizing: border-box; } @@ -45,19 +49,12 @@ table { padding: 5px; } -.header-container { - display: flex; - justify-content: space-between; - align-items: center; - padding: 10px; -} - .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 { display: flex; justify-content: end; margin-bottom: 30px; -} +} \ No newline at end of file diff --git a/ogWebconsole/src/app/components/calendar/calendar.component.html b/ogWebconsole/src/app/components/calendar/calendar.component.html index 65200d3..d057115 100644 --- a/ogWebconsole/src/app/components/calendar/calendar.component.html +++ b/ogWebconsole/src/app/components/calendar/calendar.component.html @@ -2,30 +2,33 @@ -

{{ 'adminCalendarsTitle' | translate }}

+
+

{{ 'adminCalendarsTitle' | translate }}

+
-
-
- + {{ 'searchCalendarLabel' | translate }} - + search {{ 'searchHint' | translate }}
-
- -
+
- +
@@ -50,7 +54,7 @@ sync
{{ column.header }} @@ -34,7 +37,8 @@ {{ image[column.columnDef] ? 'check_circle' : 'cancel' }} - + {{ column.cell(image) }}
diff --git a/ogWebconsole/src/app/components/ogboot/pxe-images/pxe-images.component.spec.ts b/ogWebconsole/src/app/components/ogboot/pxe-images/pxe-images.component.spec.ts index fe5d24d..64ad107 100644 --- a/ogWebconsole/src/app/components/ogboot/pxe-images/pxe-images.component.spec.ts +++ b/ogWebconsole/src/app/components/ogboot/pxe-images/pxe-images.component.spec.ts @@ -15,6 +15,7 @@ import { MatInputModule } from '@angular/material/input'; import { MatTableModule } from '@angular/material/table'; import { TranslateModule } from '@ngx-translate/core'; import { JoyrideModule } from 'ngx-joyride'; +import { LoadingComponent } from '../../../shared/loading/loading.component'; describe('PXEimagesComponent', () => { let component: PXEimagesComponent; @@ -26,7 +27,7 @@ describe('PXEimagesComponent', () => { mockToastrService = jasmine.createSpyObj('ToastrService', ['success', 'error']); await TestBed.configureTestingModule({ - declarations: [PXEimagesComponent], + declarations: [PXEimagesComponent, LoadingComponent], imports: [HttpClientModule, MatAccordion, MatExpansionPanel, diff --git a/ogWebconsole/src/app/components/ogboot/pxe/pxe.component.html b/ogWebconsole/src/app/components/ogboot/pxe/pxe.component.html index b01e065..a1d3940 100644 --- a/ogWebconsole/src/app/components/ogboot/pxe/pxe.component.html +++ b/ogWebconsole/src/app/components/ogboot/pxe/pxe.component.html @@ -34,7 +34,7 @@ - +
diff --git a/ogWebconsole/src/app/components/ogboot/pxe/pxe.component.spec.ts b/ogWebconsole/src/app/components/ogboot/pxe/pxe.component.spec.ts index 41e09b6..a27a4ef 100644 --- a/ogWebconsole/src/app/components/ogboot/pxe/pxe.component.spec.ts +++ b/ogWebconsole/src/app/components/ogboot/pxe/pxe.component.spec.ts @@ -23,13 +23,14 @@ import { MatInputModule } from '@angular/material/input'; import { MatSelectModule } from '@angular/material/select'; import { TranslateModule } from '@ngx-translate/core'; import { JoyrideModule } from 'ngx-joyride'; +import { LoadingComponent } from '../../../shared/loading/loading.component'; describe('PxeComponent', () => { let component: PxeComponent; let fixture: ComponentFixture; beforeEach(async () => { await TestBed.configureTestingModule({ - declarations: [PxeComponent], + declarations: [PxeComponent, LoadingComponent], imports: [ FormsModule, MatInputModule,