This commit is contained in:
2016-07-18 16:20:26 +02:00
parent 3aa1966f8b
commit 0247db6b12
22 changed files with 10088 additions and 40 deletions
@@ -8,7 +8,7 @@
ng-options="account.name for account in accounts track by account.id"></select>
</div>
<div class="col-md-offset-4 col-md-4 col-xs-offset-1 col-xs-10">
<div class="col-md-offset-4 col-md-4 col-xs-12">
<div ng-show="lastSubmission" class="lastSubmission col-xs-offset-1 alert alert-info" role="alert">
{{lastSubmission.date | date:'dd.MM.yyyy'}}
@@ -17,8 +17,8 @@
<span style='color: red; font-weight: bold;'><a href='' ng-click='deleteLastSubmission()'>löschen</a></span>
</div>
<div class="row" style="margin-top:2em;">
<form name="form" ng-submit="postTransaction()">
<div class="row" style="margin: 2em 2ex 2ex 2ex;">
<form name="form" ng-submit="submitTransaction()">
<div class="row form-group">
<label for="amountInput">Betrag</label>
@@ -72,9 +72,12 @@
<label class='userLabel' ng-repeat="user in accountUsers"><input name='expenseBy' ng-model='$parent.transaction.creditor' type='radio' value="{{user._links.self.href}}" />&nbsp;{{user.name}}&nbsp;&nbsp;</label>
</div>
</div>
<div class="row form-group" style="text-align:center;">
<input type="submit" ng-disabled="form.amount.$error.pattern" class="btn btn-primary" />
<div class="row form-group" style="text-align: center;">
<button id="transactionSubmit" type="submit" class="btn btn-primary" ng-disabled="form.amount.$error.pattern">
<span ng-show="waitingForSubmission"><i class="glyphicon glyphicon-refresh spinning"></i>&nbsp;</span>
Senden
</button>
</div>
</form>