diff options
| author | Alexander_Kabui | 2024-09-13 10:49:31 +0300 |
|---|---|---|
| committer | Alexander_Kabui | 2024-09-13 10:49:31 +0300 |
| commit | 3617205075688b2de4f2318578babfd709272b65 (patch) | |
| tree | 53326f8c78c3699563be0cc3562e5624c2cad66f /gn2/wqflask/templates/gsearch_gene.html | |
| parent | 6441bdde2a5705aa04b1e556366b40f6b4e5b8e4 (diff) | |
| parent | 63de4403b6e2186c5758443ec9163fc57b8a012f (diff) | |
| download | genenetwork2-3617205075688b2de4f2318578babfd709272b65.tar.gz | |
Merge branch 'testing' of https://github.com/genenetwork/genenetwork2 into feature/xapian-to-llm-text-transformer
Diffstat (limited to 'gn2/wqflask/templates/gsearch_gene.html')
| -rw-r--r-- | gn2/wqflask/templates/gsearch_gene.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gn2/wqflask/templates/gsearch_gene.html b/gn2/wqflask/templates/gsearch_gene.html index 091cc435..80ed8b47 100644 --- a/gn2/wqflask/templates/gsearch_gene.html +++ b/gn2/wqflask/templates/gsearch_gene.html @@ -16,8 +16,14 @@ </h3> </div> + + {% if do_ai_search %} <div class="row" id="ai_result"> + <div class="text-center" id="spinner"> + <i class="fa fa-spinner fa-spin fa-3x"></i> + </div> </div> + {% endif %} <p>To study a record, click on its Record ID below.<br />Check records below and click Add button to add to selection.</p> <div> @@ -306,6 +312,9 @@ success: function(result) { let ai_div = ai_content_div(result.search_term, result.search_result, result.search_url) $("#ai_result").append(ai_div); + }, + complete: function() { + $("#spinner").hide(); } }) }) |
