From c33c5c8fd9937960f08346627370075e7965a3b0 Mon Sep 17 00:00:00 2001 From: fmareuil <fabien.mareuil@pasteur.fr> Date: Fri, 26 Apr 2024 19:01:09 +0200 Subject: [PATCH] adjust view template --- ippisite/ippidb/templates/about-general.html | 22 ++++++++++++-------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/ippisite/ippidb/templates/about-general.html b/ippisite/ippidb/templates/about-general.html index 6e0216ca..f93087ab 100644 --- a/ippisite/ippidb/templates/about-general.html +++ b/ippisite/ippidb/templates/about-general.html @@ -5,16 +5,13 @@ {% block pagetitle %}GENERAL INFORMATION{% endblock%} {% block view_content %} -<div class="row"> - <div class="col-6 text-center border rounded-left"> - <h3>Compounds</h3> - </div> - <div class="col-6 text-center border rounded-right"> - <h3>Protein Interaction Explorer</h3> +<div class="row justify-content-center"> + <div class="col-6 text-center border rounded-top"> + <h3>Summary Data: Compounds</h3> </div> </div> -<div class="row"> - <div class="col-6 border rounded-left"> +<div class="row justify-content-center"> + <div class="col-6 border rounded-bottom"> <ul style="columns: 2;" class="list-unstyled mx-auto"> <li>Number of compounds: {{ compounds_count }}</li> <li>Total number of binding data: {{ car_count }}</li> @@ -26,7 +23,14 @@ <li>Number of bibliographic sources: {{ biblio_count }}</span></li> </ul> </div> - <div class="col-6 border rounded-right"> +</div> +<div class="row mt-5 justify-content-center"> + <div class="col-6 text-center border rounded-top"> + <h3>Summary Data: Protein Interaction Explorer</h3> + </div> +</div> +<div class="row justify-content-center"> + <div class="col-6 border rounded-bottom"> <ul style="columns: 2;" class="list-unstyled mx-auto"> <li>Number of pockets: {{ cavitiescount }}</li> <li>Number of orthosteric pockets: {{ orthocount }}</li> -- GitLab