Move sizing in button group.

This commit is contained in:
Alexis Lahouze 2015-08-19 18:06:38 +02:00
parent c5096ec85c
commit 20d65f50c3

View File

@ -106,22 +106,22 @@
<form editable-form name="rowform"
onbeforesave="saveOperation($data, $index)"
shown="operation == inserted">
<div class="btn-group">
<div class="btn-group btn-group-xs">
<!-- Save current operation -->
<button type="submit" class="btn btn-xs btn-success"
<button type="submit" class="btn btn-success"
ng-if="rowform.$visible" title="Save">
<span class="fa fa-floppy-o"></span>
</button>
<!-- Edit operation. -->
<button type="button" class="btn btn-xs btn-default"
<button type="button" class="btn btn-default"
ng-if="!rowform.$visible"
ng-click="rowform.$show()" title="edit">
<span class="fa fa-pencil-square-o"></span>
</button>
<!-- Cancel edit. -->
<button type="button" class="btn btn-xs btn-default"
<button type="button" class="btn btn-default"
ng-if="rowform.$visible"
ng-click="cancelEditOperation(operations, rowform)"
title="Cancel">
@ -129,7 +129,7 @@
</button>
<!-- Remove operation. -->
<button type="button" class="btn btn-xs btn-default"
<button type="button" class="btn btn-default"
bs-modal="static/templates/operation_remove.html"
title="remove">
<span class="fa fa-trash"></span>