forked from 3wordchant/capsul-flask
		
	
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.2 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="/payment/btcpay">
 | |
|     <div class="row">
 | |
|       <label for="btcpay-input-price">$</label>
 | |
|       <!--TODO-- <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 
 | |
|         id="btcpay-input-price" 
 | |
|         name="dollars" 
 | |
|         type="text" 
 | |
|       />
 | |
|       <input type="submit" value="Pay with BtcPay"></button>
 | |
|     </div>
 | |
|     <div class="row">
 | |
|       <p>NOTE: for now we have switched over to our beta BTCPay Server instance at https://beeteeceepae2.cyberia.club</p>
 | |
|       <p>In the future we'll migrate the DNS back over to btcpay.cyberia.club but for now this is easier.</p>
 | |
|     </div>
 | |
|   </form>
 | |
| </div>
 | |
| 
 | |
| 
 | |
| {% endblock %}
 | |
| 
 | |
| {% block pagesource %}/templates/btcpay.html{% endblock %}
 |