diff options
Diffstat (limited to 'talerbank/app/templates/profile_page.html')
-rw-r--r-- | talerbank/app/templates/profile_page.html | 46 |
1 files changed, 3 insertions, 43 deletions
diff --git a/talerbank/app/templates/profile_page.html b/talerbank/app/templates/profile_page.html index bb6ce49..cea85ce 100644 --- a/talerbank/app/templates/profile_page.html +++ b/talerbank/app/templates/profile_page.html @@ -15,6 +15,7 @@ TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> @author Marcello Stanisci + @author Florian Dold <dold@taler.net> #} {% block headermsg %} @@ -25,13 +26,7 @@ {% endblock headermsg %} {% block content %} <section id="menu"> - <p>Account: # {{ account_no }}</p> - {% if is_valid_amount(balance) %} - <p>Current balance: <b>{{ sign }} {{ amount_stringify(balance) }}</b></p> - {% else %} - <p class="informational-fail">Current balance: <b>INVALID AMOUNT, PLEASE REPORT</b></p> - {% endif%} - + <p>Bank account balance: <br/> <b>{{ amount_stringify(balance) }}</b></p> </section> <section id="main"> <article> @@ -73,47 +68,12 @@ class="pure-button pure-button-primary" type="submit" value="Start withdrawal" /> - </form> - <h2>Wire transfer</h2> - <form id="wt-form" - class="pure-form" - action="{{ url('profile') }}" - method="post" - name="tform"> - - <input type="hidden" name="csrfmiddlewaretoken" value="{{ csrf_token }}" /> - - <div id="transfer-fields"> - - <div class="fieldbox"> - <label class="fieldlabel" for="id_amount">Amount to transfer:</label> - {{ wt_form.amount }}<!-- - --><input type="text" readonly class="currency-indicator" size="{{ currency|length }}" tabindex="-1" value="{{ currency }}"> - </div> - - <div class="fieldbox"> - <label class="fieldlabel" for="id_receiver">Receiver:</label> - {{ wt_form.receiver }} - </div> - - <div class="fieldbox"> - <label class="fieldlabel" for="id_receiver">Subject:</label> - {{ wt_form.subject }} - </div> - - </div> - - - <input class="pure-button pure-button-primary" - type="submit" - value="Transfer!" /> - </form> </div> <p> </p> </article> <article> - <h2>Transaction history</h2> + <h2>Transactions for {{ name }}</h2> <div id="transactions-history"> {% if history %} <table class="pure-table"> |