aboutsummaryrefslogtreecommitdiff
path: root/web/templates/run.html
diff options
context:
space:
mode:
authortoufic ar <contact@toufy.me>2026-05-15 02:24:12 +0300
committertoufic ar <contact@toufy.me>2026-05-15 02:24:12 +0300
commitfda7315f43b02cfae3050ece68a4d7cb26a826b4 (patch)
treedef28890a3c92cd7c2cb53d01f8e76c74fe362e7 /web/templates/run.html
parentb36868f1fc3a6df0da4d931f94f3c39f1c50ee59 (diff)
downloadmakeshiftci-fda7315f43b02cfae3050ece68a4d7cb26a826b4.tar.gz
makeshiftci-fda7315f43b02cfae3050ece68a4d7cb26a826b4.zip
restructure webUI
Diffstat (limited to 'web/templates/run.html')
-rw-r--r--web/templates/run.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/web/templates/run.html b/web/templates/run.html
new file mode 100644
index 0000000..77f9f90
--- /dev/null
+++ b/web/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: -->