diff options
author | Munyoki Kilyungi | 2024-03-26 19:52:34 +0300 |
---|---|---|
committer | BonfaceKilz | 2024-03-27 17:59:06 +0300 |
commit | 7884662d42ebb3c6f0e1ebb694193ad83bb8c4b9 (patch) | |
tree | 6392147b46e3327deaeb09d39ea6c50aa8e0afa3 | |
parent | 82620a85d2a7aaeca2ea56519a1d5fb2828e2bf2 (diff) | |
download | genenetwork2-7884662d42ebb3c6f0e1ebb694193ad83bb8c4b9.tar.gz |
Move search box to below the header.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Co-authored-by: Alexander Kabui <alexanderkabua@gmail.com>
-rw-r--r-- | gn2/wqflask/templates/gnqa.html | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/gn2/wqflask/templates/gnqa.html b/gn2/wqflask/templates/gnqa.html index 21a396eb..162f66f1 100644 --- a/gn2/wqflask/templates/gnqa.html +++ b/gn2/wqflask/templates/gnqa.html @@ -42,19 +42,7 @@ </style> {% endblock %} -{% block search %} -<form class="row" id="gnqna_search_home" method="POST" action="/gnqna"> - <!--- init gnqa codebase here --> - <div class="col-sm-1"> - <button type="button" data-toggle="modal" data-target=".bd-example-modal-lg" class="btn btn-link btn-sm "> - <i class="fa fa-history fa-2x" aria-hidden="true" title="Search History"></i> - </button> - </div> - - <input class="col-sm-6 text-center" id="gnqna_search_home_input" type="text" autocomplete="off" - required placeholder="Ask More Questions or Topics (E.g Genes) " value='' name="querygnqa"/> -</form> -{% endblock %} +{% block search %}{% endblock %} <div class="modal fade bd-example-modal-lg " id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true"> <div class="modal-dialog modal-lg" role="document" > @@ -90,10 +78,24 @@ <section class="container-fluid"> <div id="loader"></div> - <div class="row"> <h2 class="col-sm-12 text-center" style="font-variant:small-caps">Gnqa System</h2> </div> + <form class="col-sm-12" id="gnqna_search_home" method="POST" action="/gnqna"> + <!--- init gnqa codebase here --> + <!-- <div class="col-sm-1"> + <button type="button" data-toggle="modal" data-target=".bd-example-modal-lg" class="btn btn-link btn-sm "> + <i class="fa fa-history fa-2x" aria-hidden="true" title="Search History"></i> + </button> + </div> --> + <div class="col-sm-6"> + <input class="text-center" id="gnqna_search_home_input" type="text" autocomplete="off" + required placeholder="Ask More Questions or Topics (E.g Genes) " value='' name="querygnqa"/> + <button type="button" data-toggle="modal" data-target=".bd-example-modal-lg" class="btn btn-primary btn-sm "> + <i class="fa fa-search fa-2x" aria-hidden="true" title="Search History"></i> + </button> + </div> + </form> <div class="row gnqa-copy"> <p class="col-sm-11 col-md-offset-3 col-md-6"> Welcome to the GeneNetwork Question and Answer (GNQA)system. We utilize a large language model and 3000 scientific publications to make GNQA a subject matter expert in three areas: <b><a href="/">GeneNetwork.org </a></b>, <b>genomics/genetics with regards to diabetes</b> and <b>genomics/genetics with regards to agin.</b>. |