mirror of
https://github.com/akuker/RASCSI.git
synced 2024-09-26 23:55:05 +00:00
76b0f43bc1
* Move the manual and go back elements into footer; log controls in log page * Move inline css style to stylesheet * Touch up page layout * Use a Home icon for going to the index page * Use one vertical table for device info
34 lines
960 B
HTML
34 lines
960 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block content %}
|
|
<h2>{{ _("System Logs: %(scope)s %(lines)s lines", scope=scope, lines=lines) }}</h2>
|
|
<div>
|
|
<form action="/logs/show" method="post">
|
|
<label for="log_lines">{{ _("Log Lines:") }}</label>
|
|
<input name="lines" id="log_lines" type="number" value="200" min="0" max="99999" step="100">
|
|
<label for="log_scope">{{ _("Scope:") }}</label>
|
|
<select name="scope" id="log_scope">
|
|
<option value="">
|
|
{{ _("All logs") }}
|
|
</option>
|
|
<option value="piscsi">
|
|
piscsi
|
|
</option>
|
|
<option value="piscsi-web">
|
|
piscsi-web
|
|
</option>
|
|
<option value="piscsi-oled">
|
|
piscsi-oled
|
|
</option>
|
|
<option value="piscsi-ctrlboard">
|
|
piscsi-ctrlboard
|
|
</option>
|
|
</select>
|
|
<input type="submit" value="{{ _("Show Logs") }}">
|
|
</form>
|
|
</div>
|
|
<p><pre>{{ logs }}</pre></p>
|
|
|
|
<hr/>
|
|
{% endblock content %}
|