diff options
author | moisseev <moiseev@mezonplus.ru> | 2019-08-20 14:36:19 +0300 |
---|---|---|
committer | moisseev <moiseev@mezonplus.ru> | 2019-08-20 14:36:19 +0300 |
commit | def746a5dda265e113940ee13329ad3b45efd187 (patch) | |
tree | 8fff4fd7e7c734ef469b86667a67153d9d4c1484 /interface/index.html | |
parent | 622323beb53c4e465b256dd38afe7abb75a93ee4 (diff) | |
download | rspamd-def746a5dda265e113940ee13329ad3b45efd187.tar.gz rspamd-def746a5dda265e113940ee13329ad3b45efd187.zip |
[WebUI] Rework scan results display
Diffstat (limited to 'interface/index.html')
-rw-r--r-- | interface/index.html | 45 |
1 files changed, 28 insertions, 17 deletions
diff --git a/interface/index.html b/interface/index.html index cb22f3064..84aa211cd 100644 --- a/interface/index.html +++ b/interface/index.html @@ -219,20 +219,6 @@ </div> </form> </div> - <div id="scanResult" style="display: none;"> - <h4>Scan results:</h4> - <div class="well nomargin nopadding"> - <table class="table table-log table-hover" id="scanOutput"> - <thead> - <tr> - <th class="col4" title="Action">Action</th> - <th class="col5" title="Score / Req. score">Score / Req. score</th> - <th class="col6" title="Symbols">Symbols</th> - </tr> - </thead> - </table> - </div> - </div> </div> </div> <div class="widget-box learn" style="display: none;"> @@ -274,6 +260,31 @@ </div> </div> </div> + + <div class="widget-box"> + <div class="widget-title"> + <div id="scanResult" class="form-inline widget-title-form input-group-sm pull-right buttons"> + <label for="selSymOrder_scan">Symbols order:</label> + <select id="selSymOrder_scan" class="form-control"> + <option value="magnitude" selected>Score magnitude</option> + <option value="score">Score value</option> + <option value="name">Name</option> + </select> + <label for="scan_page_size">Rows per page:</label> + <input id="scan_page_size" class="form-control" value="25" min="1" type="number"> + <button class="btn btn-default btn-sm" id="cleanScanHistory"> + <i class="glyphicon glyphicon-trash"></i> Clean history + </button> + </div> + <span class="icon"><i class="glyphicon glyphicon-eye-open"></i></span> + <h5>Scan results history</h5> + </div> + <div class="widget-content nopadding"> + <div id="scanLog"> + <table class="table" id="historyTable_scan"></table> + </div> + </div> + </div> </div> <div class="tab-pane" id="history"> @@ -281,8 +292,8 @@ <div class="widget-box"> <div class="widget-title"> <div class="form-inline widget-title-form input-group-sm pull-right buttons"> - <label for="selSymOrder">Symbols order:</label> - <select id="selSymOrder" class="form-control"> + <label for="selSymOrder_history">Symbols order:</label> + <select id="selSymOrder_history" class="form-control"> <option value="magnitude" selected>Score magnitude</option> <option value="score">Score value</option> <option value="name">Name</option> @@ -301,7 +312,7 @@ </div> <div class="widget-content nopadding"> <div id="historyLog"> - <table class="table" id="historyTable"></table> + <table class="table" id="historyTable_history"></table> </div> </div> </div> |