diff options
author | Gregy <gregy@gregy.cz> | 2010-08-07 11:21:27 +0200 |
---|---|---|
committer | Gregy <gregy@gregy.cz> | 2010-08-07 11:21:27 +0200 |
commit | 08d1a9da5366882e7323a3f26b3014c4aa63621c (patch) | |
tree | 1e76e89ee05e7a15e5d6257594a5526d3ab83c62 /module/web/templates | |
parent | CSS file for log page (diff) | |
download | pyload-08d1a9da5366882e7323a3f26b3014c4aa63621c.tar.xz |
Log page refactoring and improvements
Diffstat (limited to 'module/web/templates')
-rw-r--r-- | module/web/templates/default/logs.html | 9 |
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%}"><< {% trans "Start" %}</a> <a href="{% url logs iprev %}">< {% trans "prev" %}</a> <a href="{% url logs inext %}">{% trans "next" %} ></a> <a href="{% url logs %}">{% trans "End" %} >></a></div> +<div class="logpaginator"><a href="{% url logs 1%}"><< {% trans "Start" %}</a> <a href="{% url logs iprev %}">< {% trans "prev" %}</a> <a href="{% url logs inext %}">{% trans "next" %} ></a> <a href="{% url logs %}">{% trans "End" %} >></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 %} /> <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"> |