]> git.sesse.net Git - ccbs/blobdiff - html/templates/show-tournament.tmpl
We want to show _groups_ on the big screen, not _rounds_
[ccbs] / html / templates / show-tournament.tmpl
index ee2be73e69f0e8a4ff3e5a573296fcabd1bcecca..86854cd0f43c14cdbc97d1b57dd0a86036c23417 100644 (file)
   <div>
 
   [% FOR p = r.parallels %]
+  <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 %]
+      <input type="hidden" name="show" value="false" />
+      <input type="submit" value="Fjern fra storskjerm" />
+  [% ELSE %]
+      <input type="hidden" name="show" value="true" />
+      <input type="submit" value="Vis på storskjerm" />
+  [% END %]
+    </p>
+  </form>
+  
   <form method="post" action="do-edit-scores.pl">
   <table class="scores">
     <tr>