aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/gnqa_search_history.html
diff options
context:
space:
mode:
authorAlexander Kabui2024-04-11 18:18:20 +0300
committerGitHub2024-04-11 18:18:20 +0300
commitfdf5c8b99945da251f17f10a14afa4ca0b7014dc (patch)
treed4c346756e41a57206f412b2a09d32d39049bc77 /gn2/wqflask/templates/gnqa_search_history.html
parent7d524ffb5709c7f38ce4ffd5db3235bd2cbc9cb9 (diff)
parent83f4195997e17c89bcd5c8075af9b6cfdfdad843 (diff)
downloadgenenetwork2-fdf5c8b99945da251f17f10a14afa4ca0b7014dc.tar.gz
Merge pull request #838 from genenetwork/feature/refactor-gnqa-ui
Feature/refactor gnqa UI
Diffstat (limited to 'gn2/wqflask/templates/gnqa_search_history.html')
-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..2c07b8c0
--- /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 class="text-primary">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">
+ <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;cursor:pointer"
+ >
+ <b class="text-info">{{val}} </b>
+ </button>
+ {% endfor %}
+ </div>
+ </div>
+ </div>
+ {% endfor %}
+ </div>
+ </div>
+ </div>
+ </section>