summaryrefslogtreecommitdiffstats
path: root/interface/index.html
diff options
context:
space:
mode:
authormoisseev <moiseev@mezonplus.ru>2022-04-26 20:29:39 +0300
committermoisseev <moiseev@mezonplus.ru>2022-04-26 20:29:39 +0300
commit28d83c3dd1a86e2833db2a7c1a68bc9a95629ffc (patch)
tree5fe6fc118da57eaa64da14ed126751818ff94351 /interface/index.html
parent29c1bc04e6d26c4578a6cc8b97d1f4106df5ffa4 (diff)
downloadrspamd-28d83c3dd1a86e2833db2a7c1a68bc9a95629ffc.tar.gz
rspamd-28d83c3dd1a86e2833db2a7c1a68bc9a95629ffc.zip
[WebUI] Learn a random server of "All SERVERS"
Issue: #4157
Diffstat (limited to 'interface/index.html')
-rw-r--r--interface/index.html9
1 files changed, 8 insertions, 1 deletions
diff --git a/interface/index.html b/interface/index.html
index 8124044af..c7f57cc1a 100644
--- a/interface/index.html
+++ b/interface/index.html
@@ -412,9 +412,16 @@
</div>
</div>
<div class="card ro-hide" style="display: none;">
- <div class="card-header text-secondary py-2">
+ <div class="card-header text-secondary py-1 d-flex">
<span class="icon mr-3"><i class="fas fa-graduation-cap"></i></span>
<span class="h6 font-weight-bolder my-2">Learn Rspamd</span>
+ <div id="learnServers" class="form-inline card-header-form input-group-sm align-self-center ml-auto mr-1">
+ <label for="selLearnServers">Learn servers:</label>
+ <select id="selLearnServers" class="form-control ml-1">
+ <option value="random" selected>random</option>
+ <option value="all">all</option>
+ </select>
+ </div>
</div>
<div class="card-body">
<div class="row">