diff options
| author | toufic ar <contact@toufy.me> | 2026-05-11 19:43:18 +0300 |
|---|---|---|
| committer | toufic ar <contact@toufy.me> | 2026-05-11 19:43:18 +0300 |
| commit | 1817d117d020318ba5fcd281708015eaad3f092c (patch) | |
| tree | d921291bbe95524eff1ff628591426e25541c0dc /templates/run.html | |
| parent | ebbdc72f0a4c9bcf38526520a7728221f05eaedb (diff) | |
| download | makeshiftci-1817d117d020318ba5fcd281708015eaad3f092c.tar.gz makeshiftci-1817d117d020318ba5fcd281708015eaad3f092c.zip | |
initial web UI
Diffstat (limited to 'templates/run.html')
| -rw-r--r-- | templates/run.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/templates/run.html b/templates/run.html new file mode 100644 index 0000000..77f9f90 --- /dev/null +++ b/templates/run.html @@ -0,0 +1,19 @@ +{% extends "base.html" %} {% block title %}/{{ project_path }}/{{ run_number +}}{% endblock %} {% block path %}/<a href="/{{ project_path }}" + >{{ project_path }}</a +>/<a href="/{{ project_path }}/{{ run_number }}">{{ run_number }}</a>{% endblock +%} {% block content %} +<pre + id="stdout" + style="white-space: pre-wrap" +></pre> + +{% for n in run %} +<script> + document.getElementById('stdout').textContent = {{ n|tojson }}; + var s = document.currentScript; + s.parentNode.removeChild(s); +</script> +{% endfor %} {% endblock %} + +<!-- vim: set filetype=jinja: --> |
