Add headers and rearrange so things look clean. 7/head
authorAnt Zucaro <azucaro@gmail.com>
Fri, 6 Oct 2017 01:36:08 +0000 (21:36 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Fri, 6 Oct 2017 01:36:08 +0000 (21:36 -0400)
xonstat/templates/game_info.mako

index fd46f8c..389f0c9 100644 (file)
     </div>
   % endif
 
+  % if show_frag_matrix:
+    <div class="row">
+      <div class="small-12 columns">
+        <h3>Frag Matrix</h3>
+        ${frag_matrix(pgstats, matrix_by_pgstat_id)}
+      </div>
+    </div>
+  % endif
+
   % if len(pgstats) > 0 and len(pwstats) > 0:
     <div class="row">
       <div class="small-12 medium-9 columns">
+          <h3>Player Accuracies</h3>
           <ul class="accordion" data-accordion>
             % for pgstat in pgstats:
               % if pgstat.player_game_stat_id in pwstats:
       </div>
   % endif
 
-  % if show_frag_matrix:
-    <div class="row">
-      <div class="small-12 columns">
-        <h3>Frag Matrix</h3>
-        ${frag_matrix(pgstats, matrix_by_pgstat_id)}
-      </div>
-    </div>
-  % endif
-
 % endif