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