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 | |
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')
-rw-r--r-- | source/templates/inactives.html | 4 | ||||
-rw-r--r-- | source/templates/statistics.html | 2 |
2 files changed, 4 insertions, 2 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> diff --git a/source/templates/statistics.html b/source/templates/statistics.html index e78aa054..5dfcbfa8 100644 --- a/source/templates/statistics.html +++ b/source/templates/statistics.html @@ -6,7 +6,7 @@ <h3>Tag cloud</h3> <form method=get action="/statistics/"> Minimum size of a word: - <input type="number" name="word_size" value="${word_size}" min="2" max="15" step="1" size="2"> + <input type="number" name="word_size" value="${word_size}" min="2" max="15" step="1" size="2" /> </form> <div style="width: 35%; overflow:hidden; text-align: justify"> ${tag_cloud} |