diff options
author | Sascha Roloff <sascha.roloff@huawei.com> | 2025-05-09 20:00:56 +0200 |
---|---|---|
committer | Sascha Roloff <sascha.roloff@huawei.com> | 2025-05-12 12:15:23 +0200 |
commit | f8a1a6a4a2f585db5cb1f20aad540cdf75b389aa (patch) | |
tree | 9989bf7e2cd4ebebc44475a9dc1d117690302317 /doc/invocations-http-server/templates/invocations.html | |
parent | 5aba3e6394a665d3c11973424c59d603134a3fbd (diff) | |
download | justbuild-f8a1a6a4a2f585db5cb1f20aad540cdf75b389aa.tar.gz |
Invocation server: add filter selector to overview page
Diffstat (limited to 'doc/invocations-http-server/templates/invocations.html')
-rw-r--r-- | doc/invocations-http-server/templates/invocations.html | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/doc/invocations-http-server/templates/invocations.html b/doc/invocations-http-server/templates/invocations.html index 1417a3c4..a98babae 100644 --- a/doc/invocations-http-server/templates/invocations.html +++ b/doc/invocations-http-server/templates/invocations.html @@ -8,8 +8,36 @@ Recent Invocations <h1>Invocations filtered by {{ filter_info | e }}</h1> {% else %} <h1>Recent Invocations</h1> - -Filter: <a href="/filterinvocations/noncached">only not fully cached</a> +<b>Filter by:</b> + <a href="/filterinvocations/noncached">only not fully cached</a> + {% if context_filters %} + <details> + <summary>Context</summary> + {% for entry in context_filters %} + <tt>{{ entry.key | e }}</tt>: + {% for value in entry["values"] %} + {% if loop.index > 1 %} + , + {% endif %} + <a href="/filterinvocations/context/{{ entry["key_hex"] | e }}/{{ value["value_hex"] }}"><tt>{{ value["value"] | e }}</tt></a> + {% endfor %}<br> + {% endfor %} + </details> + {% endif %} + {% if remote_props_filters %} + <details> + <summary>Remote properties</summary> + {% for entry in remote_props_filters %} + <tt>{{ entry.key | e }}</tt>: + {% for value in entry["values"] %} + {% if loop.index > 1 %} + , + {% endif %} + <a href="/filterinvocations/remote/prop/{{ entry["key_hex"] | e }}/{{ value["value_hex"] }}"><tt>{{ value["value"] | e }}</tt></a> + {% endfor %}<br> + {% endfor %} + </details> + {% endif %} {% endif %} {% if invocations %} <ul> |