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