aboutsummaryrefslogtreecommitdiff
path: root/cmd/monfront/templates
diff options
context:
space:
mode:
authorParsa Yousefi <parsa.yousefi@ionos.com>2024-09-05 19:18:51 +0200
committerGibheer <gibheer+git@zero-knowledge.org>2024-09-05 19:18:51 +0200
commit6f64eeace1b66639b9380b44e88a8d54850a4306 (patch)
tree2731d0c5ee6412c732dae3e87a618f726744efc1 /cmd/monfront/templates
parent8919bafb3af724de4021854ac374fde7f1911f7f (diff)
filter muted checks
This adds the possibility to filter for muted checks.
Diffstat (limited to 'cmd/monfront/templates')
-rw-r--r--cmd/monfront/templates/checkfilter.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/monfront/templates/checkfilter.html b/cmd/monfront/templates/checkfilter.html
index f86ce3c..f04427b 100644
--- a/cmd/monfront/templates/checkfilter.html
+++ b/cmd/monfront/templates/checkfilter.html
@@ -39,6 +39,13 @@
</select>
</div>
<div class="option">
+ <select id="filter-mute" name="filter-mute">
+ <option value="">filter muted</option>
+ <option value="true" {{ if eq "true" (index .Filter.Vals "mute") }}selected{{ end }}>muted</option>
+ <option value="false" {{ if eq "false" (index .Filter.Vals "mute") }}selected{{ end }}>unmuted</option>
+ </select>
+ </div>
+ <div class="option">
<input name="filter-search" placeholder="hostname" value="{{ .Filter.Vals.search }}" />
</div>
<div class="option">