aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--.hgsubstate2
-rw-r--r--source/static/templates/article.html7
2 files changed, 5 insertions, 4 deletions
diff --git a/.hgsubstate b/.hgsubstate
index 9a2f0dbe..c0e52b9e 100644
--- a/.hgsubstate
+++ b/.hgsubstate
@@ -1 +1 @@
-43105ca671ddb7b856866a4e532dc2f21aa13290 source/qrcode
+4dc8df1ed7ad3727725a98f980f673eeb2847ae8 source/qrcode
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