@@ -117,6 +117,7 @@ <h2>📊 Overview</h2>
117117 {% for trajectory in trajectories_by_round.get(1, []) %}
118118 < th > Player {{ trajectory.player_id }} Steps</ th >
119119 {% endfor %}
120+ < th > Actions</ th >
120121 </ tr >
121122 </ thead >
122123 < tbody >
@@ -158,6 +159,11 @@ <h2>📊 Overview</h2>
158159 < td > < span class ="no-result "> -</ span > </ td >
159160 {% endfor %}
160161 {% endif %}
162+ < td >
163+ < button class ="nav-to-round-btn " onclick ="scrollToRound({{ round_data.round_num }}) " title ="Jump to Round {{ round_data.round_num }} details ">
164+ < span class ="nav-arrow "> ↓</ span >
165+ </ button >
166+ </ td >
161167 </ tr >
162168 {% endfor %}
163169 </ tbody >
@@ -172,6 +178,9 @@ <h2>🎯 Detailed Rounds</h2>
172178 {% for round_data in metadata.rounds %}
173179 {% set round_num = round_data.round_num %}
174180
181+ <!-- Round Anchor for Navigation -->
182+ < div id ="round-{{ round_num }} " class ="round-anchor "> </ div >
183+
175184 <!-- Player Trajectories for this round -->
176185 {% if round_num in trajectories_by_round %}
177186 {% for trajectory in trajectories_by_round[round_num] %}
599608 modes : [ 'view' , 'tree' ] ,
600609 name : 'metadata'
601610 } ) ;
602- metadataEditor . set ( { { metadata . results | tojson } } ) ;
611+ metadataEditor . set ( { { metadata . results | tojson | safe } } ) ;
603612
604613 // Initialize round results JSON editors
605614 { % for round_data in metadata . rounds % }
609618 modes : [ 'view' , 'tree' ] ,
610619 name : 'round_{{ round_data.round_num }}_results'
611620 } ) ;
612- round { { round_data . round_num } } Editor . set ( { { round_data . results | tojson } } ) ;
621+ round { { round_data . round_num } } Editor . set ( { { round_data . results | tojson | safe } } ) ;
613622 { % endif % }
614623 { % endfor % }
615624 } ) ;
0 commit comments