Move add button.

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

View File

@ -29,12 +29,6 @@
</div>
</div>
<div class="row">
<div class="col-md-3 col-md-offset-1">
<button class="btn btn-success" ng-click="addEntry()">Ajouter</button>
</div>
</div>
<!-- Row with entry table -->
<div class="row">
<table class="table table-striped table-condensed table-hover">
@ -52,7 +46,14 @@
<!-- Body of the table containing the entries -->
<tbody>
<!-- Row for an editing entry. -->
<tr>
<td colspan="6">
<button class="btn btn-success" ng-click="addEntry()">
Ajouter
</button>
</td>
</tr>
<tr id="{{ entry.id }}" class="form-inline"
ng-class="{stroke: entry.canceled, italic: !entry.confirmed, warning: entry.sold < 0, danger: entry.sold < account.authorized_overdraft}"
ng-repeat="entry in entries">