aboutsummaryrefslogtreecommitdiff
path: root/source/static/templates/index.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-09-03 08:06:52 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-09-03 08:06:52 +0200
commit8c66d567f4245dfd999864b7cc2cacdff5a15cd2 (patch)
tree22874356c8729e85cbfd7444888cee3df8239993 /source/static/templates/index.html
parentMinor improvement to the CSS. (diff)
downloadnewspipe-8c66d567f4245dfd999864b7cc2cacdff5a15cd2.tar.gz
newspipe-8c66d567f4245dfd999864b7cc2cacdff5a15cd2.tar.bz2
newspipe-8c66d567f4245dfd999864b7cc2cacdff5a15cd2.zip
Improvement of the template for the /index page.
Diffstat (limited to 'source/static/templates/index.html')
-rw-r--r--source/static/templates/index.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/static/templates/index.html b/source/static/templates/index.html
index f86544ef..0b2a23b8 100644
--- a/source/static/templates/index.html
+++ b/source/static/templates/index.html
@@ -8,7 +8,7 @@ import utils
<input type="search" name="query" value="" placeholder="Search articles" maxlength=2048 autocomplete="on" />
</form>
<hr />
- <div class="nav_container">Your feeds (${nb_feeds}):<br />
+ <div class="nav_container"><div align="center"><i><a href="/subscriptions/">Subscriptions</a></i> (${nb_feeds})<br /></div>
<%
html = ""
%>
@@ -18,7 +18,9 @@ import utils
not_read_begin, not_read_end = "<b>", "</b>"
else:
not_read_begin, not_read_end = "", ""
- html += """<div><a href="/#%s">%s</a> (<a href="/unread/%s" title="Unread article(s)">%s%s%s</a> / %s)</div>\n""" % \
+ html += """<div style='float:left'><a href="/#%s">%s</a></div>
+ <div style='float:right'> (<a href="/unread/%s" title="Unread article(s)">%s%s%s</a> / %s)</div>
+ <div style="clear:both"></div>\n""" % \
(feed["feed_id"], feed["feed_title"], feed["feed_id"], not_read_begin, \
format(mongo.nb_unread_articles(feed["feed_id"]), ',d'), not_read_end, format(mongo.nb_articles(feed["feed_id"]), ',d'))
%>
bgstack15