Snapshot: full project state
This commit is contained in:
18
templates/deposit.html
Normal file
18
templates/deposit.html
Normal file
@@ -0,0 +1,18 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Deposit — Supernova{% endblock %}
|
||||
{% block content %}
|
||||
<div class="auth-card">
|
||||
<div class="card">
|
||||
<h3 style="font-size:1.4rem">Add Bitcoin funds</h3>
|
||||
<div class="meta">Current balance: <strong style="color:#7cffb0">${{ "%.2f"|format(user.balance) }}</strong>. Deposits credit automatically once the BTC confirms.</div>
|
||||
<form method="POST" style="margin-top:20px">
|
||||
<div class="field">
|
||||
<label>Amount (USD)</label>
|
||||
<input type="number" name="amount" step="0.01" min="0.50" required placeholder="25.00">
|
||||
</div>
|
||||
<button class="btn" type="submit" style="width:100%">⚡ Generate ₿ invoice</button>
|
||||
</form>
|
||||
<div class="meta center mt-2">You'll be redirected to a Bitcoin checkout page.</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user