Nathan Woodburn
607e11f8ec
All checks were successful
Build Docker / Build Image (push) Successful in 35s
79 lines
4.4 KiB
HTML
79 lines
4.4 KiB
HTML
<!DOCTYPE html>
|
|
<html data-bs-theme="light" lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
|
|
<title>Pay {{name}} - HNS Pay</title>
|
|
<meta name="description" content="Accept payments via your HNS address">
|
|
<link rel="apple-touch-icon" type="image/png" sizes="180x180" href="/assets/img/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/assets/img/favicon-16x16.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/assets/img/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="180x180" href="/assets/img/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="192x192" href="/assets/img/android-chrome-192x192.png">
|
|
<link rel="icon" type="image/png" sizes="512x512" href="/assets/img/android-chrome-512x512.png">
|
|
<link rel="stylesheet" href="/assets/bootstrap/css/bootstrap.min.css">
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inter:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&display=swap">
|
|
<link rel="stylesheet" href="/assets/css/styles.min.css">
|
|
</head>
|
|
|
|
<body>
|
|
<nav class="navbar navbar-expand-md sticky-top py-3 navbar-dark" id="mainNav">
|
|
<div class="container"><a class="navbar-brand d-flex align-items-center" href="/"><span class="bs-icon-md d-flex justify-content-center align-items-center me-2 bs-icon"><img src="/assets/img/favicon.png" width="100%"></span><span>HNS Pay</span></a><button class="navbar-toggler" data-bs-toggle="collapse"><span class="visually-hidden">Toggle navigation</span><span class="navbar-toggler-icon"></span></button></div>
|
|
</nav>
|
|
<section class="py-5">
|
|
<h1 class="text-center">Pay {{name}}</h1>
|
|
<div class="container py-5">
|
|
<div class="row mx-auto">
|
|
<div class="col text-center">
|
|
<h2>Send {{amount}} HNS to {{name}}</h2>
|
|
<p>If sending from Namebase please pay an extra 1 HNS to cover their fees.</p>
|
|
<h3>Address: <code data-bs-toggle="tooltip" data-bss-tooltip="" id="address" title="Click to copy">{{address}}</code><script>
|
|
document.getElementById("address").addEventListener("click", function() {
|
|
var text = this.innerText;
|
|
navigator.clipboard.writeText(text)
|
|
.then(function() {
|
|
console.log("Copied");
|
|
})
|
|
.catch(function(err) {
|
|
console.error("Failed to copy text: ", err);
|
|
});
|
|
});
|
|
</script></h3>
|
|
<p>Or scan the QR to pay</p><img src="https://chart.googleapis.com/chart?chs=300x300&cht=qr&chl={{address}}&choe=UTF-8">
|
|
<div class="text-center" style="margin-top: 25px;">{{redirect|safe}}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<footer class="bg-dark">
|
|
<div class="container py-4 py-lg-5">
|
|
<div class="row justify-content-center">
|
|
<div class="col-sm-4 col-md-3 text-center text-lg-start d-flex flex-column">
|
|
<h3 class="fs-6 fw-bold">Services</h3>
|
|
<ul class="list-unstyled">
|
|
<li><a href="https://hnshosting.au" target="_blank">Web Hosting</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="col-sm-4 col-md-3 text-center text-lg-start d-flex flex-column">
|
|
<h3 class="fs-6 fw-bold">About</h3>
|
|
<ul class="list-unstyled">
|
|
<li><a href="https://nathan.woodburn.au" target="_blank">Nathan.Woodburn/</a></li>
|
|
</ul>
|
|
</div>
|
|
<div class="col-lg-3 text-center text-lg-start d-flex flex-column align-items-center order-first align-items-lg-start order-lg-last">
|
|
<div class="fw-bold d-flex align-items-center mb-2"><span>HNS Pay</span></div>
|
|
<p class="text-muted">Accept payments using HNS</p>
|
|
</div>
|
|
</div>
|
|
<hr>
|
|
<div class="text-muted d-flex justify-content-between align-items-center pt-3">
|
|
<p class="mb-0">Copyright © {{year}} HNS Pay</p>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
<script src="/assets/bootstrap/js/bootstrap.min.js"></script>
|
|
<script src="/assets/js/script.min.js"></script>
|
|
</body>
|
|
|
|
</html> |