@@ -137,13 +137,18 @@ <h2 class="card-title">
137137 < a href ="#main-algorithm " id ="main-algorithm "> Main Algorithm</ a >
138138 </ h2 >
139139 </ div >
140+ < p class ="card-description ">
141+ Algorithm used to solve the case.
142+ </ p >
140143 < div class ="moves-card ">
141144 < div class ="moves-content ">
142145 {% for m in case.main_algorithm %}
143146 < span class ="move "> {{ m }}</ span >
144147 {% endfor %}
145148 </ div >
146149 < div class ="moves-footer ">
150+ {{ algorithm_button_detail(case.main_algorithm) }}
151+ {{ algorithm_button_copy(case.main_algorithm) }}
147152 < span class ="spec-label htm ">
148153 HTM: {{ case.main_algorithm.metrics.htm }}
149154 </ span >
@@ -153,8 +158,6 @@ <h2 class="card-title">
153158 < span class ="spec-label memo ">
154159 MEMO: {{ "%0.1f"|format(case.main_algorithm.memory.memory_score) }}
155160 </ span >
156- {{ algorithm_button_detail(case.main_algorithm) }}
157- {{ algorithm_button_copy(case.main_algorithm) }}
158161 </ div >
159162 </ div >
160163 </ div >
@@ -201,25 +204,26 @@ <h2 class="card-title">
201204 < a href ="#recognition " id ="recognition "> Recognition</ a >
202205 </ h2 >
203206 </ div >
204- < div class ="case-section case-grid-sm ">
207+ < p class ="card-description ">
208+ Tips and tricks to recognize the case from different orientations.
209+ </ p >
210+ < div class ="case-grid-sm ">
205211 {% for recog_case in case.recognition.cases %}
206212 < div class ="case-panel ">
207213 < strong class ="case-accent "> {{ recog_case.feature.name }}</ strong >
208- < div class ="case-note ">
214+ < p >
215+ {{ recog_case.description }}
216+ </ p >
217+ {% if recog_case.observation %}
209218 < p >
210- {{ recog_case.description }}
219+ < b > Observation: </ b > {{ recog_case.observation }}
211220 </ p >
212- {% if recog_case.observation %}
213- < p >
214- < b > Observation:</ b > {{ recog_case.observation }}
215- </ p >
216- {% endif %}
217- {% if recog_case.notes %}
218- < p >
219- < b > Notes:</ b > {{ recog_case.notes }}
220- </ p >
221- {% endif %}
222- </ div >
221+ {% endif %}
222+ {% if recog_case.notes %}
223+ < p >
224+ < b > Notes:</ b > {{ recog_case.notes }}
225+ </ p >
226+ {% endif %}
223227 </ div >
224228 {% endfor %}
225229 </ div >
@@ -235,7 +239,7 @@ <h2 class="card-title">
235239 < a href ="#all-algorithms " id ="all-algorithms "> All Known Algorithms</ a >
236240 </ h2 >
237241 </ div >
238- < p class ="case-section case-note secondary ">
242+ < p class ="card-description ">
239243 {{ all_algorithms|length }} total algorithm(s) in the database for this case.
240244 Different algorithms might be more comfortable depending on your solving style.
241245 </ p >
@@ -250,6 +254,8 @@ <h2 class="card-title">
250254 {% endfor %}
251255 </ div >
252256 < div class ="moves-footer ">
257+ {{ algorithm_button_detail(algo) }}
258+ {{ algorithm_button_copy(algo) }}
253259 < span class ="spec-label htm ">
254260 HTM: {{ algo.metrics.htm }}
255261 </ span >
@@ -259,8 +265,6 @@ <h2 class="card-title">
259265 < span class ="spec-label memo ">
260266 MEMO: {{ "%0.1f"|format(algo.memory.memory_score) }}
261267 </ span >
262- {{ algorithm_button_detail(algo) }}
263- {{ algorithm_button_copy(algo) }}
264268 </ div >
265269 </ div >
266270 {% endfor %}
@@ -277,7 +281,7 @@ <h2 class="card-title">
277281 < a href ="#setup-algorithms " id ="setup-algorithms "> Setup Algorithms</ a >
278282 </ h2 >
279283 </ div >
280- < p class ="case-section case-note secondary ">
284+ < p class ="card-description ">
281285 Top {{ setup_algorithms|length }} of the best setup algorithm(s) for this case.
282286 </ p >
283287 < div class ="algorithms-grid ">
@@ -291,6 +295,8 @@ <h2 class="card-title">
291295 {% endfor %}
292296 </ div >
293297 < div class ="moves-footer ">
298+ {{ algorithm_button_detail(setup) }}
299+ {{ algorithm_button_copy(setup) }}
294300 < span class ="spec-label htm ">
295301 HTM: {{ setup.metrics.htm }}
296302 </ span >
@@ -300,8 +306,6 @@ <h2 class="card-title">
300306 < span class ="spec-label memo ">
301307 MEMO: {{ "%0.2f"|format(setup.memory.memory_score) }}
302308 </ span >
303- {{ algorithm_button_detail(setup) }}
304- {{ algorithm_button_copy(setup) }}
305309 </ div >
306310 </ div >
307311 {% endfor %}
@@ -318,7 +322,7 @@ <h2 class="card-title">
318322 < a href ="#badmephisto " id ="badmephisto "> BadMephisto Algorithms</ a >
319323 </ h2 >
320324 </ div >
321- < p class ="case-section case-note secondary ">
325+ < p class ="card-description ">
322326 {{ badmephisto.algos|length }} algorithm(s) provided by the famous BadMephisto.
323327 </ p >
324328 {% for algorithm in badmephisto.algos %}
@@ -329,6 +333,8 @@ <h2 class="card-title">
329333 {% endfor %}
330334 </ div >
331335 < div class ="moves-footer ">
336+ {{ algorithm_button_detail(algorithm) }}
337+ {{ algorithm_button_copy(algorithm) }}
332338 < span class ="spec-label htm ">
333339 HTM: {{ algorithm.metrics.htm }}
334340 </ span >
@@ -338,8 +344,6 @@ <h2 class="card-title">
338344 < span class ="spec-label memo ">
339345 MEMO: {{ "%0.1f"|format(algorithm.memory.memory_score) }}
340346 </ span >
341- {{ algorithm_button_detail(algorithm) }}
342- {{ algorithm_button_copy(algorithm) }}
343347 </ div >
344348 </ div >
345349 {% endfor %}
@@ -367,7 +371,7 @@ <h2 class="card-title">
367371 < a href ="#two-phase " id ="two-phase "> Two-Phase Algorithms</ a >
368372 </ h2 >
369373 </ div >
370- < p class ="case-section case-note secondary ">
374+ < p class ="card-description ">
371375 {{ case.two_phase_algorithms|length }} algorithm(s) computed by two-phase solver.
372376 </ p >
373377 {% for algorithm in case.two_phase_algorithms %}
@@ -378,6 +382,8 @@ <h2 class="card-title">
378382 {% endfor %}
379383 </ div >
380384 < div class ="moves-footer ">
385+ {{ algorithm_button_detail(algorithm) }}
386+ {{ algorithm_button_copy(algorithm) }}
381387 < span class ="spec-label htm ">
382388 HTM: {{ algorithm.metrics.htm }}
383389 </ span >
@@ -387,8 +393,6 @@ <h2 class="card-title">
387393 < span class ="spec-label memo ">
388394 MEMO: {{ "%0.1f"|format(algorithm.memory.memory_score) }}
389395 </ span >
390- {{ algorithm_button_detail(algorithm) }}
391- {{ algorithm_button_copy(algorithm) }}
392396 </ div >
393397 </ div >
394398 {% endfor %}
@@ -403,7 +407,7 @@ <h2 class="card-title">
403407 < a href ="#external-links " id ="external-links "> External Resources</ a >
404408 </ h2 >
405409 </ div >
406- < div class ="case-links-grid case-section ">
410+ < div class ="case-links-grid ">
407411 {% if case.cubing_fache_url %}
408412 < a href ="{{ case.cubing_fache_url }} " target ="_blank " class ="link case-external-link ">
409413 < i class ="fas fa-external-link-alt "> </ i >
0 commit comments