capsul-flask/capsulflask/templates/btcpay.html

39 lines
1.1 KiB
HTML

{% extends 'base.html' %}
{% block title %}Pay with Cryptocurrency{% endblock %}
{% block content %}
<div class="row third-margin">
<h1>Pay with Cryptocurrency</h1>
</div>
<div class="row half-margin">
<form method="POST" action="https://btcpay.cyberia.club/api/v1/invoices">
<input type="hidden" name="storeId" value="FgYNGKEHKm2tBhwejo1zdSQ15DknPWvip2pXLKBv96wc">
<input type="hidden" name="currency" value="USD">
<div class="row">
<label for="btcpay-input-price">$</label>
<input
id="btcpay-input-price"
name="price"
type="number"
min="0"
max="2000"
oninput="event.preventDefault();isNaN(event.target.value) || event.target.value <= 0 ? document.querySelector('#btcpay-input-price').value = 0 : event.target.value"
/>
<input type="image" class="submit" name="submit"
src="https://btcpay.cyberia.club/img/paybutton/pay.svg"
style="width:168px"
alt="Pay with BtcPay"
/>
</div>
</form>
</div>
{% endblock %}
{% block pagesource %}/templates/btcpay.html{% endblock %}