aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/inactives.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-11-28 15:07:45 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-11-28 15:07:45 +0100
commite9f19f3df42d6ac4ddb97af5bb6753d93ff0ffa9 (patch)
treeb3ab31fe98ca2ea61e5a610a6cdc2f182087548b /pyaggr3g470r/templates/inactives.html
parentUpdated README (vagrant installation). (diff)
downloadnewspipe-e9f19f3df42d6ac4ddb97af5bb6753d93ff0ffa9.tar.gz
newspipe-e9f19f3df42d6ac4ddb97af5bb6753d93ff0ffa9.tar.bz2
newspipe-e9f19f3df42d6ac4ddb97af5bb6753d93ff0ffa9.zip
Compare files with cosine.
Diffstat (limited to 'pyaggr3g470r/templates/inactives.html')
-rw-r--r--pyaggr3g470r/templates/inactives.html25
1 files changed, 9 insertions, 16 deletions
diff --git a/pyaggr3g470r/templates/inactives.html b/pyaggr3g470r/templates/inactives.html
index e6897281..548f845d 100644
--- a/pyaggr3g470r/templates/inactives.html
+++ b/pyaggr3g470r/templates/inactives.html
@@ -1,21 +1,14 @@
{% extends "layout.html" %}
{% block content %}
<div class="container">
- <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>
+ {% 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><!-- /.container -->
{% endblock %}
bgstack15