<!DOCTYPE html>
< html lang = "en" >
{% include 'head.html' %}
< body id = "page-top" >
{% include 'navbar.html' %}
< section class = "section2" >
< div class = "container-slim" >
< div class = "section-heading text-center" >
< h2 > Wallet Info< / h2 >
< h4 > Address:< / h4 >
< p class = "slim small" > {{ address }}< / p >
< br >
< img src = "data:image/png;base64,{{ qrcode }}" width = 200 class = "center" >
< hr > < br >
< h4 > Balance< / h4 >
< p class = "inline" > {{ balances[1] | from_atomic }} WOW ({{ balances[0] | from_atomic }} locked)< / p >
< span class = "dashboard-buttons" >
< div class = "col-sm-6 dashboard-button" >
< a class = "btn btn-lg btn-link btn-outline btn-xl js-scroll-trigger" href = "#transfers" > See Txes< / a >
< / div >
< div class = "col-sm-6 dashboard-button" >
< a class = "btn btn-lg btn-link btn-outline btn-xl js-scroll-trigger" href = "#send" > Send Tx< / a >
< / div >
< div class = "col-sm-6 dashboard-button" >
< a class = "btn btn-lg btn-link btn-outline btn-xl js-scroll-trigger" href = "#secrets" > See Secrets< / a >
< / div >
< / span >
< / div >
< / div >
< / section >
< section class = "section1" id = "transfers" >
< div class = "container" >
< div class = "section-heading text-center" >
< h2 > Transfers< / h2 >
< table class = "table table-striped table-hover table-responsive table-responsive-sm tx-table" >
< tr >
< th > Date< / th >
< th > Type< / th >
< th > Tx ID< / th >
< th > Amount< / th >
< th > Confirmations< / th >
< th > Height< / th >
< th > Fee< / th >
< / tr >
{% if transfers %}
{% for tx in transfers | sort(attribute='timestamp', reverse=True) %}
{% if tx.type == 'pool' %}< tr class = "table-warning" > {% else %}< tr > {% endif %}
< td > {{ tx.timestamp | datestamp }}< / td >
< td > {{ tx.type }}< / td >
< td > < a href = "https://wownero.club/transaction/{{ tx.txid }}" target = "_blank" > {{ tx.txid | truncate(12) }}< / a > < / td >
< td > {{ tx.amount | from_atomic }} WOW< / td >
< td > {{ tx.confirmations }}< / td >
< td > {{ tx.height }}< / td >
< td > {{ tx.fee | from_atomic }} WOW< / td >
< / tr >
{% endfor %}
{% endif %}
< / table >
< / div >
< / div >
< / section >
< section class = "section2" id = "send" >
< div class = "container-slim" >
< div class = "section-heading text-center" >
< h2 > Send< / h2 >
{% if current_user.funds_locked %}
< p > Sending funds is currently locked due to a transfer already in progress. Please try again in a few minutes. Pending transfers:< / p >
< ul >
{% for tx in txs_queued %}
< li class = "slim small" > {{ tx.amount | from_atomic }} - {{ tx.address }}< / li >
{% endfor %}
< / ul >
{% else %}
< form method = "POST" action = "{{ url_for('wallet.send') }}" class = "send-form" >
{{ send_form.csrf_token }}
{% for f in send_form %}
{% if f.name != 'csrf_token' %}
< div class = "form-group" >
{{ f.label }}
{{ f }}
< / div >
{% endif %}
{% endfor %}
< ul >
{% for field, errors in send_form.errors.items() %}
< li > {{ send_form[field].label }}: {{ ', '.join(errors) }}< / li >
{% endfor %}
< / ul >
< input type = "submit" value = "Send" class = "btn btn-link btn-outline btn-xl" >
< / form >
{% endif %}
< / div >
< / div >
< / section >
< section class = "section1" id = "secrets" >
< div class = "container" >
< div class = "section-heading text-center" >
< h2 > Secrets< / h2 >
< p > You need to save the secrets below; write them down on a physical medium and keep it in a safe location. These can be used to restore your funds to another device in the future when you decide to quit being a bitch and use a real wallet.< / p >
< hr > < br >
< h3 > Mnemonic Seed< / h3 >
< p class = "small" > {{ seed }}< / p >
< br >
< h3 > Spend Key< / h3 >
< p class = "small" > {{ spend_key }}< / p >
< br >
< h3 > View Key< / h3 >
< p class = "small" > {{ view_key }}< / p >
< / div >
< / div >
< / section >
{% include 'footer.html' %}
{% include 'scripts.html' %}
< / body >
< / html >