aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-01-30 21:34:48 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-01-30 21:34:48 +0100
commit4e773ab1830be5f8d9723a6a84b2c448537737e8 (patch)
tree03af0523df266470121c241441ca72917fd5bbce /pyaggr3g470r/templates
parentMerge branch 'master' of bitbucket.org:cedricbonhomme/pyaggr3g470r (diff)
downloadnewspipe-4e773ab1830be5f8d9723a6a84b2c448537737e8.tar.gz
newspipe-4e773ab1830be5f8d9723a6a84b2c448537737e8.tar.bz2
newspipe-4e773ab1830be5f8d9723a6a84b2c448537737e8.zip
Updated template with Bootstrap 3.1 headers.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r--pyaggr3g470r/templates/favorites.html7
-rw-r--r--pyaggr3g470r/templates/unread.html7
2 files changed, 12 insertions, 2 deletions
diff --git a/pyaggr3g470r/templates/favorites.html b/pyaggr3g470r/templates/favorites.html
index fb0b3220..1af2e327 100644
--- a/pyaggr3g470r/templates/favorites.html
+++ b/pyaggr3g470r/templates/favorites.html
@@ -2,8 +2,13 @@
{% block content %}
<div class="container">
{% if feeds|count == 0 %}
- <h1>No favorites.</h1>
+ <div class="page-header">
+ <h1>No favorites</h1>
+ </div>
{% else %}
+ <div class="page-header">
+ <h1>Favorites articles <small>{{ nb_favorites }}</small></h1>
+ </div>
{% for feed in feeds|sort(attribute="title") %}
<div class="row">
<div class="col-md-6 col-md-offset-3">
diff --git a/pyaggr3g470r/templates/unread.html b/pyaggr3g470r/templates/unread.html
index ed6aae19..41c89a29 100644
--- a/pyaggr3g470r/templates/unread.html
+++ b/pyaggr3g470r/templates/unread.html
@@ -2,8 +2,13 @@
{% block content %}
<div class="container">
{% if feeds|count == 0 %}
- <h1>No unread articles.</h1>
+ <div class="page-header">
+ <h1>No unread articles</h1>
+ </div>
{% else %}
+ <div class="page-header">
+ <h1>Unread articles <small>{{ nb_unread }}</small></h1>
+ </div>
{% for feed in feeds|sort(attribute="title") %}
<div class="row">
<div class="col-md-6 col-md-offset-3">
bgstack15