Move sizing in button group.

This commit is contained in:
Alexis Lahouze 2015-08-19 18:02:39 +02:00
parent ace2e94db4
commit bbe6d20a9b

View File

@ -74,36 +74,36 @@
<td>
<form editable-form name="rowform"
onbeforesave="saveAccount($data, $index)" shown="!account.id">
<div class="btn-group">
<div class="btn-group btn-group-xs">
<!-- Edit account. -->
<button type="button" class="btn btn-xs btn-success"
<button type="button" class="btn btn-success"
ng-show="!rowform.$visible"
ng-click="rowform.$show()">
<span class="fa fa-pencil-square-o"></span>
</button>
<!-- Save account. -->
<button type="submit" class="btn btn-xs btn-success"
<button type="submit" class="btn btn-success"
ng-if="rowform.$visible">
<span class="fa fa-floppy-o"></span>
</button>
<!-- Cancel account edition. -->
<button type="button" class="btn btn-xs btn-default"
<button type="button" class="btn btn-default"
ng-if="rowform.$visible"
ng-click="cancelEdit(rowform, account, $index)">
<span class="fa fa-times"></span>
</button>
<!-- Delete account, with confirm. -->
<button type="button" class="btn btn-xs btn-default"
<button type="button" class="btn btn-default"
ng-if="account.id"
ng-click="deleteAccount(account, $index)">
<span class="fa fa-trash-o"></span>
</button>
<!-- Open account scheduler. -->
<a class="btn btn-xs btn-default"
<a class="btn btn-default"
ng-if="account.id"
href="account/{{ account.id }}/scheduler">
<span class="fa fa-clock-o"></span>