Fixed checkboxes style

pull/1941/head
Jamie 7 years ago
parent e840f828e7
commit f42b2938d2

@ -7,9 +7,12 @@
<table class="table table-striped table-hover table-responsive table-condensed table-usermanagement"> <table class="table table-striped table-hover table-responsive table-condensed table-usermanagement">
<thead> <thead>
<tr> <tr>
<th > <th style="width:1%">
<a> <a>
<input type="checkbox" ng-checked="checkAll" (change)="checkAllBoxes()"> <td class="checkbox" data-label="Select:">
<input id="all" type="checkbox" ng-checked="checkAll" (change)="checkAllBoxes()">
<label for="all"></label>
</td>
</a> </a>
</th> </th>
<th (click)="setOrder('u.userName')"> <th (click)="setOrder('u.userName')">
@ -57,8 +60,9 @@
</thead> </thead>
<tbody> <tbody>
<tr *ngFor="let u of users | orderBy: order : reverse : 'case-insensitive'"> <tr *ngFor="let u of users | orderBy: order : reverse : 'case-insensitive'">
<td class="td-labelled" data-label="Select:"> <td class="checkbox" data-label="Select:">
<input type="checkbox" [(ngModel)]="u.checked"> <input id="{{u.id}}" type="checkbox" [(ngModel)]="u.checked">
<label for="{{u.id}}"></label>
</td> </td>
<td class="td-labelled" data-label="Username:"> <td class="td-labelled" data-label="Username:">
{{u.userName}} {{u.userName}}
@ -92,7 +96,3 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>

@ -411,15 +411,6 @@ $border-radius: 10px;
line-height: 13px; line-height: 13px;
} }
.small-checkbox label {
display: inline-block;
cursor: pointer;
position: relative;
padding-left: 25px;
margin-right: 15px;
font-size: 13px;
margin-bottom: 10px;
}
.radio label { .radio label {
display: inline-block; display: inline-block;
@ -456,6 +447,15 @@ $border-radius: 10px;
line-height: 13px; line-height: 13px;
} }
.small-checkbox label {
display: inline-block;
cursor: pointer;
position: relative;
padding-left: 25px;
margin-right: 15px;
font-size: 13px;
margin-bottom: 10px;
}
.small-checkbox label:before { .small-checkbox label:before {

Loading…
Cancel
Save