aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/home.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-01 11:20:58 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-06-01 11:20:58 +0200
commitb1d5b8b7365264acffab1c120477bbda46532833 (patch)
tree3e23f316001d89d6d8b74b4815acb9007686f229 /pyaggr3g470r/templates/home.html
parentfetch.py can now retrieved articles for all user (when no arguments are given). (diff)
downloadnewspipe-b1d5b8b7365264acffab1c120477bbda46532833.tar.gz
newspipe-b1d5b8b7365264acffab1c120477bbda46532833.tar.bz2
newspipe-b1d5b8b7365264acffab1c120477bbda46532833.zip
Tryin the affix sidenav.
Diffstat (limited to 'pyaggr3g470r/templates/home.html')
-rw-r--r--pyaggr3g470r/templates/home.html26
1 files changed, 13 insertions, 13 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index ce26a954..b4c43b64 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -2,19 +2,19 @@
{% block content %}
<div class="container-fluid">
<div classe="row">
- <div class="col-md-3">
- <ul class="nav">
- {% for feed in result|sort(attribute="title")|sort(attribute="nb_unread", reverse=True) %}
- <li>
- <a href="#{{ feed.id }}">
- {% if feed.nb_unread != 0 %}<span class="badge pull-right">{{ feed.nb_unread }}</span>{% endif %}
- {{ feed.title|safe }}
- </a>
- </li>
- {% endfor %}
- </ul>
- </div>
- <div class="col-md-9">
+ <nav id="affix-nav" class="col-md-2">
+ <ul class="nav sidenav" data-spy="affix" data-offset-top="10" data-offset-bottom="150">
+ {% for feed in result|sort(attribute="title")|sort(attribute="nb_unread", reverse=True) %}
+ <li>
+ <a href="#{{ feed.id }}">
+ {% if feed.nb_unread != 0 %}<span class="badge pull-right">{{ feed.nb_unread }}</span>{% endif %}
+ {{ feed.title|safe }}
+ </a>
+ </li>
+ {% endfor %}
+ </ul>
+ </nav>
+ <div class="col-md-9 col-md-offset-1">
{% if result|count == 0 %}
<h1>{{ _("You don't have any feeds.") }}</h1>
<h1><a href="/create_feed/">{{ _('Add some') }}</a>, {{ _('or') }} <a href="/management/#import">{{ _('upload an OPML file.') }}</a></h1>
bgstack15