aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates
diff options
context:
space:
mode:
authorzsloan2024-06-07 18:35:56 +0000
committerzsloan2024-06-27 14:34:42 -0500
commit184fba3a93696735f7a7ef6b88242f598594c7af (patch)
tree4cf0dbf3208c57a29343e8f5628ae043a67c372f /gn2/wqflask/templates
parent48f2260cf11a4f4dd6560952edb3be35377efd93 (diff)
downloadgenenetwork2-184fba3a93696735f7a7ef6b88242f598594c7af.tar.gz
Add separate button for Xapian search
This will be temporary in the longer run, but can stay until all functionality is reproduced.
Diffstat (limited to 'gn2/wqflask/templates')
-rwxr-xr-xgn2/wqflask/templates/index_page.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/index_page.html b/gn2/wqflask/templates/index_page.html
index f0840425..84d441f2 100755
--- a/gn2/wqflask/templates/index_page.html
+++ b/gn2/wqflask/templates/index_page.html
@@ -111,6 +111,7 @@
</div>
<form method="get" action="/search" target="_blank" id="searchform" name="SEARCHFORM",
data-gn_server_url="{{gn_server_url}}">
+ <input name="search_type" type="hidden" value="sql">
<fieldset>
<div style="padding-left: 20px; padding-right: 20px;" class="form-horizontal">
@@ -198,6 +199,9 @@
<div class="col-2 controls">
<button id="btsearch" class="btn btn-primary form-control"><span class="glyphicon glyphicon-search"></span> Search</button>
</div>
+ <div class="col-2 controls" style="padding-left: 20px;">
+ <button id="xapianSearch" class="btn btn-primary form-control"><span class="glyphicon glyphicon-search"></span> Xapian Search</button>
+ </div>
<div class="col-2 align-self-end controls" style="padding-left: 20px;">
<button type="button" id="make_default" class="btn form-control info-button"><span class="glyphicon glyphicon-pushpin"></span> Lock Menu</button>
</div>