diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-17 23:19:05 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-11-17 23:19:05 +0100 |
commit | 6c064d7613ce09f095c2f522448a1af64d2d9ecd (patch) | |
tree | 435b20234f73e98f979cf6f265fe2e11cf2bf03e /pyaggr3g470r/templates/inactives.html | |
parent | List of inavtive feeds. (diff) | |
download | newspipe-6c064d7613ce09f095c2f522448a1af64d2d9ecd.tar.gz newspipe-6c064d7613ce09f095c2f522448a1af64d2d9ecd.tar.bz2 newspipe-6c064d7613ce09f095c2f522448a1af64d2d9ecd.zip |
Added inactives.html template.
Diffstat (limited to 'pyaggr3g470r/templates/inactives.html')
-rw-r--r-- | pyaggr3g470r/templates/inactives.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/inactives.html b/pyaggr3g470r/templates/inactives.html new file mode 100644 index 00000000..f245fc1b --- /dev/null +++ b/pyaggr3g470r/templates/inactives.html @@ -0,0 +1,21 @@ +{% extends "layout.html" %} +{% block content %} +<div class="container"> + <div class="jumbotron"> + {% if inactives != [] %} + <form method=get action="/inactives/"> + <p>Days of inactivity:</p> + <input type="number" name="nb_days" class="form-control" value="{{ nb_days }}" min="0" max="1000000" step="1" size="4" style="text-align: center" /> + </form> + <br /> + <ul class="list-group"> + {% for item in inactives %} + <li class="list-group-item"><a href="/feed/{{ item[0].oid }}">{{ item[0].title }}</a> - {{ item[1].days }} days</li> + {% endfor %} + </ul> + {% else %} + <p>No inactive feeds.<p> + {% endif %} + </div> +</div><!-- /.container --> +{% endblock %}
\ No newline at end of file |