aboutsummaryrefslogtreecommitdiff
path: root/source/templates/inactives.html
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-09-14 10:44:59 +0200
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-09-14 10:44:59 +0200
commit79dfa104623d51b7e0bdb411eadceda1747d0a20 (patch)
tree1542f86ee36a5606af0e9df70fea4e9f44b2060f /source/templates/inactives.html
parentThe logo of the feed has been added to the feed management page (/feed). (diff)
downloadnewspipe-79dfa104623d51b7e0bdb411eadceda1747d0a20.tar.gz
newspipe-79dfa104623d51b7e0bdb411eadceda1747d0a20.tar.bz2
newspipe-79dfa104623d51b7e0bdb411eadceda1747d0a20.zip
Templates has been removed to the upper folder.
Diffstat (limited to 'source/templates/inactives.html')
-rw-r--r--source/templates/inactives.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/source/templates/inactives.html b/source/templates/inactives.html
new file mode 100644
index 00000000..57482b61
--- /dev/null
+++ b/source/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