Commit c117222c6ad17761a36eb04be86f22d60d04bc17

Authored by trainee
1 parent 477eccd4
Exists in master

no message

src/app/dashboard/dashboard.component.html
... ... @@ -54,7 +54,7 @@
54 54 </div>
55 55 <br>
56 56 <br>
57   - <button class="btn btn-default " *ngFor="let name of ButtonValue" (click)="getButton1(name.valueN)" style="margin-left: 5px; margin-top: 2px;">{{ name.name }}</button>
  57 + <button type="button" class ="btn btn-default" *ngFor="let name of ButtonValue" (click)="getButton1(name.valueN)" style="margin-left: 5px; margin-top: 2px;">{{ name.name }}</button>
58 58 <hr>
59 59 <br>
60 60 </div>
... ...
src/app/dashboard/dashboard.component.scss
... ... @@ -31,8 +31,9 @@
31 31 padding: 30px;
32 32 }
33 33  
34   -.co {
35   - background-color: aquamarine;
  34 +btn.active {
  35 + color: #333;
  36 + background-color: red;
36 37 }
37 38  
38 39 .form-control {
... ...
src/app/dashboard/dashboard.component.ts
... ... @@ -215,7 +215,7 @@ export class DashboardComponent implements OnInit {
215 215 valueN : 'web'
216 216 },
217 217 {
218   - name : 'reset',
  218 + name : 'Refresh',
219 219 valueN : ''
220 220 },
221 221 ];
... ...