1 [%# vim:set filetype=html: %]
6 <li><_>Season:</_> [% tournament.seasonname %]</li>
7 <li><_>Country:</_> [% tournament.countryname %]</li>
8 <li><_>Place:</_> [% tournament.location %]</li>
9 <li><_>Date:</_> [% tournament.date %]</li>
10 <li><_>Machine:</_> [% tournament.machinename %]</li>
11 <li><_>Scoring system:</_> [% tournament.scoringsystemname %]</li>
15 [% IF closing_valid && !public %]
16 <h2>Start new round</h2>
19 <p><_>At the moment, there's been</_> <strong>[% num_rounds %]</strong> <_>full rounds,
20 which means that you could start round</_> <strong>[% num_rounds + 1 %]</strong>
21 <_>if you'd like. Note that you can't start a new round before the
22 previous one has been completely done.</_></p>
24 <p><_>There are</_> <strong>[% num_qualified %]</strong> <_>players going
25 onto the next round, and these will be spread evenly out over how many
26 groups you select.</_></p>
28 <form method="post" action="do-start-round.pl">
31 <th>Number of groups</th>
32 <td><input name="numgroups" /></td>
35 <th>Number to advance from each group</th>
36 <td><input name="numqual" /></td>
39 <th>Number of random songs</th>
40 <td><input name="numrandom" /></td>
43 <th>Number of self-selected songs</th>
44 <td><input name="numchosen" /></td>
48 <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
49 <input type="hidden" name="round" value="[% num_rounds + 1 %]" />
50 <input type="submit" value="<_>Start next round</_>" />
58 [% IF finishing_valid && !public %]
59 <h2>End tournament</h2>
62 <p>As there's only one group left and that group is done, you can end the
63 tournament if you'd like to. Note that when you've ended the tournament,
64 the ranking lists will be generated and the CC points will be handed out, and
65 there's no way back (that is, the tournament is permanently ended).
68 <form method="post" action="do-finish-tournament.pl">
70 <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
71 <input type="submit" value="<_>End the tournament</_>" />
77 [% IF num_rankings > 0 %]
82 [% FOR r = rankings %]
83 [% IF r.points == -1 %]
84 <li>[% r.ranking %]. <_>place</_>: <a href="player.pl?id=[% r.player %]">[% r.nick %]</a></li>
86 <li>[% r.ranking %]. <_>place</_>: <a href="player.pl?id=[% r.player %]">[% r.nick %]</a>, <_>with</_> [% r.points %] <_>points</_>.</li>
94 [% IF r.locked || !public %]
95 <h2><a name="round[% r.round %]">Runde [% r.round %]</a></h2>
99 [% FOR p = r.parallels %]
100 [% IF bigscreen && !public %]
101 <form method="post" action="do-set-active-round.pl">
103 <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
104 <input type="hidden" name="round" value="[% r.round %]" />
105 <input type="hidden" name="parallel" value="[% p.parallel %]" />
107 <input type="hidden" name="show" value="false" />
108 <input type="submit" value="Fjern fra storskjerm" />
110 <input type="hidden" name="show" value="true" />
111 <input type="submit" value="Vis på storskjerm" />
112 <_>Number of machines:</_> <input name="nummachines" value="1" size="1" />
113 <_>Number of simultaneous players on each machine:</_> <input name="playerspermachine" value="1" size="1" />
119 <form method="post" action="do-edit-scores.pl">
120 <table class="scores">
122 [% IF p.parallel == 0 %]
124 <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
125 <input type="hidden" name="round" value="[% r.round %]" />
126 <input type="hidden" name="group" value="[% p.parallel %]" />
130 <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
131 <input type="hidden" name="round" value="[% r.round %]" />
132 <input type="hidden" name="group" value="[% p.parallel %]" />
133 <_>Group</_> [% p.parallel %]
136 [% FOR s = p.songs %]
137 [% IF s.song == -1 %]
138 <th colspan="4">Self-selected</th>
140 <th colspan="3"><a href="song.pl?id=[% s.song %]">[% s.title %]</a></th>
143 [% IF p.num_songs > 1 %]
147 [% IF !r.locked && !public %]
152 [% FOR pl = p.players %]
153 [% IF r.locked || public %]
156 <a href="player.pl?id=[% pl.player %]">[% pl.nick %]</a>
158 [% FOR s = pl.songs %]
159 <td class="score">[% s.score %]</td>
160 <td class="playmode">[% s.playmode %]</td>
161 <td class="difficulty">[% s.difficulty %]</td>
163 <td><a href="song.pl?id=[% s.song %]">[% s.title %]</a></td>
166 [% IF p.num_songs > 1 %]
167 <td>[% pl.total %]</td>
169 [% IF pl.best_rank == pl.worst_rank %]
170 <td>[% pl.best_rank %]
172 <td>[% pl.best_rank %]-[% pl.worst_rank %]</td>
177 <th><a href="player.pl?id=[% pl.player %]">[% pl.nick %]</a></th>
178 [% FOR s = pl.songs %]
180 <input type="hidden" name="old-score[% pl.player %]-[% s.songnumber %]" value="[% s.score %]" />
181 <input name="score[% pl.player %]-[% s.songnumber %]" value="[% s.score %]" size="5" />
183 <td class="playmode">
184 <input type="hidden" name="old-playmode[% pl.player %]-[% s.songnumber %]" value="[% s.playmode %]" />
185 <select name="playmode[% pl.player %]-[% s.songnumber %]">
186 <option value=""> </option>
187 [% IF s.playmode == 'single' %]
188 <option value="single" selected="selected">S</option>
190 <option value="single">S</option>
192 [% IF s.playmode == 'double' %]
193 <option value="double" selected="selected">D</option>
195 <option value="double">D</option>
199 <td class="difficulty">
201 <input type="hidden" name="song[% pl.player %]-[% s.songnumber %]" value="[% s.song %]" />
203 <input type="hidden" name="old-difficulty[% pl.player %]-[% s.songnumber %]" value="[% s.difficulty %]" />
204 <select name="difficulty[% pl.player %]-[% s.songnumber %]">
205 <option value=""> </option>
206 [% IF s.difficulty == 'beginner' %]
207 <option value="beginner" selected="selected">B</option>
209 <option value="beginner">B</option>
211 [% IF s.difficulty == 'standard' %]
212 <option value="standard" selected="selected">S</option>
214 <option value="standard">S</option>
216 [% IF s.difficulty == 'difficult' %]
217 <option value="difficult" selected="selected">D</option>
219 <option value="difficult">D</option>
221 [% IF s.difficulty == 'expert' %]
222 <option value="expert" selected="selected">E</option>
224 <option value="expert">E</option>
226 [% IF s.difficulty == 'challenge' %]
227 <option value="challenge" selected="selected">C</option>
229 <option value="challenge">C</option>
235 <input type="hidden" name="old-song[% pl.player %]-[% s.songnumber %]" value="[% s.song %]" />
236 <select name="song[% pl.player %]-[% s.songnumber %]">
237 <option value=""> </option>
239 [% IF s.song == ss.song %]
240 <option value="[% ss.song %]" selected="selected">[% ss.title %]</option>
242 <option value="[% ss.song %]">[% ss.title %]</option>
249 [% IF p.num_songs > 1 %]
250 <td>[% pl.total %]</td>
252 <td>[% pl.rank %]</td>
253 <td><input type="submit" value="Update" /></td>