aboutsummaryrefslogtreecommitdiff
path: root/source/static/templates/inactives.html
diff options
context:
space:
mode:
Diffstat (limited to 'source/static/templates/inactives.html')
-rw-r--r--source/static/templates/inactives.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/source/static/templates/inactives.html b/source/static/templates/inactives.html
new file mode 100644
index 00000000..57482b61
--- /dev/null
+++ b/source/static/templates/inactives.html
@@ -0,0 +1,15 @@
+## inactives.html
+<%inherit file="base.html"/>
+<div class="left inner">
+ %if inactives != []:
+ <form method=get action="/inactives/">
+ <h1>Feeds with no recent articles since <input type="number" name="nb_days" value="${nb_days}" min="0" max="1000000" step="1" size="4" style="text-align: center" /> days:</h1>
+ </form>
+ <ul>
+ %for item in inactives:
+ <li><a href="/feed/${item[0]["feed_id"]}">${item[0]["feed_title"]}</a> (${item[1].days} days)</li>
+ %endfor
+ </ul>
+ %else:
+ <p>No inactive feeds.<p>
+ %endif
bgstack15