Move sizing in button group.

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

View File

@ -101,30 +101,30 @@
<form editable-form name="rowform" <form editable-form name="rowform"
onbeforesave="saveEntry($data, $index)" onbeforesave="saveEntry($data, $index)"
shown="entry == inserted"> shown="entry == inserted">
<div class="btn-group"> <div class="btn-group btn-group-xs">
<!-- Save current entry, for editing and non-confirmed non-canceled entries --> <!-- Save current entry, for editing and non-confirmed non-canceled entries -->
<button type="submit" class="btn btn-xs btn-success" <button type="submit" class="btn btn-success"
ng-if="!entry.canceled && (!entry.confirmed || rowform.$visible)" ng-if="!entry.canceled && (!entry.confirmed || rowform.$visible)"
title="Save"> title="Save">
<span class="fa fa-floppy-o"></span> <span class="fa fa-floppy-o"></span>
</button> </button>
<!-- Edit entry, for non-canceled and non-editing entries--> <!-- Edit entry, for non-canceled and non-editing entries-->
<button type="button" class="btn btn-xs btn-default" <button type="button" class="btn btn-default"
ng-if="!entry.canceled && !rowform.$visible" ng-if="!entry.canceled && !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 edition, for editing entries. --> <!-- Cancel edition, for editing entries. -->
<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="cancelEditEntry(entry, rowform)"> ng-click="cancelEditEntry(entry, rowform)">
<span class="fa fa-times"></span> <span class="fa fa-times"></span>
</button> </button>
<!-- Toggle pointed entry, for non-canceled entries. --> <!-- Toggle pointed entry, for non-canceled entries. -->
<button type="button" class="btn btn-xs btn-default" <button type="button" class="btn btn-default"
ng-if="!entry.canceled" ng-if="!entry.canceled"
ng-click="togglePointedEntry(entry, rowform)" ng-click="togglePointedEntry(entry, rowform)"
ng-class="{active: entry.pointed}" title="point"> ng-class="{active: entry.pointed}" title="point">
@ -132,7 +132,7 @@
</button> </button>
<!-- Toggle canceled entry, for non-editing entries. --> <!-- Toggle canceled entry, for non-editing entries. -->
<button type="button" class="btn btn-xs btn-default" <button type="button" class="btn btn-default"
ng-click="toggleCanceledEntry(entry)" ng-click="toggleCanceledEntry(entry)"
ng-if="!rowform.$visible" ng-if="!rowform.$visible"
ng-class="{active: entry.canceled}" title="cancel"> ng-class="{active: entry.canceled}" title="cancel">