[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-bank] branch master updated: crispier edges
From: |
gnunet |
Subject: |
[taler-bank] branch master updated: crispier edges |
Date: |
Thu, 13 Aug 2020 13:58:01 +0200 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository bank.
The following commit(s) were added to refs/heads/master by this push:
new 57b8e24 crispier edges
57b8e24 is described below
commit 57b8e24a8e14b7d4bc03c8dc06b65c251c317e22
Author: Florian Dold <florian.dold@gmail.com>
AuthorDate: Thu Aug 13 17:27:56 2020 +0530
crispier edges
---
talerbank/app/templates/withdraw_show.html | 5 ++++-
talerbank/app/views.py | 4 +++-
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/talerbank/app/templates/withdraw_show.html
b/talerbank/app/templates/withdraw_show.html
index 3c66732..b7d7683 100644
--- a/talerbank/app/templates/withdraw_show.html
+++ b/talerbank/app/templates/withdraw_show.html
@@ -54,6 +54,9 @@
setTimeout(check, delayMs);
</script>
+<style>
+
+</style>
{% endblock head %}
{% block content %}
@@ -73,4 +76,4 @@
</p>
-{% endblock content %}
\ No newline at end of file
+{% endblock content %}
diff --git a/talerbank/app/views.py b/talerbank/app/views.py
index b55e487..3e25137 100644
--- a/talerbank/app/views.py
+++ b/talerbank/app/views.py
@@ -1115,7 +1115,9 @@ def start_withdrawal(request):
def get_qrcode_svg(data):
factory = qrcode.image.svg.SvgImage
img = qrcode.make(data, image_factory=factory)
- return lxml.etree.tostring(img.get_image()).decode("utf-8")
+ el = img.get_image()
+ el.attrib["style"] = "shape-rendering: crispedges;"
+ return lxml.etree.tostring(el).decode("utf-8")
@login_required
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-bank] branch master updated: crispier edges,
gnunet <=