aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-10-01 08:10:44 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-10-01 08:10:44 +0200
commit9338082ba6aaa98d8ac3533e9ad06e33647521a3 (patch)
treeadef7b7beb0edc6ff5153e8c9ca77cc52116b59d /pyaggr3g470r/templates
parentPython 3 support (diff)
downloadnewspipe-9338082ba6aaa98d8ac3533e9ad06e33647521a3.tar.gz
newspipe-9338082ba6aaa98d8ac3533e9ad06e33647521a3.tar.bz2
newspipe-9338082ba6aaa98d8ac3533e9ad06e33647521a3.zip
Minor improvements to the home page.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r--pyaggr3g470r/templates/home.html5
-rw-r--r--pyaggr3g470r/templates/layout.html2
2 files changed, 3 insertions, 4 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index 32671ebb..5c9cf0f7 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -12,10 +12,10 @@
</div>
{% else %}
<div id="affix-nav" class="col-md-3 sidebar hidden-xs hidden-sm">
- <ul class="nav sidenav navbar-collapse pre-scrollable" data-offset-top="0" data-offset-bottom="0" style="min-height: 600px;">
+ <ul class="nav sidenav navbar-collapse pre-scrollable" data-offset-top="0" data-offset-bottom="0" style="min-height: 650px;">
<li><a href="{{ gen_url(feed=0) }}">
{% if not feed_id %}<b>{% endif %}
- {{ _('All feeds') }}
+ {{ _('All feeds') }} <span id="total-unread" class="badge pull-right">{{ articles.__len__() }}</span>
{% if not feed_id %}</b>{% endif %}
</a></li>
{% for fid, nbunread in unread|dictsort(by='value')|reverse %}
@@ -52,7 +52,6 @@
</ul>
</div>
<div class="container col-md-9">
- <h1>{{ _('Articles') }} (<span id="total-unread">{{ articles.__len__() }}</span>)</h1>
<div id="filters" data-filter="{{ filter_ }}">
{% if filter_ == 'all' %}<b>{% endif %}
<a href="{{ gen_url(filter_='all') }}">{{ _('All') }}</a>
diff --git a/pyaggr3g470r/templates/layout.html b/pyaggr3g470r/templates/layout.html
index 6f159143..5509cc4d 100644
--- a/pyaggr3g470r/templates/layout.html
+++ b/pyaggr3g470r/templates/layout.html
@@ -40,7 +40,7 @@ deployed on Heroku or on a traditional server." />
}
/* First level of nav */
.sidenav {
- margin-top: 60px;
+ margin-top: 10px;
margin-bottom: 0px;
padding-top: 10px;
padding-bottom: 0px;
bgstack15