diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-06-01 14:22:37 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-06-01 14:22:37 +0200 |
commit | 9ac54807dd8e59e2a75399a78aba91cad61193aa (patch) | |
tree | 8b2390be099035ec56428326fd21f459588b95e4 /pyaggr3g470r/templates/home.html | |
parent | Improved sidenav bar. (diff) | |
download | newspipe-9ac54807dd8e59e2a75399a78aba91cad61193aa.tar.gz newspipe-9ac54807dd8e59e2a75399a78aba91cad61193aa.tar.bz2 newspipe-9ac54807dd8e59e2a75399a78aba91cad61193aa.zip |
Hide the sidebar on small and extra small screens.
Diffstat (limited to 'pyaggr3g470r/templates/home.html')
-rw-r--r-- | pyaggr3g470r/templates/home.html | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html index ce87d0a3..693da0c4 100644 --- a/pyaggr3g470r/templates/home.html +++ b/pyaggr3g470r/templates/home.html @@ -2,17 +2,17 @@ {% block content %} <div class="container-fluid"> <div classe="row"> - <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 }}"> - {% if feed.nb_unread != 0 %}<span class="badge pull-right">{{ feed.nb_unread }}</span>{% endif %} - {{ feed.title|safe }} - </a> - </li> - {% endfor %} - </ul> + <div id="affix-nav" class="sidebar col-md-4 hidden-xs hidden-sm"> + <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 }}"> + {% 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-8"> {% if result|count == 0 %} |