new apps/dashboard/wallet.html for stripe payment integration and user's consumables; nav added to _footer.html & also dynamic copyright year with django now Y template; new apps.dash.tests ITs & UTs reflect new wallet functionality in .urls & .views
This commit is contained in:
41
src/templates/apps/dashboard/wallet.html
Normal file
41
src/templates/apps/dashboard/wallet.html
Normal file
@@ -0,0 +1,41 @@
|
||||
{% extends "core/base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="wallet-page">
|
||||
<h1>Wallet</h1>
|
||||
|
||||
<section class="wallet-balances">
|
||||
<div>Writs: <span id="id_writs_balance">{{ wallet.writs }}</span></div>
|
||||
<div>Esteem: <span id="id_esteem_balance">{{ wallet.esteem }}</span></div>
|
||||
</section>
|
||||
|
||||
<section class="wallet-tokens">
|
||||
{% if coin %}
|
||||
<div id="id_coin_on_a_string" class="token">
|
||||
<span class="token-tooltip">{{ coin.tooltip_text }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% for token in free_tokens %}
|
||||
<div id="id_free_token_{{ forloop.counter0 }}" class="token">
|
||||
<span class="token-tooltip">{{ token.tooltip_text }}</span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</section>
|
||||
|
||||
<section id="id_payment_methods">
|
||||
<h2>Payment Methods</h2>
|
||||
|
||||
<button id="id_add_payment_method">Add Payment Method</button>
|
||||
<div id="id_stripe_payment_element"></div>
|
||||
</section>
|
||||
|
||||
<section id="id_tithe_token_shop">
|
||||
<h2>Tithe Tokens</h2>
|
||||
|
||||
<div class="token-bundle">
|
||||
<span>Tithe Token ×1</span>
|
||||
<span>+ Writ bonus</span>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
Reference in New Issue
Block a user