diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-19 02:38:53 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-19 02:38:53 +0200 |
commit | 8446e16346ece5a934550f69e81d0cad528f7fba (patch) | |
tree | a67e2564a6facbe9e307f619e5f98289009e6941 /module/web/themes/dark/tml/logs.html | |
parent | Rename pyLoadCore as pyload and pyLoadCli as pyload-cli (diff) | |
download | pyload-8446e16346ece5a934550f69e81d0cad528f7fba.tar.xz |
New web structure + related code improvements and fixes + added flat and dark themes + updated js
Diffstat (limited to 'module/web/themes/dark/tml/logs.html')
-rw-r--r-- | module/web/themes/dark/tml/logs.html | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/module/web/themes/dark/tml/logs.html b/module/web/themes/dark/tml/logs.html new file mode 100644 index 000000000..86983f2af --- /dev/null +++ b/module/web/themes/dark/tml/logs.html @@ -0,0 +1,41 @@ +{% extends '/dark/tml/base.html' %} + +{% block title %}{{_("Logs")}} - {{super()}} {% endblock %} +{% block subtitle %}{{_("Logs")}}{% endblock %} +{% block head %} +<link rel="stylesheet" type="text/css" href="/dark/css/log.css"/> +{% endblock %} + +{% block content %} +<div style="clear: both;"></div> + +<div class="logpaginator"><a href="{{ "/logs/1" }}"><< {{_("Start")}}</a> <a href="{{ "/logs/" + iprev|string }}">< {{_("prev")}}</a> <a href="{{ "/logs/" + inext|string }}">{{_("next")}} ></a> <a href="/logs/">{{_("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 in perpage_p %} + <option value="{{value.0}}"{% if value.0 == perpage %} selected="selected" {% endif %}>{{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"> + {% for line in log %} + <tr><td class="logline">{{line.line}}</td><td>{{line.date}}</td><td class="loglevel">{{line.level}}</td><td>{{line.message}}</td></tr> + {% endfor %} + </table> +</div> +<div class="logform"> +<form id="logform2" action="" method="POST"> + <label for="from">Jump to time:</label><input type="text" name="from" size="15" value="{{from}}"/> + <input type="submit" value="ok" /> +</form> +</div> +<div style="clear: both; height: 10px;"> </div> +{% endblock %}
\ No newline at end of file |