Skip to content

Commit d02cb97

Browse files
committed
Merge branch 'masudul-tikweb-master'
2 parents 692ca0c + 69603c2 commit d02cb97

File tree

12 files changed

+71
-78
lines changed

12 files changed

+71
-78
lines changed

eform-client/src/app/plugins/modules/backend-configuration-pn/components/properties/property-actions/property-delete-modal/property-delete-modal.component.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,16 @@ <h3 mat-dialog-title>{{ 'Are you sure you want to delete' | translate }}?</h3>
1717
</div>
1818
</div>
1919
</div>
20-
<div mat-dialog-actions class="d-flex flex-row justify-content-end">
20+
<div mat-dialog-actions class="d-flex flex-row justify-content-end align-items-center gap-12">
2121
<button
22-
mat-raised-button
23-
color="warn"
22+
class="btn-delete"
2423
(click)="deleteProperty()"
2524
id="propertyDeleteDeleteBtn"
2625
>
2726
{{'Delete' | translate}}
2827
</button>
2928
<button
30-
mat-raised-button
29+
class="btn-cancel"
3130
(click)="hide()"
3231
id="propertyDeleteCancelBtn"
3332
>

eform-client/src/app/plugins/modules/backend-configuration-pn/components/reports/report-header/report-header.component.html

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<form [formGroup]="generateForm">
2-
<div class="d-flex flex-row need-wrapper">
2+
<div class="d-flex flex-row need-wrapper" style="overflow: auto">
33
<mat-form-field>
44
<mat-label>{{'Select filter' | translate}}</mat-label>
55
<mtx-select
@@ -26,18 +26,17 @@
2626
</mat-date-range-input>
2727
<mat-date-range-picker #picker></mat-date-range-picker>
2828
</mat-form-field>
29-
<div class="d-flex flex-row align-items-center ml-4">
29+
<div class="d-flex flex-row align-items-center ml-4 gap-12">
3030
<button
31-
mat-raised-button
32-
color="accent"
31+
class="btn-primary btn-primary--icon-left"
3332
[disabled]="generateForm.invalid"
3433
(click)="onSubmit()"
3534
id="generateTableBtn"
3635
>
3736
{{ 'Generate' | translate }}
3837
</button>
3938
<button
40-
mat-icon-button
39+
class="btn-secondary btn-secondary--icon-rounded-border"
4140
[disabled]="generateForm.invalid"
4241
(click)="onWordSave()"
4342
id="generateWordBtn"
@@ -46,7 +45,7 @@
4645
<mat-icon svgIcon="file-word"></mat-icon>
4746
</button>
4847
<button
49-
mat-icon-button
48+
class="btn-secondary btn-secondary--icon-rounded-border"
5049
[disabled]="generateForm.invalid"
5150
(click)="onExcelSave()"
5251
id="generateExcelBtn"
@@ -55,7 +54,7 @@
5554
<mat-icon svgIcon="file-excel"></mat-icon>
5655
</button>
5756
<button
58-
mat-icon-button
57+
class="btn-secondary btn-secondary--icon-rounded-border"
5958
[disabled]="generateForm.invalid"
6059
(click)="onPdfSave()"
6160
id="generatePdfBtn"

