amended user info view to accordion

This commit is contained in:
Finn 2018-03-15 13:28:31 +00:00
parent 9229f6ec92
commit a446e62939
2 changed files with 138 additions and 105 deletions

View file

@ -2,6 +2,11 @@
# Next Release
# v0.10.5
* **Admin Feature** Removed generic Transaction List
* **Admin Feature** Amended user view to have accordion
# v0.10.4
* Added API for category budget

View file

@ -11,6 +11,17 @@
<strong>Success!</strong> <%= $success %>
</div>
% }
<div id="accordion">
<div class="card">
<div class="card-header" id="headingOne">
<h5 class="mb-0">
<button class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapseOne" aria-expanded="false" aria-controls="collapseOne">
Edit User Details
</button>
</h5>
</div>
<div id="collapseOne" class="collapse" aria-labelledby="headingOne" data-parent="#accordion">
<div class="card-body">
<form action="<%= url_for %>" method="post" autocomplete="off">
<div class="card mb-3">
<h3 class="card-header">
@ -100,6 +111,19 @@
<button class="btn btn-primary form-control" type="submit">Edit Account</button>
</div>
</form>
</div>
</div>
</div>
<div class="card">
<div class="card-header" id="headingTwo">
<h5 class="mb-0">
<button class="btn btn-link collapsed" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
View User Transaction List
</button>
</h5>
</div>
<div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion">
<div class="card-body">
<div class="card mb-3">
<h3 class="card-header">
Transactions
@ -121,3 +145,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>