Skip to content

Commit f43e660

Browse files
shawonshawon
authored andcommitted
added new design
1 parent 4046b07 commit f43e660

4 files changed

Lines changed: 34 additions & 33 deletions

File tree

eform-client/src/app/plugins/modules/items-planning-pn/modules/pairing/components/pairing-grid-page/pairing-grid-page.component.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
<eform-new-subheader>
22
<button
3-
mat-raised-button
3+
class="btn-primary btn-primary--icon-left"
44
id="savePairingGridBtn"
5-
color="accent"
65
[disabled]="pairingsForUpdate.length === 0"
76
matTooltip="{{ 'Update pairing' | translate }}"
87
(click)="showUpdatePairingsModal()"

eform-client/src/app/plugins/modules/items-planning-pn/modules/pairing/components/pairing-grid-table/pairing-grid-table.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<ng-template #toolbarTpl>
2-
<div class="d-grid justify-content-start need-wrapper" style="grid-template-columns: 1fr 2fr;">
2+
<div class="d-grid pr-3 justify-content-start need-wrapper" style="grid-template-columns: 1fr 2fr;">
33
<mat-form-field>
44
<mat-label>{{ 'Tags' | translate }}</mat-label>
55
<mtx-select

eform-client/src/app/plugins/modules/items-planning-pn/modules/plannings/components/plannings-page/plannings-container/plannings-container.component.html

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,34 @@
11
<eform-new-subheader>
2-
<button
3-
mat-icon-button
4-
id="importPlanningsBtn"
5-
matTooltip="{{ 'Import plannings' | translate }}"
6-
*ngIf="isAuth$ | async"
7-
(click)="openPlanningsImportModal()"
8-
>
9-
<mat-icon>file_upload</mat-icon>
10-
</button>
11-
<button
12-
mat-icon-button
13-
id="planningManageTagsBtn"
14-
(click)="openTagsModal()"
15-
matTooltip="{{ 'Manage tags' | translate }}"
16-
>
17-
<mat-icon>discount</mat-icon>
18-
</button>
19-
<button
20-
mat-raised-button
21-
*ngIf="authStateService.checkClaim(itemsPlanningPnClaims.createPlannings)"
22-
id="planningCreateBtn"
23-
color="accent"
24-
matTooltip="{{ 'Create Planning' | translate }}"
25-
[routerLink]="['./create']"
26-
>
27-
{{ 'New planning' | translate }}
28-
</button>
2+
<div class="d-flex flex-row align-items-center gap-12">
3+
<button
4+
class="btn-secondary btn-secondary--icon-rounded-border"
5+
id="importPlanningsBtn"
6+
matTooltip="{{ 'Import plannings' | translate }}"
7+
*ngIf="isAuth$ | async"
8+
(click)="openPlanningsImportModal()"
9+
>
10+
<mat-icon>file_upload</mat-icon>
11+
</button>
12+
<button
13+
class="btn-secondary btn-secondary--icon-rounded-border"
14+
id="planningManageTagsBtn"
15+
(click)="openTagsModal()"
16+
matTooltip="{{ 'Manage tags' | translate }}"
17+
>
18+
<mat-icon>discount</mat-icon>
19+
</button>
20+
21+
<div class="line-vert"></div>
22+
<button
23+
class="btn-primary btn-primary--icon-left"
24+
*ngIf="authStateService.checkClaim(itemsPlanningPnClaims.createPlannings)"
25+
id="planningCreateBtn"
26+
matTooltip="{{ 'Create Planning' | translate }}"
27+
[routerLink]="['./create']"
28+
>
29+
{{ 'New planning' | translate }}
30+
</button>
31+
</div>
2932
</eform-new-subheader>
3033

3134
<app-plannings-header
@@ -39,12 +42,11 @@
3942
(tagSaved)="saveTag($event)"
4043
></app-plannings-header>
4144
<button
42-
mat-raised-button
45+
class="btn-warning mb-4 ml-3"
4346
[disabled]="
4447
!selectedPlanningsCheckboxes || selectedPlanningsCheckboxes.length === 0
4548
"
4649
id="deleteMultiplePluginsBtn"
47-
color="warn"
4850
matTooltip="{{ 'Delete selected' | translate }}"
4951
(click)="showDeleteMultiplePlanningsModal()"
5052
>

eform-client/src/app/plugins/modules/items-planning-pn/modules/plannings/components/plannings-page/plannings-header/plannings-header.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="d-flex flex-row need-wrapper">
1+
<div class="d-flex flex-row need-wrapper px-3">
22
<mat-form-field>
33
<mat-label>{{'Tags' | translate}}</mat-label>
44
<mtx-select

0 commit comments

Comments
 (0)