diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-01 09:14:44 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-11-01 09:14:44 +0000 |
commit | d6edc7ab347abcf76c3ee99ff115a55b459cc998 (patch) | |
tree | 3122ef9ebcca17b0d7a23f05fa044ba51ed54f5f /interface/index.html | |
parent | e2f599d7477081f0b58437b9218d72657883ab01 (diff) | |
download | rspamd-d6edc7ab347abcf76c3ee99ff115a55b459cc998.tar.gz rspamd-d6edc7ab347abcf76c3ee99ff115a55b459cc998.zip |
[WebUI] Rework symbols scores
Diffstat (limited to 'interface/index.html')
-rw-r--r-- | interface/index.html | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/interface/index.html b/interface/index.html index efdf783c8..17f14738f 100644 --- a/interface/index.html +++ b/interface/index.html @@ -29,6 +29,7 @@ <li role="presentation"><a id="throughput_nav" aria-controls="throughput" role="tab" href="#throughput" data-toggle="tab">Throughput</a></li> <li role="presentation"><a id="configuration_nav" aria-controls="configuration" role="tab" href="#configuration" data-toggle="tab">Configuration</a></li> + <li role="presentation"><a id="symbols_nav" aria-controls="symbols" role="tab" href="#symbols" data-toggle="tab">Symbols</a></li> <li role="presentation"><a id="learning_nav" aria-controls="learning" role="tab" href="#learning" data-toggle="tab">Learning</a></li> <li role="presentation"><a id="scan_nav"aria-controls="scan" role="tab" href="#scan" data-toggle="tab">Scan</a></li> <li role="presentation"><a id="history_nav" aria-controls="history" role="tab" href="#history" data-toggle="tab">History</a></li> @@ -125,22 +126,37 @@ </div> <div class="widget-box"> <div class="widget-title"> - <span class="icon"><i class="glyphicon glyphicon-filter"></i></span><h5>Rules</h5> + <span class="icon"><i class="glyphicon glyphicon-list"></i></span><h5>Lists</h5> </div> - <div class="widget-content"> - <button role="button" class="btn btn-primary" - data-toggle="modal" - data-source="#symbolsForm" - data-target="#modalDialog" - data-title="Symbols">Edit Rules</button> + <div class="widget-content nopadding"> + <table class="table table-condensed table-hover" id="listMaps"> + </table> </div> </div> + </div> + + <div class="tab-pane" id="symbols"> <div class="widget-box"> <div class="widget-title"> - <span class="icon"><i class="glyphicon glyphicon-list"></i></span><h5>Lists</h5> + <div class="buttons pull-right"> + <button class="btn btn-info btn-sm" id="refreshSymbols"> + <i class="glyphicon glyphicon-refresh"></i> Update + </button> + </div> + <span class="icon"><i class="glyphicon glyphicon-filters"></i></span> + <h5>Symbols and rules</h5> </div> <div class="widget-content nopadding"> - <table class="table table-condensed table-hover" id="listMaps"> + <table class="table table-log table-hover" id="symbolsTable"> + <thead> + <th class="col1" title="Symbol">Symbol name</th> + <th class="col2" title="Group">Group</th> + <th class="col2" title="Description">Description</th> + <th class="col3" title="Score">Score</th> + <th class="col4" title="Hits">Hits</th> + <th class="col5" title="Avg. time">Avg. time</th> + <th class="col6" title=""></th> + </thead> </table> </div> </div> @@ -257,7 +273,6 @@ </div> - </div> </div> |