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