Skip to content

Commit 7a864d0

Browse files
author
Mathias Husum Nielsen
committed
fixing multiple checkboxes per decive user, making tables look alike
1 parent a8db917 commit 7a864d0

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

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
@@ -4,7 +4,7 @@
44

55
<!--Here you can choose approach as you like: container-row, or flex, or just element with required styles and markup-->
66
<div class="container-fluid">
7-
<div class="row pt-3 table-responsive no-gutters">
7+
<div class="row p-1 table-responsive no-gutters">
88
<table mat-table class="table table-sm table-striped text-center mat-elevation-z8">
99
<thead>
1010
<tr>

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
@@ -4,7 +4,7 @@
44

55
<!--Here you can choose approach as you like: container-row, or flex, or just element with required styles and markup-->
66
<div class="container-fluid">
7-
<div class="row pt-3 table-responsive no-gutters">
7+
<div class="row p-1 table-responsive no-gutters">
88
<table mat-table class="table table-sm table-striped text-center mat-elevation-z8">
99
<thead>
1010
<tr>

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
@@ -10,7 +10,7 @@
1010

1111
<!--Here you can choose approach as you like: container-row, or flex, or just element with required styles and markup-->
1212
<div class="container-fluid">
13-
<div class="row pt-3 table-responsive no-gutters">
13+
<div class="row p-1 table-responsive no-gutters">
1414
<table mat-table class="table table-sm table-striped text-center mat-elevation-z8">
1515
<thead>
1616
<tr>

eform-client/src/app/modules/eforms/components/eform-edit-paring-modal/eform-edit-paring-modal.component.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ <h3>{{'eForm Pairing'}}</h3>
1919
<td class="align-middle">{{siteDto.siteName}}</td>
2020
<td class="align-middle">
2121
<div *ngFor="let checkboxModel of deployViewModel.deployCheckboxes">
22+
<label *ngIf="checkboxModel.id == siteDto.siteUId">
2223
<mat-checkbox (click)="addToArray($event, checkboxModel.id)"
23-
[checked]="checkboxModel.isChecked" [value]="checkboxModel.isChecked" color="primary">
24-
24+
[checked]="checkboxModel.isChecked" [value]="checkboxModel.isChecked" color="primary" type="checkbox">
2525
</mat-checkbox>
26+
</label>
2627
</div>
2728
</td>
2829
</tr>

0 commit comments

Comments
 (0)