aboutsummaryrefslogtreecommitdiff
path: root/gn2
diff options
context:
space:
mode:
authorAlexander_Kabui2024-04-04 02:42:58 +0300
committerAlexander_Kabui2024-04-05 15:12:51 +0300
commit712a6a42d3c0d1e9b29a3c8352ca984a09cd79b1 (patch)
tree8faba8ab93a0e95f654adcfe3da091e628d15ab5 /gn2
parentf586774026565f10772b342521af8eb90cfb687a (diff)
downloadgenenetwork2-712a6a42d3c0d1e9b29a3c8352ca984a09cd79b1.tar.gz
Add gnqa history search page.
Diffstat (limited to 'gn2')
-rw-r--r--gn2/wqflask/templates/gnqa_search_history.html42
1 files changed, 42 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/gnqa_search_history.html b/gn2/wqflask/templates/gnqa_search_history.html
new file mode 100644
index 00000000..ce6a01da
--- /dev/null
+++ b/gn2/wqflask/templates/gnqa_search_history.html
@@ -0,0 +1,42 @@
+<section class="container-fluid gnqa-copy">
+ <header class="row">
+
+ <div class="panel panel default col-sm-6 col-sm-offset-3">
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ <div>
+ <h4 style="color:blue">You search History </h4>
+ </div>
+ </div>
+ </div>
+ </div>
+ </header>
+ <div class="container row">
+ <div class="panel panel-default col-sm-6 col-sm-offset-3 ">
+ {% for record in prev_queries %}
+ <div class="panel-body">
+ <div class="row">
+ <input name="" type="checkbox" value="" class="col-sm-1" class="text-primary">
+ <div class="col-sm-10">
+ {% for id,val in record.items() %}
+ <button
+ hx-get="/gnqna/hist/search/{{id}}"
+ hx-target="#swap"
+ hx-swap="innerHTML"
+ hx-trigger= "click"
+ data-bs-toggle="tooltip"
+ data-bs-placement="left"
+ title="/gnqna/hist/search?{{id}}"
+ style="background:transparent;border:none;color:blue;cursor:pointer"
+ >
+ <b>{{val}} </b>
+ </button>
+ {% endfor %}
+ </div>
+ </div>
+ </div>
+ {% endfor %}
+ </div>
+ </div>
+ </div>
+ </section>