diff options
Diffstat (limited to 'ui/src/app/master-checkbox.component.ts')
-rw-r--r-- | ui/src/app/master-checkbox.component.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/src/app/master-checkbox.component.ts b/ui/src/app/master-checkbox.component.ts index 8c8208a..a8358fc 100644 --- a/ui/src/app/master-checkbox.component.ts +++ b/ui/src/app/master-checkbox.component.ts @@ -7,9 +7,9 @@ interface Checkable { @Component({ selector: 'app-master-checkbox', template: ` - <div class="custom-control custom-checkbox"> - <input type="checkbox" class="custom-control-input" id="{{id}}-select-all" #masterCheckbox [(ngModel)]="selected" (change)="clicked()"> - <label class="custom-control-label" for="{{id}}-select-all"></label> + <div class="form-check"> + <input type="checkbox" class="form-check-input" id="{{id}}-select-all" #masterCheckbox [(ngModel)]="selected" (change)="clicked()"> + <label class="form-check-label" for="{{id}}-select-all"></label> </div> ` }) @@ -40,9 +40,9 @@ export class MasterCheckboxComponent { @Component({ selector: 'app-slave-checkbox', template: ` - <div class="custom-control custom-checkbox"> - <input type="checkbox" class="custom-control-input" id="{{master.id}}-{{id}}-select" [(ngModel)]="checkable.checked" (change)="master.selectionChanged()"> - <label class="custom-control-label" for="{{master.id}}-{{id}}-select"></label> + <div class="form-check"> + <input type="checkbox" class="form-check-input" id="{{master.id}}-{{id}}-select" [(ngModel)]="checkable.checked" (change)="master.selectionChanged()"> + <label class="form-check-label" for="{{master.id}}-{{id}}-select"></label> </div> ` }) |