summaryrefslogtreecommitdiffstats
path: root/interface/index.html
diff options
context:
space:
mode:
authorAnna Stakhova <anna@rspamd.com>2016-11-26 18:43:02 +0000
committerAnna Stakhova <anna@rspamd.com>2016-11-26 18:43:02 +0000
commita3f1ef5835fc4cb385091b1e450832d69d1bf983 (patch)
tree7a5cbe162bea7a6ee05cf5dfec771e72520e5edd /interface/index.html
parenta96a08e35a050bc0f107fee990e5bbb4321f37b3 (diff)
downloadrspamd-a3f1ef5835fc4cb385091b1e450832d69d1bf983.tar.gz
rspamd-a3f1ef5835fc4cb385091b1e450832d69d1bf983.zip
Fix scan clear btn
Fix scan clear btn Add upload btn (for future using) Improve navbar right buttons
Diffstat (limited to 'interface/index.html')
-rw-r--r--interface/index.html15
1 files changed, 9 insertions, 6 deletions
diff --git a/interface/index.html b/interface/index.html
index 69d249cb3..5d9cd24da 100644
--- a/interface/index.html
+++ b/interface/index.html
@@ -19,10 +19,6 @@
<div class="navbar-header">
<a class="navbar-brand" href="."><img src="./img/rspamd_logo_navbar.png" style="width: 67px; margin-top: -16px;"/></a>
</div>
- <ul class="nav pull-right navbar-nav navbar-right" style="display:none">
- <li><a href="#" data-toggle="tab" id="refresh"><i class="glyphicon glyphicon-refresh"></i> Refresh</a></li>
- <li class="spinner"><a href="#" data-toggle="tab" id="disconnect">Disconnect</a></li>
- </ul>
<ul class="nav navbar-nav nav-pills" role="tablist">
<li role="presentation" class="active"><a id="status_nav" aria-controls="status" role="tab" href="#status" data-toggle="tab">Status</a></li>
@@ -34,6 +30,10 @@
<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>
</ul>
+ <ul class="nav navbar-nav nav-pills pull-right" style="display:none">
+ <li><a href="#" data-toggle="tab" id="refresh"><i class="glyphicon glyphicon-refresh"></i> Refresh</a></li>
+ <li class="spinner"><a href="#" data-toggle="tab" id="disconnect"><i class="glyphicon glyphicon-off"></i> Disconnect</a></li>
+ </ul>
</div>
</nav>
@@ -219,8 +219,11 @@
<div class="row">
<form class="col-md-12 nomargin" id="scanForm">
<textarea class="col-md-12 scan-textarea" id="scanTextSource"></textarea>
- <p><button class="btn btn-default btn-primary" data-upload="scan">Scan message</button>
- <button class="btn btn-default pull-right" id="scanClean">Clean form</button></p>
+ <button type="submit" class="btn btn-default btn-primary" data-upload="scan">Scan message</button>
+ <!--span class="btn btn-default btn-file" style="margin-top:10px; margin-left:5px;">
+ <i class="glyphicon glyphicon-upload"></i> Upload file <input type="file" class="btn btn-default" id="inputFile">
+ </span-->
+ <button class="btn btn-default pull-right" id="scanClean">Clean form</button>
</form>
</div>
<div id="scanResult" style="display:none">