eform-client/src/app/plugins/modules/backend-configuration-pn/modules/documents/components/documents-actions/document-delete/documents-document-delete.component.html

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,7 @@ <h6>{{'Rather than deleting the file, you can also hide the display of the file
5858
<div class="mt-3">
5959
<ng-container *ngIf="getFileNameByLanguage(translation.id)">
6060
<button
61-
mat-icon-button
62-
color="accent"
61+
class="btn-secondary btn-secondary--icon-rounded-border"
6362
(click)="getFile(translation.id)"
6463
matTooltip="{{ 'Show PDF' | translate }}"
6564
>
@@ -71,17 +70,16 @@ <h6>{{'Rather than deleting the file, you can also hide the display of the file
7170
</mat-card>
7271
</div>
7372
</div>
74-
<div mat-dialog-actions class="d-flex flex-row justify-content-end">
73+
<div mat-dialog-actions class="d-flex flex-row justify-content-end align-items-center gap-12">
7574
<button
76-
mat-raised-button
77-
color="accent"
75+
class="btn-delete"
7876
(click)="submitCaseDelete()"
7977
id="deleteDocumentSaveBtn"
8078
>
8179
{{ 'Delete' | translate }}
8280
</button>
8381
<button
84-
mat-raised-button
82+
class="btn-cancel"
8583
(click)="hide()"
8684
id="deleteDocumentCancelBtn"
8785
>

eform-client/src/app/plugins/modules/backend-configuration-pn/modules/documents/components/documents-actions/document-edit/documents-document-edit.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ <h3 mat-dialog-title>{{ 'Edit document' | translate }}</h3>
200200
</mat-card>-->
201201
</div>
202202
</div>
203-
<div mat-dialog-actions class="d-flex flex-row justify-content-end">
203+
<div mat-dialog-actions class="d-flex flex-row justify-content-end align-items-center gap-12">
204204
<button
205205
class="btn-cancel"
206206
id="documentEditCancelBtn"

eform-client/src/app/plugins/modules/backend-configuration-pn/modules/documents/components/documents-folders/documents-folder-delete/documents-folder-delete.component.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,14 @@ <h3 mat-dialog-title>{{'Are you sure you want to delete the folder' | translate}
2727
</div>
2828
<div mat-dialog-actions class="d-flex flex-row justify-content-end">
2929
<button
30-
mat-raised-button
31-
color="warn"
30+
class="btn-delete"
3231
id="saveDeleteBtn"
3332
(click)="deleteFolder()"
3433
>
3534
{{'Delete' | translate}}
3635
</button>
3736
<button
38-
mat-raised-button
37+
class="btn-cancel"
3938
id="cancelDeleteBtn"
4039
(click)="hide()"
4140
>

eform-client/src/app/plugins/modules/backend-configuration-pn/modules/files/components/files-actions/file-create/file-create.component.html

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
11
<eform-new-subheader forceStaticTitle="true" [title]="'Upload files' | translate">
2-
<button
3-
mat-raised-button
4-
id="backBtn"
5-
color="primary"
6-
*ngIf="selectedFile === null"
7-
[routerLink]="'..'"
8-
>
9-
{{'Back' | translate}}
10-
</button>
11-
<button
12-
mat-raised-button
13-
id="uploadFilesBtn"
14-
(click)="uploadFiles()"
15-
color="accent"
16-
*ngIf="selectedFile === null"
17-
[disabled]="disabledUploadBtn"
18-
>
19-
{{'Upload files' | translate}}
20-
</button>
21-
<button
22-
mat-icon-button
23-
id="manageTagsBtn"
24-
matTooltip="{{ 'Manage tags' | translate }}"
25-
(click)="openTagsModal()"
26-
color="primary"
27-
>
28-
<mat-icon>discount</mat-icon>
29-
</button>
2+
<div class="d-flex flex-row justify-content-center align-items-center gap-12">
3+
<button
4+
class="btn-primary btn-primary--icon-left"
5+
id="backBtn"
6+
*ngIf="selectedFile === null"
7+
[routerLink]="'..'"
8+
>
9+
{{'Back' | translate}}
10+
</button>
11+
<button
12+
class="btn-primary btn-primary--icon-left"
13+
id="uploadFilesBtn"
14+
(click)="uploadFiles()"
15+
*ngIf="selectedFile === null"
16+
[disabled]="disabledUploadBtn"
17+
>
18+
<mat-icon>upload</mat-icon>
19+
<span>{{'Upload files' | translate}}</span>
20+
</button>
21+
<button
22+
class="btn-secondary btn-secondary--icon-rounded-border"
23+
id="manageTagsBtn"
24+
matTooltip="{{ 'Manage tags' | translate }}"
25+
(click)="openTagsModal()"
26+
>
27+
<mat-icon>discount</mat-icon>
28+
</button>
29+
</div>
3030
</eform-new-subheader>
3131

3232
<ng-container *ngIf="selectedFile === null">

eform-client/src/app/plugins/modules/backend-configuration-pn/modules/files/components/files-container/files-container.component.html

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
<eform-new-subheader>
2-
<button
3-
matSuffix
4-
mat-icon-button
5-
id="addNewFileBtn"
6-
matTooltip="{{ 'Upload PDF' | translate }}"
7-
routerLink="./create"
8-
color="accent"
9-
>
10-
<mat-icon>file_upload</mat-icon>
11-
</button>
12-
<button
13-
matSuffix
14-
mat-icon-button
15-
id="manageTagsBtn"
16-
matTooltip="{{ 'Manage tags' | translate }}"
17-
(click)="openTagsModal()"
18-
color="primary"
19-
>
20-
<mat-icon>discount</mat-icon>
21-
</button>
2+
<div class="d-flex flex-row justify-content-center align-items-center gap-12">
3+
<button
4+
matSuffix
5+
class="btn-secondary btn-secondary--icon-rounded-border"
6+
id="addNewFileBtn"
7+
matTooltip="{{ 'Upload PDF' | translate }}"
8+
routerLink="./create"
9+
>
10+
<mat-icon>file_upload</mat-icon>
11+
</button>
12+
<button
13+
matSuffix
14+
class="btn-secondary btn-secondary--icon-rounded-border"
15+
id="manageTagsBtn"
16+
matTooltip="{{ 'Manage tags' | translate }}"
17+
(click)="openTagsModal()"
18+
>
19+
<mat-icon>discount</mat-icon>
20+
</button>
21+
</div>
2222
</eform-new-subheader>
2323

2424
<app-files-filters [availableTags]="availableTags" (updateTable)="updateTable()"></app-files-filters>
2525

26-
<div class="d-flex flex-row justify-content-end mb-2">
26+
<div class="d-flex flex-row justify-content-end mb-4">
2727
<button
2828
class="btn-primary btn-primary--icon-left"
2929
[disabled]="selectedFileIds.length === 0"

eform-client/src/app/plugins/modules/backend-configuration-pn/modules/property-workers/components/property-worker-delete-modal/property-worker-delete-modal.component.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ <h3 mat-dialog-title>{{'Are you sure you want to delete' | translate}}?</h3>
3434
{{'Cancel' | translate}}
3535
</button>
3636
<button
37-
mat-raised-button
38-
color="warn"
37+
class="btn-delete"
3938
id="saveDeleteBtn"
4039
(click)="deleteSingle()"
4140
>

eform-client/src/app/plugins/modules/backend-configuration-pn/modules/reports/components/report-header/report-header.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<form [formGroup]="generateForm">
2-
<div class="d-flex flex-row need-wrapper">
2+
<div class="d-flex flex-row need-wrapper align-items-start gap-12">
33
<mat-form-field>
44
<mat-label>{{'Select filter' | translate}}</mat-label>
55
<mtx-select
@@ -26,7 +26,7 @@
2626
</mat-date-range-input>
2727
<mat-date-range-picker #picker></mat-date-range-picker>
2828
</mat-form-field>
29-
<div class="d-flex flex-row align-items-center ml-4">
29+
<div class="d-flex flex-row align-items-center gap-12 pr-4">
3030
<button
3131
class="btn-primary btn-primary--icon-left"
3232
[disabled]="generateForm.invalid"

eform-client/src/app/plugins/modules/backend-configuration-pn/modules/task-management/components/task-management-actions/task-management-create-show-modal/task-management-create-show-modal.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ <h3 mat-dialog-title>{{(isCreate ? 'Create new task' : 'Edit task') | translate}
126126
></textarea>
127127
</mat-form-field>
128128
</div>
129-
<div mat-dialog-actions class="d-flex flex-row justify-content-end">
129+
<div mat-dialog-actions class="d-flex flex-row justify-content-end align-items-center gap-12">
130130
<button
131131
class="btn-cancel"
132132
(click)="hide()"

0 commit comments

Comments
 (0)