aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-04-15 19:31:28 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-04-15 19:31:28 +0200
commitb440d3254bbc915be2fb247f7edfefaf1fa70696 (patch)
treea233be49074f2a7e6369381a5f96cb1a1a09a3a9 /source
parentImprovement of the display of the /article view. (diff)
downloadnewspipe-b440d3254bbc915be2fb247f7edfefaf1fa70696.tar.gz
newspipe-b440d3254bbc915be2fb247f7edfefaf1fa70696.tar.bz2
newspipe-b440d3254bbc915be2fb247f7edfefaf1fa70696.zip
The qrcode module has been ported to Python 3.3 and the qrcode image is horizontally centered in /article page.
Diffstat (limited to 'source')
-rw-r--r--source/static/templates/article.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/source/static/templates/article.html b/source/static/templates/article.html
index 3a845b2c..c1fe41e5 100644
--- a/source/static/templates/article.html
+++ b/source/static/templates/article.html
@@ -60,7 +60,8 @@
<g:plusone size="standard" count="true" href="${article['article_link']}"></g:plusone>
-
<br /><br />
- <a href="/var/qrcode/${article['article_id']}.png"><img src="/var/qrcode/${article['article_id']}.png" title="Share with your smartphone" width="500" height="500" /></a>
- </div> \ No newline at end of file
+ <div align="center">
+ <a href="/var/qrcode/${article['article_id']}.png"><img src="/var/qrcode/${article['article_id']}.png" title="Share with your smartphone" width="500" height="500" /></a>
+ </div>
+ </div>
bgstack15