diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-06-01 13:47:58 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-06-01 13:47:58 +0200 |
commit | d1807987341c169e3c3cac0db8a3661c8ffe3b14 (patch) | |
tree | 02de5a3c7b43562e72fdf2abe6fac146893cf008 /pyaggr3g470r/templates/home.html | |
parent | Tryin the affix sidenav. (diff) | |
download | newspipe-d1807987341c169e3c3cac0db8a3661c8ffe3b14.tar.gz newspipe-d1807987341c169e3c3cac0db8a3661c8ffe3b14.tar.bz2 newspipe-d1807987341c169e3c3cac0db8a3661c8ffe3b14.zip |
Improved sidenav bar.
Diffstat (limited to 'pyaggr3g470r/templates/home.html')
-rw-r--r-- | pyaggr3g470r/templates/home.html | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html index b4c43b64..ce87d0a3 100644 --- a/pyaggr3g470r/templates/home.html +++ b/pyaggr3g470r/templates/home.html @@ -2,8 +2,8 @@ {% block content %} <div class="container-fluid"> <div classe="row"> - <nav id="affix-nav" class="col-md-2"> - <ul class="nav sidenav" data-spy="affix" data-offset-top="10" data-offset-bottom="150"> + <div id="affix-nav" class="sidebar col-md-4"> + <ul class="nav sidenav affix-top" data-spy="affix" data-offset-top="0" data-offset-bottom="0"> {% for feed in result|sort(attribute="title")|sort(attribute="nb_unread", reverse=True) %} <li> <a href="#{{ feed.id }}"> @@ -13,14 +13,15 @@ </li> {% endfor %} </ul> - </nav> - <div class="col-md-9 col-md-offset-1"> + </div> + <div class="col-md-8"> {% 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> {% else %} {% for feed in result|sort(attribute="title") %} - <div class="row" id="{{ feed.id }}"> + <div class="top"><a id="{{ feed.id }}"></a></div> + <div class="row"> <div class="col-md-6 col-md-offset-3"> <h1>{{ feed.title|safe }} {% if feed.nb_unread != 0 %} |