Use ng2-materialize in operations module.
This commit is contained in:
@ -40,14 +40,14 @@ import { OperationEditModalComponent } from './operationEditModal.component';
|
||||
|
||||
<td>
|
||||
<!-- Edit operation, for non-canceled operation. -->
|
||||
<button type="button" class="btn-floating green lighten-2"
|
||||
<button mz-button [float]="true" class="green"
|
||||
*ngIf="!operation.canceled"
|
||||
(click)="modify(operation)" title="edit">
|
||||
<span class="fa fa-pencil-square-o"></span>
|
||||
</button>
|
||||
|
||||
<!-- Toggle pointed operation, for non-canceled operations. -->
|
||||
<button type="button" class="btn-floating blue lighten-2"
|
||||
<button mz-button [float]="true" class="blue"
|
||||
*ngIf="!operation.canceled"
|
||||
(click)="togglePointed(operation)"
|
||||
[class.active]="operation.pointed" title="point">
|
||||
@ -56,7 +56,7 @@ import { OperationEditModalComponent } from './operationEditModal.component';
|
||||
</button>
|
||||
|
||||
<!-- Toggle canceled operation. -->
|
||||
<button type="button" class="btn-floating orange lighten-2"
|
||||
<button mz-button [float]="true" class="orange"
|
||||
(click)="toggleCanceled(operation)"
|
||||
*ngIf="operation.scheduled_operation_id"
|
||||
[class.active]="operation.canceled" title="cancel">
|
||||
@ -64,7 +64,7 @@ import { OperationEditModalComponent } from './operationEditModal.component';
|
||||
</button>
|
||||
|
||||
<!-- Delete operation, with confirm. -->
|
||||
<button type="button" class="btn-floating red lighten-2"
|
||||
<button mz-button [float]="true" class="red"
|
||||
(click)="confirmDelete(operation)"
|
||||
*ngIf="operation.id && !operation.scheduled_operation_id">
|
||||
<span class="fa fa-trash-o"></span>
|
||||
|
Reference in New Issue
Block a user