diff --git a/templates/cmipexplist.html b/templates/cmipexplist.html index 6706c59..34bd6c4 100644 --- a/templates/cmipexplist.html +++ b/templates/cmipexplist.html @@ -1,109 +1,245 @@ {% extends 'cmiphome.html' %} {% block body %} +
+
+
-
-

Running Experiments

-
    -
  • Running OK -
      - - {% for exp in running %} -
    • {{ exp.0.name }}
    • -
        -
      • +Details... -
          -
        • CO2: {{ exp.1.co2 }}
        • - {% for minfo in exp.1.minfo %} -
        • {{ minfo.member }} ({{ minfo.finished_years }} of {{ minfo.total_years }}y)
        • - {% endfor %} -
        -
      • -
      - {% empty %} -
    • None.
    • - {% endfor %} -
    -
  • -
- -
    -
  • Running with Errors -
      - {% for exp in running_errors %} -
    • {{ exp.0.name }}
    • -
        -
      • +Progress... -
          -
        • CO2: {{ exp.1.co2 }}
        • - {% for minfo in exp.1.minfo %} -
        • {{ minfo.member }} ({{ minfo.finished_years }} of {{ minfo.total_years }}y)
        • - {% endfor %} -
        -
      • -
      - {% empty %} -
    • None.
    • - {% endfor %} -
    -
  • -
  • Total errors: {{ total_errors }}
  • -
- -
    -
  • Running with Aborted -
      - {% for exp in running_aborted %} -
    • {{ exp.0.name }}
    • -
        -
      • +Progress... -
          -
        • CO2: {{ exp.1.co2 }}
        • - {% for minfo in exp.1.minfo %} -
        • {{ minfo.member }} ({{ minfo.finished_years }} of {{ minfo.total_years }}y)
        • - {% endfor %} -
        -
      • -
      - {% empty %} -
    • None.
    • - {% endfor %} -
    -
  • -
  • Total aborted: {{ total_aborted }}
  • -
-
- +
+
+ +
+
+ {# here come the exps #} + + + +
+
+ +
+
+ + {# and now one accordion per exp #} + {% for exp in running %}
+ {{ exp.0.name }} CO2: {{ exp.1.co2 }} +
+
+
+ Details +
+
+
+ {% for minfo in exp.1.minfo %} +

+
+ {{ minfo.member }} +
+
+ + +
+
+ ({{ minfo.finished_years }} of {{ minfo.total_years }}y) +
+
+ {% endfor %} +
+
+
+
+ {% empty %} +

None

+ {% endfor %} + +
+
+
+
+ + +
+
+ +
+
+ + {# and now one accordion per exp #} + {% for exp in running_errors %} + {{ exp.0.name }} +
+
+
+ Details +
+
+
+ {% for minfo in exp.1.minfo %} +

+
+ {{ minfo.member }} +
+
+ + +
+
+ ({{ minfo.finished_years }} of {{ minfo.total_years }}y) +
+
+ {% endfor %} +
+
+
+
+ {% empty %} +

None

+ {% endfor %} + +
+
+
+
+ + + + +
+
+ +
+
+ + {# and now one accordion per exp #} + {% for exp in running_aborted %} + {{ exp.0.name }} +
+
+
+ Details +
+
+
+ {% for minfo in exp.1.minfo %} +

+
+ {{ minfo.member }} +
+
+ + +
+
+ ({{ minfo.finished_years }} of {{ minfo.total_years }}y) +
+
+ {% endfor %} +
+
+
+
+ {% empty %} +

None

+ {% endfor %} + +
+
+
+
+ +
+
+
+
+ -
-

Finished Experiments

- -
    -
  • Finished OK -
      - {% for exp in finished %} -
    • {{ exp.0.name }} CO2: {{ exp.1.co2 }}
    • - {% empty %} -
    • None.
    • - {% endfor %} -
    -
  • -
- -
    -
  • Finished with Aborted -
      - {% for expa in finished_aborted %} -
    • {{ expa.1.title }} CO2: {{ expa.1.co2 }}
    • - {% empty %} -
    • None.
    • - {% endfor %} -
    -
  • -
+
+
+ +
+
+ {# here come the exps #} + + +
+
+ +
+
+
    + {% for exp in finished %} +
  • + {{ exp.0.name }} CO2: {{ exp.1.co2 }} +
  • + {% empty %} +
  • None
  • + {% endfor %} +
+
+
+
+
+ + +
+
+ +
+
+
    + {% for expa in finished_aborted %} +
  • + {{ expa.0.name }} CO2: {{ expa.1.co2 }} +
  • + {% empty %} +
  • None
  • + {% endfor %} +
+
+
+
+
+ +
+
+
+
+
- +
+
+ + {% endblock %}