Fix button sizes and styles.

This commit is contained in:
Alexis Lahouze
2017-07-25 23:29:16 +02:00
parent 0e037e664f
commit 931ef38f29
5 changed files with 11 additions and 78 deletions

View File

@ -76,16 +76,16 @@
</td>
<td>
<div class="btn-group btn-group-xs">
<div class="btn-group btn-group-sm">
<!-- Edit operation, for non-canceled operation. -->
<button type="button" class="btn btn-default"
<button type="button" class="btn btn-success"
ng-if="!operation.canceled"
ng-click="operationsCtrl.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 btn-default"
<button type="button" class="btn btn-secondary"
ng-if="!operation.canceled"
ng-click="operationsCtrl.togglePointed(operation)"
ng-class="{active: operation.pointed}" title="point">
@ -93,7 +93,7 @@
</button>
<!-- Toggle canceled operation. -->
<button type="button" class="btn btn-default"
<button type="button" class="btn btn-warning"
ng-click="operationsCtrl.toggleCanceled(operation)"
ng-if="operation.scheduled_operation_id && !rowform.$visible"
ng-class="{active: operation.canceled}" title="cancel">
@ -101,7 +101,7 @@
</button>
<!-- Delete operation, with confirm. -->
<button type="button" class="btn btn-default"
<button type="button" class="btn btn-danger"
ng-if="operation.id && !operation.scheduled_operation_id"
ng-click="operationsCtrl.confirmDelete(operation)">
<span class="fa fa-trash-o"></span>