Skip to content

Commit 1b05d9a

Browse files
committed
Adjustments
1 parent 540af44 commit 1b05d9a

1 file changed

Lines changed: 24 additions & 23 deletions

File tree

term_timer/server/templates/academy/case.html

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,9 @@ <h2 class="card-title">
318318
<a href="#badmephisto" id="badmephisto">BadMephisto Algorithms</a>
319319
</h2>
320320
</div>
321+
<p class="case-section case-note secondary">
322+
{{ badmephisto.algos|length }} algorithm(s) provided by the famous BadMephisto.
323+
</p>
321324
{% for algorithm in badmephisto.algos %}
322325
<div class="moves-card">
323326
<div class="moves-content">
@@ -367,30 +370,28 @@ <h2 class="card-title">
367370
<p class="case-section case-note secondary">
368371
{{ case.two_phase_algorithms|length }} algorithm(s) computed by two-phase solver.
369372
</p>
370-
<div class="case-section case-grid-sm">
371-
{% for algorithm in case.two_phase_algorithms %}
372-
<div class="moves-card">
373-
<div class="moves-content">
374-
{% for m in algorithm %}
375-
<span class="move">{{ m }}</span>
376-
{% endfor %}
377-
</div>
378-
<div class="moves-footer">
379-
<span class="spec-label htm">
380-
HTM: {{ algorithm.metrics.htm }}
381-
</span>
382-
<span class="spec-label ergo">
383-
ERGO: {{ "%0.1f"|format(algorithm.ergonomics.comfort_score) }}
384-
</span>
385-
<span class="spec-label memo">
386-
MEMO: {{ "%0.1f"|format(algorithm.memory.memory_score) }}
387-
</span>
388-
{{ algorithm_detail(algorithm) }}
389-
{{ algorithm_copy(algorithm) }}
390-
</div>
373+
{% for algorithm in case.two_phase_algorithms %}
374+
<div class="moves-card">
375+
<div class="moves-content">
376+
{% for m in algorithm %}
377+
<span class="move">{{ m }}</span>
378+
{% endfor %}
391379
</div>
392-
{% endfor %}
393-
</div>
380+
<div class="moves-footer">
381+
<span class="spec-label htm">
382+
HTM: {{ algorithm.metrics.htm }}
383+
</span>
384+
<span class="spec-label ergo">
385+
ERGO: {{ "%0.1f"|format(algorithm.ergonomics.comfort_score) }}
386+
</span>
387+
<span class="spec-label memo">
388+
MEMO: {{ "%0.1f"|format(algorithm.memory.memory_score) }}
389+
</span>
390+
{{ algorithm_detail(algorithm) }}
391+
{{ algorithm_copy(algorithm) }}
392+
</div>
393+
</div>
394+
{% endfor %}
394395
</div>
395396
{% endif %}
396397

0 commit comments

Comments
 (0)