Added a patreon page to the donations

This commit is contained in:
xemeds
2020-08-18 12:20:07 +03:00
parent 543686dbe8
commit 789afe8554
5 changed files with 18 additions and 11 deletions
+1
View File
@@ -53,3 +53,4 @@ This project is under the [MIT](https://github.com/xemeds/tiny0/blob/master/LICE
# Donate # Donate
**Bitcoin Address:** 1Mg55rPVuQ2P8zKsCcLdsmgqH24uLXfLbR **Bitcoin Address:** 1Mg55rPVuQ2P8zKsCcLdsmgqH24uLXfLbR
**Patreon:** [patreon.com/xemeds](https://www.patreon.com/xemeds)
-1
View File
@@ -39,7 +39,6 @@ def validate_URL(form, field):
# Add http:// to the beginning of the URL # Add http:// to the beginning of the URL
field.data = "http://" + field.data field.data = "http://" + field.data
class URLForm(FlaskForm): class URLForm(FlaskForm):
url = StringField(validators=[DataRequired(), url = StringField(validators=[DataRequired(),
Length(min=4, max=2000, message="Invalid URL Length"), Length(min=4, max=2000, message="Invalid URL Length"),
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

+14 -8
View File
@@ -119,16 +119,22 @@ body {
margin-bottom: 2vh; margin-bottom: 2vh;
} }
.donation h4 { .donation h3 {
margin-bottom: 4vh; margin-bottom: 4vh;
} }
.donation img { .donation a:link {
width: 30vh; color: #bb86fc;
padding: 1vh; text-decoration: none;
background-color: #ffffff;
} }
.donation a:visited {
color: #bb86fc;
}
.donation a:hover {
color: #7b59a5;
}
.page-container { .page-container {
position: relative; position: relative;
@@ -157,16 +163,16 @@ footer {
display: inline; display: inline;
} }
.footer-list li a:link { .footer-list a:link {
color: #bb86fc; color: #bb86fc;
text-decoration: none; text-decoration: none;
} }
.footer-list li a:visited { .footer-list a:visited {
color: #bb86fc; color: #bb86fc;
} }
.footer-list li a:hover { .footer-list a:hover {
color: #7b59a5; color: #7b59a5;
} }
+3 -2
View File
@@ -9,8 +9,9 @@
<ul class="donation"> <ul class="donation">
<li><h1>Bitcoin Address</h1></li> <li><h1>Bitcoin Address</h1></li>
<li><h4>1Mg55rPVuQ2P8zKsCcLdsmgqH24uLXfLbR</h4></li> <li><h3>1Mg55rPVuQ2P8zKsCcLdsmgqH24uLXfLbR</h3></li>
<li><img src="{{ url_for('static', filename='qr.png') }}" alt="Bitcoin QR Code"></li> <li><h1>Patreon</h1></li>
<li><a href="https://www.patreon.com/xemeds" target="_blank"><h3>patreon.com/xemeds</h3></a></li>
</ul> </ul>
</body> </body>
{% endblock %} {% endblock %}