summaryrefslogtreecommitdiff
path: root/doc/invocations-http-server/templates/invocation.html
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2025-05-08 17:13:23 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2025-05-09 10:27:51 +0200
commit3ddde7ba476d8dab4a8f18bf9fe00bc40f5b99ac (patch)
tree06ca0ee46eb1f3673d8cceb45e4a9e6a4e3050af /doc/invocations-http-server/templates/invocation.html
parentdd6be011609937477516344d217a24aadf92fcd2 (diff)
downloadjustbuild-3ddde7ba476d8dab4a8f18bf9fe00bc40f5b99ac.tar.gz
Invocation server: support filtering by remote-execution property
When looking at an invocation, it can be helpful to quickly get all other invocation that coincide with a specific remote-execution property (like the build image). Support this use case by adding appropriate filtering and links.
Diffstat (limited to 'doc/invocations-http-server/templates/invocation.html')
-rw-r--r--doc/invocations-http-server/templates/invocation.html18
1 files changed, 15 insertions, 3 deletions
diff --git a/doc/invocations-http-server/templates/invocation.html b/doc/invocations-http-server/templates/invocation.html
index 62d98813..816f5344 100644
--- a/doc/invocations-http-server/templates/invocation.html
+++ b/doc/invocations-http-server/templates/invocation.html
@@ -96,9 +96,21 @@ Inocations {{invocation | e}}
{% if remote_address %}
<li> remote
<ul>
- <li> address: <tt>{{ remote_address | e }}</tt>
- <li> properties: <tt>{{ remote_props | e}}</tt>
- <li> dispatch: <tt>{{ remote_dispatch | e }}</tt>
+ <li> address: <tt>{{ remote_address | e }}</tt></li>
+ {% if remote_props %}
+ <li> properties:
+ <ul>
+ {% for prop in remote_props %}
+ <li> <tt>{{ prop["key"] | e }}</tt> :
+ <a href="/filterinvocations/remote/prop/{{ prop["key_hex"] | e }}/{{ prop["value_hex"] }}"><tt>{{ prop["value"] | e }}</tt></a>
+ </li>
+ {% endfor %}
+ </ul>
+ </li>
+ {% else %}
+ <li> properties: <i>(none)</i>
+ {% endif %}
+ <li> dispatch: <tt>{{ remote_dispatch | e }}</tt></li>
</ul>
</li>
{% endif %}