aboutsummaryrefslogtreecommitdiff
path: root/source/static/templates/article.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-04-15 08:18:38 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-04-15 08:18:38 +0200
commit02d0b89bfdf1837a0eee9a8dca087553dfafd152 (patch)
treef0647fe66445e8cf43f7305b8508541ec113b675 /source/static/templates/article.html
parentThe plan text version of an article is now between a <p> HTML tag. (diff)
downloadnewspipe-02d0b89bfdf1837a0eee9a8dca087553dfafd152.tar.gz
newspipe-02d0b89bfdf1837a0eee9a8dca087553dfafd152.tar.bz2
newspipe-02d0b89bfdf1837a0eee9a8dca087553dfafd152.zip
Improvements in the article.html template.
Diffstat (limited to 'source/static/templates/article.html')
-rw-r--r--source/static/templates/article.html78
1 files changed, 42 insertions, 36 deletions
diff --git a/source/static/templates/article.html b/source/static/templates/article.html
index ec0addb9..fcb29522 100644
--- a/source/static/templates/article.html
+++ b/source/static/templates/article.html
@@ -11,52 +11,58 @@
%endif
&nbsp;&nbsp;<a href="/delete_article/${feed['feed_id']}:${article['article_id']}"><img src="/static/img/cross.png" title="Delete this article" /></a>
<br /><br />
-
${description}
-
- <div style="float:right;"><a href="/article/${feed['feed_id']}:${following['article_id']}" title="${following['article_title']}"><img src="/static/img/following-article.png" /></a></div>
- <div style="float:left;"><a href="/article/${feed['feed_id']}:${previous['article_id']}" title="${previous['article_title']}"><img src="/static/img/previous-article.png" /></a></div>
+ <div style="float:right;">
+ <a href="/article/${feed['feed_id']}:${following['article_id']}" title="${following['article_title']}">
+ <img src="/static/img/following-article.png" />
+ </a>
</div>
+ <div style="float:left;">
+ <a href="/article/${feed['feed_id']}:${previous['article_id']}" title="${previous['article_title']}">
+ <img src="/static/img/previous-article.png" />
+ </a>
+ </div>
+ </div>
- <hr />
- %if plain_text == "1":
- <a href="/article/${feed['feed_id']}:${article['article_id']}">HTML version</a>
- %else:
- <a href="/article/${feed['feed_id']}:${article['article_id']}/?plain_text=1">Plain text</a>
- %endif
- - <a href="/epub/${feed['feed_id']}:${article['article_id']}">Export to EPUB</a>
- <br />
- <a href="${article['article_link']}">Complete story</a>
- <br />
+ <hr />
+ %if plain_text == "1":
+ <a href="/article/${feed['feed_id']}:${article['article_id']}">HTML version</a>
+ %else:
+ <a href="/article/${feed['feed_id']}:${article['article_id']}/?plain_text=1">Plain text</a>
+ %endif
+ - <a href="/epub/${feed['feed_id']}:${article['article_id']}">Export to EPUB</a>
+ <br />
+ <a href="${article['article_link']}">Complete story</a>
+ <br />
- Share this article:<br />
- <a href="javascript:(function(){f='https://${diaspora}/bookmarklet?url=${article['article_link']}&amp;title=${article['article_title']}&amp;notes=via pyAggr3g470r&amp;v=1&amp;';a=function(){if(!window.open(f+'noui=1&amp;jump=doclose','diasporav1','location=yes,links=no,scrollbars=no,toolbar=no,width=620,height=250'))location.href=f+'jump=yes'};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})()">
- <img src="/static/img/diaspora.png" title="Share on Diaspora" /></a>
+ Share this article:<br />
+ <a href="javascript:(function(){f='https://${diaspora}/bookmarklet?url=${article['article_link']}&amp;title=${article['article_title']}&amp;notes=via pyAggr3g470r&amp;v=1&amp;';a=function(){if(!window.open(f+'noui=1&amp;jump=doclose','diasporav1','location=yes,links=no,scrollbars=no,toolbar=no,width=620,height=250'))location.href=f+'jump=yes'};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})()">
+ <img src="/static/img/diaspora.png" title="Share on Diaspora" /></a>
- <a href="http://identi.ca/index.php?action=newnotice&status_textarea=${article['article_title']}:${article['article_link']}" title="Share on Identi.ca" target="_blank"><img src="/static/img/identica.png" /></a>
+ <a href="http://identi.ca/index.php?action=newnotice&status_textarea=${article['article_title']}:${article['article_link']}" title="Share on Identi.ca" target="_blank"><img src="/static/img/identica.png" /></a>
- <a href="https://api.pinboard.in/v1/posts/add?url=${article['article_link']}&description=${article['article_title']}"
- rel="noreferrer" target="_blank">
- <img src="/static/img/pinboard.png" title="Share on Pinboard" /></a>
+ <a href="https://api.pinboard.in/v1/posts/add?url=${article['article_link']}&description=${article['article_title']}"
+ rel="noreferrer" target="_blank">
+ <img src="/static/img/pinboard.png" title="Share on Pinboard" /></a>
- <a href="http://digg.com/submit?url=${article['article_link']}&title=${article['article_title']}"
- rel="noreferrer" target="_blank">
- <img src="/static/img/digg.png" title="Share on Digg" /></a>
+ <a href="http://digg.com/submit?url=${article['article_link']}&title=${article['article_title']}"
+ rel="noreferrer" target="_blank">
+ <img src="/static/img/digg.png" title="Share on Digg" /></a>
- <a href="http://reddit.com/submit?url=${article['article_link']}&title=${article['article_title']}"
- rel="noreferrer" target="_blank">
- <img src="/static/img/reddit.png" title="Share on reddit" /></a>
+ <a href="http://reddit.com/submit?url=${article['article_link']}&title=${article['article_title']}"
+ rel="noreferrer" target="_blank">
+ <img src="/static/img/reddit.png" title="Share on reddit" /></a>
- <a href="http://scoopeo.com/scoop/new?newurl=${article['article_link']}&title=${article['article_title']}"
- rel="noreferrer" target="_blank">
- <img src="/static/img/scoopeo.png" title="Share on Scoopeo" /></a>
+ <a href="http://scoopeo.com/scoop/new?newurl=${article['article_link']}&title=${article['article_title']}"
+ rel="noreferrer" target="_blank">
+ <img src="/static/img/scoopeo.png" title="Share on Scoopeo" /></a>
- <a href="http://blogmarks.net/my/new.php?url=${article['article_link']}&title=${article['article_title']}"
- rel="noreferrer" target="_blank">
- <img src="/static/img/blogmarks.png" title="Share on Blogmarks" /></a>
+ <a href="http://blogmarks.net/my/new.php?url=${article['article_link']}&title=${article['article_title']}"
+ rel="noreferrer" target="_blank">
+ <img src="/static/img/blogmarks.png" title="Share on Blogmarks" /></a>
- <g:plusone size="standard" count="true" href="${article['article_link']}"></g:plusone>
+ <g:plusone size="standard" count="true" href="${article['article_link']}"></g:plusone>
- <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> \ No newline at end of file
+ <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> \ No newline at end of file
bgstack15