Added a donation page
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
{% extends "layout.html" %}
|
||||
|
||||
{% block body %}
|
||||
<body>
|
||||
<div class="headers">
|
||||
<a class="title" href="{{ url_for('index') }}">tiny0</a>
|
||||
<h1 class="desc">Custom URL Shortener</h1>
|
||||
</div>
|
||||
|
||||
<ul class="donation">
|
||||
<li><h1>Bitcoin Address</h1></li>
|
||||
<li><h1>1Mg55rPVuQ2P8zKsCcLdsmgqH24uLXfLbR</h1></li>
|
||||
</ul>
|
||||
</body>
|
||||
{% endblock %}
|
||||
@@ -6,6 +6,7 @@
|
||||
<a class="title" href="{{ url_for('index') }}">tiny0</a>
|
||||
<h1 class="desc">Custom URL Shortener</h1>
|
||||
</div>
|
||||
|
||||
<div class="error-message">
|
||||
<h1>{{ error_message }}</h1>
|
||||
</div>
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
<h1 id="desc" class="desc"></h1>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="container">
|
||||
<form method="POST" action="">
|
||||
{{ form.hidden_tag() }}
|
||||
|
||||
@@ -18,7 +18,10 @@
|
||||
<footer>
|
||||
<ul class="footer-list">
|
||||
<li>© 2020 Muhammed Ali Dilek</li>
|
||||
<li><a href="https://github.com/xemeds" target="_blank">GitHub</a></p></li>
|
||||
<ul>
|
||||
<li><a href="{{ url_for('donate') }}">Donate</a></li>
|
||||
<li><a href="https://github.com/xemeds" target="_blank">GitHub</a></li>
|
||||
</ul>
|
||||
</ul>
|
||||
</footer>
|
||||
</html>
|
||||
|
||||
@@ -7,12 +7,12 @@
|
||||
<h1 class="desc">Custom URL Shortener</h1>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="inputs">
|
||||
<input type="text" value="{{ url }}" id="url" class="url" readonly>
|
||||
<button onclick="copyURL()" class="button">Copy</button>
|
||||
</div>
|
||||
<div class="container">
|
||||
<div class="inputs">
|
||||
<input type="text" value="{{ url }}" id="url" class="url" readonly>
|
||||
<button onclick="copyURL()" class="button">Copy</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
function copyURL() {
|
||||
|
||||
Reference in New Issue
Block a user