aboutsummaryrefslogtreecommitdiff
path: root/gn2/wqflask/templates/gnqa_search_history.html
blob: ce6a01da5815b349c179bd36980768988ab2d8d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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>