aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2014-01-27 08:28:29 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2014-01-27 08:28:29 +0100
commit2937d3835690ca7d506280557079e6a4ac560094 (patch)
tree58df10e7354d9d531c318ab8b8b3a3e6e83de26f /pyaggr3g470r/templates
parentCatch exception if the description is not available. (diff)
downloadnewspipe-2937d3835690ca7d506280557079e6a4ac560094.tar.gz
newspipe-2937d3835690ca7d506280557079e6a4ac560094.tar.bz2
newspipe-2937d3835690ca7d506280557079e6a4ac560094.zip
Improved /inactives template.
Diffstat (limited to 'pyaggr3g470r/templates')
-rw-r--r--pyaggr3g470r/templates/inactives.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/pyaggr3g470r/templates/inactives.html b/pyaggr3g470r/templates/inactives.html
index f245fc1b..719df58a 100644
--- a/pyaggr3g470r/templates/inactives.html
+++ b/pyaggr3g470r/templates/inactives.html
@@ -2,12 +2,12 @@
{% 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 != [] %}
- <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 />
<ul class="list-group">
{% for item in inactives %}
<li class="list-group-item"><a href="/feed/{{ item[0].oid }}">{{ item[0].title }}</a> - {{ item[1].days }} days</li>
@@ -18,4 +18,4 @@
{% endif %}
</div>
</div><!-- /.container -->
-{% endblock %} \ No newline at end of file
+{% endblock %}
bgstack15