30 lines
1.5 KiB
HTML
30 lines
1.5 KiB
HTML
{% extends "base.xhtml" %}
|
|
{% from "macros/page-hero.xhtml" import page_hero %}
|
|
{% block content %}
|
|
{{ page_hero("Stream", "Task console", "Colorized ANSI log stream with search, line filters, pause, and download.") }}
|
|
<section class="card">
|
|
<div class="console-toolbar">
|
|
<div id="task-console-status" data-task-id="{{ task_id }}">connecting...</div>
|
|
<button id="console-pause-btn" type="button">Pause</button>
|
|
<div class="form-check-group">
|
|
<div class="form-check form-switch">
|
|
<input class="form-check-input" id="console-filter-error" type="checkbox" checked="checked" />
|
|
<label class="form-check-label" for="console-filter-error">error</label>
|
|
</div>
|
|
<div class="form-check form-switch">
|
|
<input class="form-check-input" id="console-filter-ok" type="checkbox" checked="checked" />
|
|
<label class="form-check-label" for="console-filter-ok">ok</label>
|
|
</div>
|
|
<div class="form-check form-switch">
|
|
<input class="form-check-input" id="console-filter-changed" type="checkbox" checked="checked" />
|
|
<label class="form-check-label" for="console-filter-changed">changed</label>
|
|
</div>
|
|
</div>
|
|
<input id="console-search" type="text" placeholder="Search log text" />
|
|
<button id="console-clear-btn" type="button">Clear</button>
|
|
<button id="console-save-logs-btn" type="button">Save Logs</button>
|
|
</div>
|
|
<pre id="task-console-logs" class="terminal terminal-large"></pre>
|
|
</section>
|
|
{% endblock %}
|