diff options
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/templates/inactives.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/inactives.html b/pyaggr3g470r/templates/inactives.html new file mode 100644 index 00000000..f245fc1b --- /dev/null +++ b/pyaggr3g470r/templates/inactives.html @@ -0,0 +1,21 @@ +{% extends "layout.html" %} +{% block content %} +<div class="container"> + <div class="jumbotron"> + {% 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> + {% endfor %} + </ul> + {% else %} + <p>No inactive feeds.<p> + {% endif %} + </div> +</div><!-- /.container --> +{% endblock %}
\ No newline at end of file |