From 43bcd4ef51b252e7cf05b41b081fa0722712a1b5 Mon Sep 17 00:00:00 2001 From: luissian Date: Sun, 29 Sep 2024 17:17:24 +0200 Subject: [PATCH] solved issue #303 No horizontal scroll when displaying sample information --- wetlab/templates/wetlab/display_sample.html | 84 +++++++++++---------- 1 file changed, 44 insertions(+), 40 deletions(-) diff --git a/wetlab/templates/wetlab/display_sample.html b/wetlab/templates/wetlab/display_sample.html index d44199ad9..55d56d9c9 100644 --- a/wetlab/templates/wetlab/display_sample.html +++ b/wetlab/templates/wetlab/display_sample.html @@ -131,51 +131,55 @@

Sample information for {{sample_information.sample_name}
{% for molecule_values, molecule_param_heading , molecule_param_values in sample_information.molecule_definition_data %} +
-

Molecule extraction information

-
- - - - {% for values in sample_information.molecule_definition_heading %} - - {%endfor%} - - - - - {% for mol_values in molecule_values %} - - {%endfor%} - - -
{{ values }}
{{ mol_values }}
+

Extraction information

+
+ + + + {% for values in sample_information.molecule_definition_heading %} + + {%endfor%} + + + + + {% for mol_values in molecule_values %} + + {%endfor%} + + +
{{ values }}
{{ mol_values }}
+
{% if molecule_param_heading is not None %} -
-
-

Quality Parameter Molecule Information

-
-
- - - - {% for mol_par_head in molecule_param_heading %} - - {%endfor%} - - - - - {% for value in molecule_param_values %} - - {%endfor%} - - -
{{ mol_par_head }}
{{ value }}
+
+
+
+

Protocol Extraction Information

+
+
+ + + + {% for mol_par_head in molecule_param_heading %} + + {%endfor%} + + + + + {% for value in molecule_param_values %} + + {%endfor%} + + +
{{ mol_par_head }}
{{ value }}
+
@@ -186,7 +190,7 @@

Sample information for {{sample_information.sample_name} {% csrf_token %} - +