aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"
/>