diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-04-22 12:26:20 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-04-23 17:33:42 +0200 |
commit | bfdeb85104770527eb455712ab2ca65730d722fd (patch) | |
tree | c04e26cd358d4c2bd67708e83bb34ac115c78b0e /doc/invocations-http-server/templates/tree.html | |
parent | 1173ce9021c36629a6f4d7b86eef848295b074ab (diff) | |
download | justbuild-bfdeb85104770527eb455712ab2ca65730d722fd.tar.gz |
Add simple http server allowing to browse an invocation-log directory
Being able to browse through past invocations of the build tool can
actually be useful and doing so in the browser is a way many users
prefer. Therefore, add a small WSGI application (written in python,
using werkzeug and jinja) serving a directory of invocation logs
via http.
Diffstat (limited to 'doc/invocations-http-server/templates/tree.html')
-rw-r--r-- | doc/invocations-http-server/templates/tree.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/invocations-http-server/templates/tree.html b/doc/invocations-http-server/templates/tree.html new file mode 100644 index 00000000..765be73e --- /dev/null +++ b/doc/invocations-http-server/templates/tree.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} +{% block heading %} +Tree {{ name | e }} +{% endblock %} + +{% block content %} +<h1>Tree {{ name | e }}</h1> + +<ul> + {% for entry in entries %} + <li><a href="/{{ entry["type"] | e}}/{{ entry["hash"] | e}}">{{ entry["path"] | e}}</a></li> + {% endfor %} +</ul> +{% endblock %} |