about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlexander_Kabui2024-04-04 02:44:09 +0300
committerAlexander_Kabui2024-04-05 15:13:13 +0300
commitb28ebc5a5fe34525801d29332a89bb4ed2e260d0 (patch)
tree698096d0a77ea4424143b6423f02ba65ed0d9fb4
parent712a6a42d3c0d1e9b29a3c8352ca984a09cd79b1 (diff)
downloadgenenetwork2-b28ebc5a5fe34525801d29332a89bb4ed2e260d0.tar.gz
Add get history fetch url on gnqa homepage.
-rw-r--r--gn2/wqflask/templates/gnqa.html14
1 files changed, 12 insertions, 2 deletions
diff --git a/gn2/wqflask/templates/gnqa.html b/gn2/wqflask/templates/gnqa.html
index 31a04aac..8bcb1b19 100644
--- a/gn2/wqflask/templates/gnqa.html
+++ b/gn2/wqflask/templates/gnqa.html
@@ -30,6 +30,12 @@
      font-size: 14px;
  }
 
+ .search-hist-btn{
+     background-color:transparent;
+     color:#3071a9;
+     border:none     
+ }
+
  .search-header sup {
      top: -2em;
  }
@@ -117,7 +123,11 @@
 	<h1 class="col-sm-12 text-center search-header">
 	    AI Search
 	    <small>
-		<sup><a href="#">[Search History]</a></sup>
+	      <sup>
+		<button class="search-hist-btn" hx-get="/gnqna/hist/" hx-target="#swap" hx-swap="innerHTML" >
+		  [Search History]
+		</button>
+	      </sup>
 	    </small>
 	</h1>
     </header>
@@ -142,7 +152,7 @@
 		       value=''
 		name="querygnqa"
 		       hx-post="/gnqna"
-		hx-target="#swap
+		hx-target="#swap"
 		hx-swap="innerHTML"
 		hx-indicator="#indicator"
 	    />