aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/inactives.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-11-28 15:24:18 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-11-28 15:24:18 +0100
commited06b9a5cca186146548472c8f88f8dd2b63eee1 (patch)
tree18411300b06f4914e99ea1ffb2d6242e9984a285 /pyaggr3g470r/templates/inactives.html
parentSpeed improvements: combinations generates less pair than product... (diff)
downloadnewspipe-ed06b9a5cca186146548472c8f88f8dd2b63eee1.tar.gz
newspipe-ed06b9a5cca186146548472c8f88f8dd2b63eee1.tar.bz2
newspipe-ed06b9a5cca186146548472c8f88f8dd2b63eee1.zip
Added duplicates.html template.
Diffstat (limited to 'pyaggr3g470r/templates/inactives.html')
-rw-r--r--pyaggr3g470r/templates/inactives.html25
1 files changed, 16 insertions, 9 deletions
diff --git a/pyaggr3g470r/templates/inactives.html b/pyaggr3g470r/templates/inactives.html
index 548f845d..e6897281 100644
--- a/pyaggr3g470r/templates/inactives.html
+++ b/pyaggr3g470r/templates/inactives.html
@@ -1,14 +1,21 @@
{% extends "layout.html" %}
{% block content %}
<div class="container">
- {% if duplicates != [] %}
- <ul class="list-group">
- {% for pair in duplicates %}
- <li><a href="/article/{{ pair[0].id }}">{{ pair[0].title }}</a> - <a href="/article/{{ pair[1].id }}">{{ pair[1].title }}</a></li>
- {% endfor %}
- </ul>
- {% else %}
- <p>{{ _('No duplicates.') }}<p>
- {% endif %}
+ <div class="jumbotron">
+ <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 />
+ {% if inactives != [] %}
+ <ul class="list-group">
+ {% for item in inactives %}
+ <li class="list-group-item"><a href="/feed/{{ item[0].id }}">{{ item[0].title }}</a> - {{ item[1].days }} {{ _('days') }}</li>
+ {% endfor %}
+ </ul>
+ {% else %}
+ <p>{{ _('No inactive feeds.') }}<p>
+ {% endif %}
+ </div>
</div><!-- /.container -->
{% endblock %}
bgstack15