Skip to content

Commit 780a0a3

Browse files
committed
Clean up Bootstrap 4 framework indentation.
1 parent 99b5019 commit 780a0a3

File tree

2 files changed

+25
-26
lines changed

2 files changed

+25
-26
lines changed

src/lib/src/framework-library/bootstrap-4-framework/bootstrap-4-framework.component.ts

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -24,52 +24,52 @@ import {
2424
(formControl?.dirty || options?.feedbackOnRender)">
2525
2626
<button *ngIf="showRemoveButton"
27-
class="close pull-right"
28-
type="button"
29-
(click)="removeItem()">
27+
class="close pull-right"
28+
type="button"
29+
(click)="removeItem()">
3030
<span aria-hidden="true">&times;</span>
3131
<span class="sr-only">Close</span>
3232
</button>
3333
<div *ngIf="options?.messageLocation === 'top'">
3434
<p *ngIf="options?.helpBlock"
35-
class="help-block"
36-
[innerHTML]="options?.helpBlock"></p>
35+
class="help-block"
36+
[innerHTML]="options?.helpBlock"></p>
3737
</div>
3838
3939
<label *ngIf="options?.title && layoutNode?.type !== 'tab'"
40-
[attr.for]="'control' + layoutNode?._id"
41-
[class]="options?.labelHtmlClass"
42-
[class.sr-only]="options?.notitle"
43-
[innerHTML]="options?.title"></label>
40+
[attr.for]="'control' + layoutNode?._id"
41+
[class]="options?.labelHtmlClass"
42+
[class.sr-only]="options?.notitle"
43+
[innerHTML]="options?.title"></label>
4444
<p *ngIf="layoutNode?.type === 'submit' && jsf?.formOptions?.fieldsRequired">
4545
<strong class="text-danger">*</strong> = required fields
4646
</p>
4747
<div [class.input-group]="options?.fieldAddonLeft || options?.fieldAddonRight">
4848
<span *ngIf="options?.fieldAddonLeft"
49-
class="input-group-addon"
50-
[innerHTML]="options?.fieldAddonLeft"></span>
49+
class="input-group-addon"
50+
[innerHTML]="options?.fieldAddonLeft"></span>
5151
5252
<select-widget-widget
5353
[layoutNode]="widgetLayoutNode"
5454
[dataIndex]="dataIndex"
5555
[layoutIndex]="layoutIndex"></select-widget-widget>
5656
5757
<span *ngIf="options?.fieldAddonRight"
58-
class="input-group-addon"
59-
[innerHTML]="options?.fieldAddonRight"></span>
58+
class="input-group-addon"
59+
[innerHTML]="options?.fieldAddonRight"></span>
6060
</div>
6161
6262
<span *ngIf="options?.feedback && options?.isInputWidget &&
6363
!options?.fieldAddonRight && !layoutNode.arrayItem &&
6464
(formControl?.dirty || options?.feedbackOnRender)"
65-
[class.glyphicon-ok]="options?.enableSuccessState && !formControl?.errors"
66-
[class.glyphicon-remove]="options?.enableErrorState && formControl?.errors"
67-
aria-hidden="true"
68-
class="form-control-feedback glyphicon"></span>
65+
[class.glyphicon-ok]="options?.enableSuccessState && !formControl?.errors"
66+
[class.glyphicon-remove]="options?.enableErrorState && formControl?.errors"
67+
aria-hidden="true"
68+
class="form-control-feedback glyphicon"></span>
6969
<div *ngIf="options?.messageLocation !== 'top'">
7070
<p *ngIf="options?.helpBlock"
71-
class="help-block"
72-
[innerHTML]="options?.helpBlock"></p>
71+
class="help-block"
72+
[innerHTML]="options?.helpBlock"></p>
7373
</div>
7474
</div>
7575

src/lib/src/framework-library/bootstrap-4-framework/bootstrap-4-framework.module.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ import { FrameworkLibraryService } from '../framework-library.service';
99
import { Bootstrap4FrameworkComponent } from './bootstrap-4-framework.component';
1010

1111
@NgModule({
12-
imports: [CommonModule, WidgetLibraryModule],
13-
declarations: [Bootstrap4FrameworkComponent],
14-
exports: [Bootstrap4FrameworkComponent],
15-
entryComponents: [Bootstrap4FrameworkComponent],
16-
providers: [WidgetLibraryService, FrameworkLibraryService]
12+
imports: [ CommonModule, WidgetLibraryModule ],
13+
declarations: [ Bootstrap4FrameworkComponent ],
14+
exports: [ Bootstrap4FrameworkComponent ],
15+
entryComponents: [ Bootstrap4FrameworkComponent ],
16+
providers: [ WidgetLibraryService, FrameworkLibraryService ]
1717
})
18-
export class Bootstrap4FrameworkModule {
19-
}
18+
export class Bootstrap4FrameworkModule { }

0 commit comments

Comments
 (0)