diff options
author | Alexander_Kabui | 2024-04-04 02:44:09 +0300 |
---|---|---|
committer | Alexander_Kabui | 2024-04-05 15:13:13 +0300 |
commit | b28ebc5a5fe34525801d29332a89bb4ed2e260d0 (patch) | |
tree | 698096d0a77ea4424143b6423f02ba65ed0d9fb4 | |
parent | 712a6a42d3c0d1e9b29a3c8352ca984a09cd79b1 (diff) | |
download | genenetwork2-b28ebc5a5fe34525801d29332a89bb4ed2e260d0.tar.gz |
Add get history fetch url on gnqa homepage.
-rw-r--r-- | gn2/wqflask/templates/gnqa.html | 14 |
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" /> |