aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-10-01 18:26:21 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-10-01 18:26:21 +0200
commit57b5cd736ffa2f980b5d0ac4a3706c0b60e75a86 (patch)
treea908a84b8e4d2cf8ea7794e5bb9456c6c3f6989c /pyaggr3g470r/templates
parentfix... (diff)
downloadnewspipe-57b5cd736ffa2f980b5d0ac4a3706c0b60e75a86.tar.gz
newspipe-57b5cd736ffa2f980b5d0ac4a3706c0b60e75a86.tar.bz2
newspipe-57b5cd736ffa2f980b5d0ac4a3706c0b60e75a86.zip
Minor UI improvements for the home page.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r--pyaggr3g470r/templates/home.html26
1 files changed, 8 insertions, 18 deletions
diff --git a/pyaggr3g470r/templates/home.html b/pyaggr3g470r/templates/home.html
index 5e9180fa..ef714100 100644
--- a/pyaggr3g470r/templates/home.html
+++ b/pyaggr3g470r/templates/home.html
@@ -57,24 +57,14 @@
<li id="tab-all"><a href="{{ gen_url(filter_='all') }}">{{ _('All') }}</a></li>
<li id="tab-read"><a href="{{ gen_url(filter_='read') }}">{{ _('Read') }}</a></li>
<li id="tab-unread"><a href="{{ gen_url(filter_='unread') }}">{{ _('Unread') }}</a></li>
- </ul>
- <div id="nbdisplay">
- {% if limit == 10 %}<b>{% endif %}
- <a href="{{ gen_url(limit=10) }}">{{ _(10) }}</a>
- {% if limit == 10 %}</b>{% endif %}
- |
- {% if limit == 100 %}<b>{% endif %}
- <a href="{{ gen_url(limit=100) }}">{{ _(100) }}</a>
- {% if limit == 100 %}</b>{% endif %}
- |
- {% if limit == 1000 %}<b>{% endif %}
- <a href="{{ gen_url(limit=1000) }}">{{ _(1000) }}</a>
- {% if limit == 1000 %}</b>{% endif %}
- |
- {% if limit == 'all' %}<b>{% endif %}
- <a href="{{ gen_url(limit='all') }}">{{ _('All') }}</a>
- {% if limit == 'all' %}</b>{% endif %}
- </div>
+ <li id="tab-nbdisplay" class="pull-right">
+ <div id="nbdisplay">
+ <a href="{{ gen_url(limit=10) }}" class="label {% if limit == 10 %}label-primary{% else %}label-info{% endif %}">{{ _(10) }}</a>
+ <a href="{{ gen_url(limit=100) }}" class="label {% if limit == 100 %}label-primary{% else %}label-info{% endif %}">{{ _(100) }}</a>
+ <a href="{{ gen_url(limit=1000) }}" class="label {% if limit == 1000 %}label-primary{% else %}label-info{% endif %}">{{ _(1000) }}</a>
+ <a href="{{ gen_url(limit='all') }}" class="label {% if limit == 'all' %}label-primary{% else %}label-info{% endif %}">{{ _('All') }}</a>
+ </div>
+ </li>
</div>
{% if articles | count != 0%}
<div class="table-responsive">
bgstack15