Skip to content

Commit cc75b9e

Browse files
authored
Merge pull request #7334 from masudul-tikweb/master
new table design
2 parents 5d56233 + ef9eab6 commit cc75b9e

File tree

14 files changed

+245
-30
lines changed

14 files changed

+245
-30
lines changed

eform-client/src/app/common/modules/eform-shared/components/eform-new-subheader/eform-new-subheader.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<mat-card class="d-flex flex-row align-items-center mb-3 p-3">
1+
<mat-card class="eform-sub-header d-flex flex-row align-items-center mb-3 p-3 ">
22
<div class="d-flex flex-column">
33
<h2 style="margin: 0">
44
{{

eform-client/src/app/components/layouts/full-layout/full-layout.component.html

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,18 @@
11
<div class="h-100 d-flex flex-column" *ngIf="selectIsAuth$ | async">
22
<!-- <app-header></app-header>-->
3-
<mat-toolbar style="padding-top: 5px; padding-bottom: 5px" class="d-flex align-items-center">
4-
<div *ngIf="headerSettingsModel.imageLinkVisible" class="d-flex">
5-
<div class="logo-container">
6-
<img height="30px" id="site-header-image" [src]="logoImage | authImage | async"
7-
*ngIf="headerSettingsModel.imageLinkVisible" alt="">
3+
<mat-toolbar style="padding-top: 5px; padding-bottom: 5px" class="d-flex align-items-center nav-header">
4+
<div class="d-flex align-items-center gap-12">
5+
<button mat-icon-button (click)="toggleDrawer()" [hidden]="(selectConnectionStringExists$ | async) === false">
6+
<mat-icon>menu</mat-icon>
7+
</button>
8+
<div *ngIf="headerSettingsModel.imageLinkVisible" class="d-flex">
9+
<div class="logo-container">
10+
<img height="30px" id="site-header-image" [src]="logoImage | authImage | async"
11+
*ngIf="headerSettingsModel.imageLinkVisible" alt="">
12+
</div>
813
</div>
914
</div>
10-
<button mat-icon-button (click)="toggleDrawer()" [hidden]="(selectConnectionStringExists$ | async) === false">
11-
<mat-icon>menu</mat-icon>
12-
</button>
15+
1316
<span class="spacer"></span>
1417
<div class="tag">
1518
<mat-icon>account_circle</mat-icon>
@@ -30,15 +33,15 @@
3033
</mat-menu>
3134
</div>
3235
</mat-toolbar>
33-
<mat-drawer-container autosize style="height: 100%;">
36+
<mat-drawer-container autosize style="height: 100%;" class="mat-app-background">
3437
<mat-drawer
3538
#drawer
3639
[mode]="sidenavMode"
3740
[opened]="(selectSideMenuOpened$ | async) === true">
3841
<app-navigation (clickOnLink)="onClickOnLink()"></app-navigation>
3942
<app-footer></app-footer>
4043
</mat-drawer>
41-
<div class="mb-auto p-4" *ngIf="selectIsAuth$ | async">
44+
<div class="mb-auto mat-app-background" *ngIf="selectIsAuth$ | async">
4245
<app-userback-widget></app-userback-widget>
4346
<router-outlet></router-outlet>
4447
</div>

eform-client/src/app/modules/advanced/components/entity-search/entity-search/entity-search.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
[showPaginator]="true"
3737
[paginationTemplate]="paginatorTpl"
3838
[pageOnFront]="false"
39-
[rowStriped]="true"
39+
[rowStriped]="false"
4040
[showToolbar]="true"
4141
[showColumnMenuButton]="false"
4242
[toolbarTemplate]="toolbarTpl"

eform-client/src/app/modules/advanced/components/entity-select/entity-select/entity-select.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
[showPaginator]="true"
3737
[paginationTemplate]="paginatorTpl"
3838
[pageOnFront]="false"
39-
[rowStriped]="true"
39+
[rowStriped]="false"
4040
[showToolbar]="true"
4141
[showColumnMenuButton]="false"
4242
[toolbarTemplate]="toolbarTpl"

eform-client/src/app/modules/advanced/components/sites/sites/sites.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
[cellTemplate]="{ siteUId: siteUIdTpl, siteName: siteNameTpl, units: unitsTpl, tags: tagsTpl, actions: actionsTpl}"
1919
[showPaginator]="false"
2020
[pageOnFront]="false"
21-
[rowStriped]="true"
21+
[rowStriped]="false"
2222
[showToolbar]="false"
2323
[showColumnMenuButton]="false">
2424
</mtx-grid>

eform-client/src/app/modules/advanced/components/units/units.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
actions: actionsTpl}"
2222
[showPaginator]="false"
2323
[pageOnFront]="false"
24-
[rowStriped]="true"
24+
[rowStriped]="false"
2525
[showToolbar]="false"
2626
[showColumnMenuButton]="false">
2727
</mtx-grid>

eform-client/src/app/modules/advanced/components/workers/workers/workers.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
[cellTemplate]="{actions: actionsTpl}"
2020
[showPaginator]="false"
2121
[pageOnFront]="false"
22-
[rowStriped]="true"
22+
[rowStriped]="false"
2323
[showColumnMenuButton]="false">
2424
</mtx-grid>
2525
<ng-template #actionsTpl let-row let-i="index">

eform-client/src/app/modules/device-users/components/device-users-page/device-users-page.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
actions: actionsTpl}"
4141
[showPaginator]="false"
4242
[pageOnFront]="false"
43-
[rowStriped]="true"
43+
[rowStriped]="false"
4444
[showToolbar]="true"
4545
[showColumnMenuButton]="false"
4646
[toolbarTemplate]="toolbarTpl">

eform-client/src/app/modules/eforms/components/eforms-page/eforms-page.component.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545

4646
<!--Here you can choose approach as you like: container-row, or flex, or just element with required styles and markup-->
4747
<ng-template #toolbarTpl>
48-
<div class="d-flex flex-row justify-content-start flex-nowrap">
49-
<div class="d-flex flex-column mr-2 ml-2">
48+
<div class="d-flex flex-row justify-content-start flex-nowrap align-items-center gap-12">
49+
<div class="d-flex flex-column">
5050
<mat-form-field>
5151
<mat-label>{{ 'Search eForm' | translate }}</mat-label>
5252
<input
@@ -104,7 +104,7 @@
104104
actions: actionsTpl}"
105105
[showPaginator]="false"
106106
[pageOnFront]="false"
107-
[rowStriped]="true"
107+
[rowStriped]="false"
108108
[showToolbar]="true"
109109
[showColumnMenuButton]="false"
110110
[toolbarTemplate]="toolbarTpl"

eform-client/src/app/modules/email-recipients/components/email-recipients-page/email-recipients-page.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
[showPaginator]="true"
5050
[paginationTemplate]="paginatorTpl"
5151
[pageOnFront]="false"
52-
[rowStriped]="true"
52+
[rowStriped]="false"
5353
[showToolbar]="true"
5454
[showColumnMenuButton]="false"
5555
[toolbarTemplate]="toolbarTpl"

0 commit comments

Comments
 (0)