Use ng2-materialize in account module.
This commit is contained in:
parent
b5abe44bd9
commit
8fcbef9b5a
@ -9,6 +9,7 @@ import { RouterModule } from '@angular/router';
|
||||
import { NgLoggerModule, Level } from '@nsalaun/ng-logger';
|
||||
import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { ToastrModule } from 'ngx-toastr';
|
||||
import { MaterializeModule } from 'ng2-materialize';
|
||||
|
||||
import { AccountService } from './account.service';
|
||||
import { AccountBalancesService } from './accountBalances.service';
|
||||
@ -30,7 +31,8 @@ import { AccountListState } from './account.states'
|
||||
]),
|
||||
NgLoggerModule,
|
||||
ToastrModule,
|
||||
NgbModule
|
||||
NgbModule,
|
||||
MaterializeModule,
|
||||
],
|
||||
providers: [
|
||||
AccountService,
|
||||
|
@ -30,7 +30,7 @@ import { AccountEditModalComponent } from './accountEditModal.component';
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="5">
|
||||
<button class="btn waves-effect green lighten-2" (click)="add()">
|
||||
<button mz-button class="green" (click)="add()">
|
||||
Ajouter
|
||||
</button>
|
||||
</td>
|
||||
|
@ -46,19 +46,19 @@ import { AccountEditModalComponent } from './accountEditModal.component';
|
||||
|
||||
<td>
|
||||
<!-- Edit account. -->
|
||||
<button type="button" class="btn-floating green lighten-2"
|
||||
<button mz-button [float]="true" class="green"
|
||||
(click)="modify()">
|
||||
<span class="fa fa-pencil-square-o"></span>
|
||||
</button>
|
||||
|
||||
<!-- Delete account, with confirm. -->
|
||||
<button type="button" class="btn-floating red lighten-2"
|
||||
<button mz-button [float]="true" class="red"
|
||||
(click)="confirmDelete()">
|
||||
<span class="fa fa-trash-o"></span>
|
||||
</button>
|
||||
|
||||
<!-- Open account scheduler. -->
|
||||
<button class="btn-floating"
|
||||
<button mz-button [float]="true"
|
||||
[hidden]="!account.id"
|
||||
[routerLink]="['/account', account.id, 'scheduler']">
|
||||
<span class="fa fa-clock-o"></span>
|
||||
|
Loading…
Reference in New Issue
Block a user