2026-03-08 15:14:41 -04:00
|
|
|
|
{% extends "core/base.html" %}
|
2026-03-09 01:07:16 -04:00
|
|
|
|
{% load static %}
|
2026-03-08 15:14:41 -04:00
|
|
|
|
|
2026-03-10 01:25:07 -04:00
|
|
|
|
{% block title_text %}Dashboard{% endblock title_text %}
|
|
|
|
|
|
{% block header_text %}<span>Dash</span>board{% endblock header_text %}
|
|
|
|
|
|
|
2026-03-08 15:14:41 -04:00
|
|
|
|
{% block content %}
|
|
|
|
|
|
<div class="wallet-page">
|
|
|
|
|
|
<h1>Wallet</h1>
|
|
|
|
|
|
|
|
|
|
|
|
<section class="wallet-balances">
|
2026-03-09 14:40:34 -04:00
|
|
|
|
<div><i class="fa-solid fa-ticket"></i>: <span id="id_writs_balance">{{ wallet.writs }}</span></div>
|
2026-03-08 15:14:41 -04:00
|
|
|
|
<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">
|
2026-03-09 14:40:34 -04:00
|
|
|
|
<i class="fa-solid fa-clover"></i>
|
2026-03-08 15:14:41 -04:00
|
|
|
|
<span class="token-tooltip">{{ coin.tooltip_text }}</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
{% for token in free_tokens %}
|
|
|
|
|
|
<div id="id_free_token_{{ forloop.counter0 }}" class="token">
|
2026-03-09 14:40:34 -04:00
|
|
|
|
<i class="fa-solid fa-coins"></i>
|
2026-03-08 15:14:41 -04:00
|
|
|
|
<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>
|
2026-03-09 01:07:16 -04:00
|
|
|
|
<button id="id_save_payment_method" hidden>Save Card</button>
|
2026-03-08 15:14:41 -04:00
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
<section id="id_tithe_token_shop">
|
|
|
|
|
|
<h2>Tithe Tokens</h2>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="token-bundle">
|
2026-03-09 14:40:34 -04:00
|
|
|
|
<span><i class="fa-solid fa-piggy-bank"></i> Tithe Token ×1</span>
|
2026-03-08 15:14:41 -04:00
|
|
|
|
<span>+ Writ bonus</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</section>
|
|
|
|
|
|
</div>
|
2026-03-09 01:07:16 -04:00
|
|
|
|
<script src="https://js.stripe.com/v3/"></script>
|
|
|
|
|
|
<script src="{% static "apps/scripts/wallet.js" %}"></script>
|
2026-03-08 15:14:41 -04:00
|
|
|
|
{% endblock content %}
|