Skip to content

Commit 32b8efd

Browse files
committed
Simple loading indicator
1 parent 5e43508 commit 32b8efd

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

src/app/app.component.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<ngx-loading [show]="loading" [config]="{ backdropBorderRadius: '14px' }"></ngx-loading>
22
<div class="container">
3-
<h2>Basic CRUD Angular 5 POC</h2>
43
<div class="row">
54
<div class="col-xs-12">
65
<div>
7-
<span class="">CRUD Manager</span>
6+
<h3>CRUD Manager</h3>
87
<button type="button" class="btn custom-btn btn-primary pull-right" (click)="addNew()">
98
<span class="fa fa-plus">&nbsp;Add New</span>
109
</button>

src/app/simple-modal-content/simple-modal-content.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ <h4 class="modal-title pull-left">{{title}}</h4>
1515
<div class="col-md-4">
1616
<input id="name"name="name" type="text" placeholder="Enter Employee Name" class="form-control input-md" formControlName="name">
1717
<div *ngIf="employeeForm.controls.name.invalid && employeeForm.controls.name.touched">
18-
Name is invalid
18+
Invalid
1919
</div>
2020
</div>
2121
</div>

src/styles.scss

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66

77
@import 'assets/custom-styles/checkbox';
88

9+
.btn{
10+
&.custom-btn{
11+
margin-bottom: 10px;
12+
}
13+
}
14+
915
.ngx-datatable{
1016
&.bootstrap{
1117
border: 1px solid #dadada;
@@ -21,11 +27,12 @@
2127
}
2228
.datatable-body{
2329
.datatable-body-row{
30+
&.active{
31+
background-color: #FFFFFF !important;
32+
color: #000 !important;
33+
}
2434
&.datatable-row-even{
2535
background-color: transparent !important;
26-
&.active{
27-
background-color: #1483ff !important;
28-
}
2936
}
3037
.datatable-body-cell{
3138
overflow: inherit;

0 commit comments

Comments
 (0)