Move add button.

This commit is contained in:
Alexis Lahouze 2015-08-19 18:08:02 +02:00
parent 20d65f50c3
commit f22af2977e

View File

@ -16,14 +16,7 @@
--> -->
<!-- vim: set tw=80 ts=2 sw=2 sts=2: --> <!-- vim: set tw=80 ts=2 sw=2 sts=2: -->
<!-- Row with entry table --> <!-- Row with entry table -->
<div> <div class="row">
<div class="row">
<div class="col-md-3 col-md-offset-1">
<button class="btn btn-success" ng-click="addOperation()">Ajouter</button>
</div>
</div>
<div class="row">
<table class="table table-striped table-condensed table-hover"> <table class="table table-striped table-condensed table-hover">
<!-- Head of the table containing column headers and size --> <!-- Head of the table containing column headers and size -->
<thead> <thead>
@ -41,6 +34,14 @@
<!-- Body of the table containing the entries --> <!-- Body of the table containing the entries -->
<tbody> <tbody>
<tr>
<td colspan="8">
<button class="btn btn-success" ng-click="addOperation()">
Ajouter
</button>
</td>
</tr>
<tr id="{{ operation.id }}" class="form-inline" <tr id="{{ operation.id }}" class="form-inline"
ng-repeat="operation in operations"> ng-repeat="operation in operations">
<td class="col-md-1"> <td class="col-md-1">
@ -140,5 +141,4 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div>
</div> </div>