Browse Source

Fix template issue

Jérôme BUISINE 4 months ago
parent
commit
68c39d09d7
2 changed files with 4 additions and 4 deletions
  1. 1 1
      expe/config.py
  2. 3 3
      expe/templates/expe/expe_results.html

+ 1 - 1
expe/config.py

@@ -45,7 +45,7 @@ expes_configuration            = {
                              "4th example: ",
                              "The answer is 2 images! \n This image is cropped {0}. \n {1}% on the upper part originating from a low-quality image and on the bottom originating from high quality. \n So, press RIGHT.",
                              "5th example: ",
-                             "The answer is 1 image! \n This image is cropped {0}. \n {1}% on the upper part originating from a high-quality image and on the bottom originating from a low-quality quality.\n So, press LEFT.",
+                             "The answer is 1 image! \n This image is cropped {0}. \n {1}% on the upper part originating from a high-quality image and on the bottom originating from a low-quality quality.\n So, press RIGHT.",
                              "6th example: ",
                              "The answer is 2 images! \n This image is cropped {0}. \n {1}% on the left originating from a low-quality image and on the right originating from high quality. \n So, press RIGHT.",
                              ],

+ 3 - 3
expe/templates/expe/expe_results.html

@@ -10,7 +10,7 @@
 {% block content %}
     
     {% if not expe %}
-        <h3>Results files of experimentss</h3>
+        <h3>Results files of experiments</h3>
         <br />
     {% endif %}
 
@@ -59,10 +59,10 @@
                                             <ul class="list-group files-list" style="display: none">
 
                                                 <hr />
-                                                <li class="list-group-item">
                                                 
                                                 {% for user_name, user in day.items %}
 
+                                                <li class="list-group-item">
 
                                                         <div class="row">
                                                             <div class="col-md-10"><strong>User: </strong>{{user_name}} </div>
@@ -118,10 +118,10 @@
                                     <ul class="list-group files-list" style="display: none">
 
                                         <hr />
-                                        <li class="list-group-item">
                                         
                                         {% for user_name, user in day.items %}
 
+                                        <li class="list-group-item">
 
                                                 <div class="row">
                                                     <div class="col-md-10"><strong>User: </strong>{{user_name}} </div>