]> git.sesse.net Git - ccbs/blobdiff - html/templates/show-tournament.tmpl
The front end can now choose how many players play per machine (1 or 2).
[ccbs] / html / templates / show-tournament.tmpl
index 86854cd0f43c14cdbc97d1b57dd0a86036c23417..a5faa7ca632c170d1cb923cb9ec6f0a1107885d6 100644 (file)
 [% END %]
 
 [% FOR r = rounds %]
-  <h2>Runde [% r.round %]</h2>
+  <h2><a name="round[% r.round %]">Runde [% r.round %]</a></h2>
 
   <div>
 
   [% FOR p = r.parallels %]
+    [% IF bigscreen %]
   <form method="post" action="do-set-active-round.pl">
     <p>
       <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
       <input type="hidden" name="round" value="[% r.round %]" />
       <input type="hidden" name="parallel" value="[% p.parallel %]" />
-  [% IF p.bigscreen %]
+      [% IF p.bigscreen %]
       <input type="hidden" name="show" value="false" />
       <input type="submit" value="Fjern fra storskjerm" />
-  [% ELSE %]
+      [% ELSE %]
       <input type="hidden" name="show" value="true" />
       <input type="submit" value="Vis på storskjerm" />
-  [% END %]
+      Antall maskiner: <input name="nummachines" value="1" size="1" />
+      Antall spillere per maskin: <input name="playerspermachine" value="1" size="1" />
+      [% END %]
     </p>
   </form>
+    [% END %]
   
   <form method="post" action="do-edit-scores.pl">
   <table class="scores">