diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2012-12-03 07:38:43 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2012-12-03 07:38:43 +0100 |
commit | cfeaa24105b8ae330537bbbb64e7496d71799dcf (patch) | |
tree | 521d033f5ae149e5ddd4b9fce333c0771f8abbcc /source/templates/inactives.html | |
parent | New page (/inactives) which displays the list of inactive feeds since a certa... (diff) | |
download | newspipe-cfeaa24105b8ae330537bbbb64e7496d71799dcf.tar.gz newspipe-cfeaa24105b8ae330537bbbb64e7496d71799dcf.tar.bz2 newspipe-cfeaa24105b8ae330537bbbb64e7496d71799dcf.zip |
Added a form for the /inactives page in order to enter the number of days.
Diffstat (limited to 'source/templates/inactives.html')
-rw-r--r-- | source/templates/inactives.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/templates/inactives.html b/source/templates/inactives.html index 10a79e8e..190afe19 100644 --- a/source/templates/inactives.html +++ b/source/templates/inactives.html @@ -2,7 +2,9 @@ <%inherit file="base.html"/> <div class="left inner"> %if inactives != []: - <h1>Feeds with no recent articles since ${nb_days} days:</h1> + <form method=get action="/inactives/"> + <h1>Feeds with no recent articles since <input type="number" name="nb_days" value="${nb_days}" min="0" max="1000000000" 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> |