Move add button. Reindent.

This commit is contained in:
Alexis Lahouze 2015-08-19 17:40:48 +02:00
parent 2884ce78aa
commit 281eebbd62

View File

@ -16,13 +16,6 @@
--> -->
<!-- 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="col-md-3 col-md-offset-1">
<button class="btn btn-success" ng-click="addAccount()">Ajouter</button>
</div>
</div>
<div class="row"> <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 -->
@ -38,7 +31,16 @@
<!-- Body of the table containing the entries --> <!-- Body of the table containing the entries -->
<tbody> <tbody>
<tr id="{{ account.id }}" class="form-inline" ng-class="rowClass(account)" ng-repeat="account in accounts"> <tr>
<td colspan="5">
<button class="btn btn-success btn-success"
ng-click="addAccount()">Ajouter</button>
</td>
</tr>
<tr id="{{ account.id }}"
class="form-inline" ng-class="rowClass(account)"
ng-repeat="account in accounts">
<td> <td>
<span editable-text="account.name" <span editable-text="account.name"
e-placeholder="Nom du compte" e-placeholder="Nom du compte"
@ -113,4 +115,3 @@
</tbody> </tbody>
</table> </table>
</div> </div>
</div>