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"
onbeforesave="saveEntry($data, $index)"
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 -->
<button type="submit" class="btn btn-xs btn-success"
<button type="submit" class="btn btn-success"
ng-if="!entry.canceled && (!entry.confirmed || rowform.$visible)"
title="Save">
<span class="fa fa-floppy-o"></span>
</button>
<!-- 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-click="rowform.$show()" title="edit">
<span class="fa fa-pencil-square-o"></span>
</button>
<!-- 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-click="cancelEditEntry(entry, rowform)">
<span class="fa fa-times"></span>
</button>
<!-- 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-click="togglePointedEntry(entry, rowform)"
ng-class="{active: entry.pointed}" title="point">
@ -132,7 +132,7 @@
</button>
<!-- 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-if="!rowform.$visible"
ng-class="{active: entry.canceled}" title="cancel">