summaryrefslogtreecommitdiffstats
path: root/module/web/templates/default/logs.html
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/templates/default/logs.html')
-rw-r--r--module/web/templates/default/logs.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/module/web/templates/default/logs.html b/module/web/templates/default/logs.html
index 2bf626769..5da99912f 100644
--- a/module/web/templates/default/logs.html
+++ b/module/web/templates/default/logs.html
@@ -30,17 +30,20 @@
{% block content %}
<div style="clear: both;"></div>
-<div class="logpaginator"><a href="{% url logs 0%}">&lt;&lt; {% trans "Start" %}</a> <a href="{% url logs iprev %}">&lt; {% trans "prev" %}</a> <a href="{% url logs inext %}">{% trans "next" %} &gt;</a> <a href="{% url logs %}">{% trans "End" %} &gt;&gt;</a></div>
+<div class="logpaginator"><a href="{% url logs 1%}">&lt;&lt; {% trans "Start" %}</a> <a href="{% url logs iprev %}">&lt; {% trans "prev" %}</a> <a href="{% url logs inext %}">{% trans "next" %} &gt;</a> <a href="{% url logs %}">{% trans "End" %} &gt;&gt;</a></div>
<div class="logperpage">
<form id="logform1" action="" method="POST">
+ <label for="reversed">Reversed:</label>
+ <input type="checkbox" name="reversed" onchange="this.form.submit();" {% if reversed %} checked="checked" {% endif %} />&nbsp;
<label for="perpage">Lines per page:</label>
<select name="perpage" onchange="this.form.submit();">
- {% for value,text in perpage_p.iteritems %}
- <option value="{{value}}"{% ifequal value perpage %} selected="selected" {% endifequal %}>{{text}}</option>
+ {% for value in perpage_p %}
+ <option value="{{value.0}}"{% ifequal value.0 perpage %} selected="selected" {% endifequal %}>{{value.1}}</option>
{% endfor %}
</select>
</form>
</div>
+<div class="logwarn">{{warning}}</div>
<div style="clear: both;"></div>
<div class="logdiv">
<table class="logtable" cellpadding="0" cellspacing="0">