Update operation list component template to use Materialize.
This commit is contained in:
parent
5e7b2167c1
commit
674411a1e2
@ -19,12 +19,12 @@ import { OperationEditModalComponent } from './operationEditModal.component';
|
|||||||
template: `
|
template: `
|
||||||
<div>
|
<div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-9">
|
<div class="col s9">
|
||||||
<balance-chart (onUpdate)="onUpdate($event)"
|
<balance-chart (onUpdate)="onUpdate($event)"
|
||||||
[account]="account"></balance-chart>
|
[account]="account"></balance-chart>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-md-3">
|
<div class="col s3">
|
||||||
<category-chart
|
<category-chart
|
||||||
[minDate]="minDate"
|
[minDate]="minDate"
|
||||||
[maxDate]="maxDate"
|
[maxDate]="maxDate"
|
||||||
@ -33,35 +33,37 @@ import { OperationEditModalComponent } from './operationEditModal.component';
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<table class="table table-striped table-condensed table-hover">
|
<div class="col s12">
|
||||||
<thead>
|
<table class="table table-striped table-condensed table-hover">
|
||||||
<tr>
|
<thead>
|
||||||
<th>#</th>
|
<tr>
|
||||||
<th>Date d'op.</th>
|
<th>#</th>
|
||||||
<th>Libellé de l'opération</th>
|
<th>Date d'op.</th>
|
||||||
<th>Montant</th>
|
<th>Libellé de l'opération</th>
|
||||||
<th>Solde</th>
|
<th>Montant</th>
|
||||||
<th>Catégorie</th>
|
<th>Solde</th>
|
||||||
<th>Actions</th>
|
<th>Catégorie</th>
|
||||||
</tr>
|
<th>Actions</th>
|
||||||
</thead>
|
</tr>
|
||||||
|
</thead>
|
||||||
|
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="6">
|
<td colspan="6">
|
||||||
<button class="btn btn-success" (click)="add()">
|
<button class="btn btn-success" (click)="add()">
|
||||||
Ajouter
|
Ajouter
|
||||||
</button>
|
</button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr [operation-row]="operation"
|
<tr [operation-row]="operation"
|
||||||
[account]="account"
|
[account]="account"
|
||||||
(needsReload)="load(minDate, maxDate)"
|
(needsReload)="load(minDate, maxDate)"
|
||||||
*ngFor="let operation of operations">
|
*ngFor="let operation of operations">
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
|
Loading…
Reference in New Issue
Block a user