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,14 +16,7 @@
-->
<!-- vim: set tw=80 ts=2 sw=2 sts=2: -->
<!-- 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">
<!-- Head of the table containing column headers and size -->
<thead>
@ -38,7 +31,16 @@
<!-- Body of the table containing the entries -->
<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>
<span editable-text="account.name"
e-placeholder="Nom du compte"
@ -112,5 +114,4 @@
</tr>
</tbody>
</table>
</div>
</div>