From 7fb11b178e93a9e2deb5a62a11f354871f8d7058 Mon Sep 17 00:00:00 2001
From: fmareuil <fabien.mareuil@pasteur.fr>
Date: Mon, 29 Apr 2024 09:59:48 +0200
Subject: [PATCH] invert compounds and PIE

---
 ippisite/ippidb/templates/about-general.html | 40 ++++++++++----------
 1 file changed, 21 insertions(+), 19 deletions(-)

diff --git a/ippisite/ippidb/templates/about-general.html b/ippisite/ippidb/templates/about-general.html
index c6a6a5e0..745c7ca6 100644
--- a/ippisite/ippidb/templates/about-general.html
+++ b/ippisite/ippidb/templates/about-general.html
@@ -5,25 +5,6 @@
 {% block pagetitle %}GENERAL INFORMATION{% endblock%}
 
 {% block view_content %}
-<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 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>
-			<li>Total number of biochemical binding data: {{ bioch_car_count }}</li>
-			<li>Total number of cellular binding data: {{ cell_car_count }}</li>
-			<li>Number of proteins: {{ proteins_count }}</li>
-			<li>Number of families: {{ families_count }}</li>
-			<li>Number of PPI targets: {{ ppis_count }}</span></li>
-			<li>Number of bibliographic sources: {{ biblio_count }}</span></li>
-		</ul>
-	</div>
-</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>
@@ -45,6 +26,27 @@
 	</div>
 </div>
 
+<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 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>
+			<li>Total number of biochemical binding data: {{ bioch_car_count }}</li>
+			<li>Total number of cellular binding data: {{ cell_car_count }}</li>
+			<li>Number of proteins: {{ proteins_count }}</li>
+			<li>Number of families: {{ families_count }}</li>
+			<li>Number of PPI targets: {{ ppis_count }}</span></li>
+			<li>Number of bibliographic sources: {{ biblio_count }}</span></li>
+		</ul>
+	</div>
+</div>
+
+
 <h2 class="mt-5 text-center">What are the iPPI-DB compounds standards ?</h2>
 
 <div class="row justify-content-center">
-- 
GitLab