Make notification rules queryable

This commit is contained in:
2023-02-02 20:41:19 +00:00
parent df1e82c5f2
commit 81c8e34211
11 changed files with 76 additions and 9 deletions

View File

@@ -7,7 +7,9 @@
</span>
{% endif %}
fetched {{ table.data|length }} hits in {{ took }}ms
fetched {{ table.data|length }}
{% if params.rule is None %} hits {% else %} rule hits for {{ params.rule }}{% endif %}
in {{ took }}ms
{% if exemption is not None %}
<span class="icon has-tooltip-bottom" data-tooltip="God mode">

View File

@@ -404,4 +404,9 @@
value="{{ params.tags }}">
</div>
<div class="is-hidden"></div>
{% if params.rule is not None %}
<div style="display:none;">
<input name="rule" value="{{ params.rule }}">
</div>
{% endif %}
</form>