aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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