1 [%# vim:set filetype=html: %]
2 <h2>Generelle fakta</h2>
6 <li>Sesong: [% tournament.seasonname %]</li>
7 <li>Land: [% tournament.countryname %]</li>
8 <li>Sted: [% tournament.location %]</li>
9 <li>Dato: [% tournament.date %]</li>
10 <li>Maskin: [% tournament.machinename %]</li>
11 <li>Scoresystem: [% tournament.scoringsystemname %]</li>
15 <h2>Start ny runde</h2>
18 <p>For øyeblikket har det vært avholdt <strong>[% num_rounds %]</strong> runder,
19 hvilket vil si at du kan begynne runde <strong>[% num_rounds + 1 %]</strong>
20 om du skulle ønske det. Vær oppmerksom på at du ikke kan begynne en ny runde
21 før den forrige er gjort helt ferdig.</p>
23 <p>Det er <strong>[% num_qualified %]</strong> mennesker som vil gå videre til
24 neste runde, og disse vil bli spredd jevnt utover så mange grupper som du velger.</p>
26 <form method="post" action="do-start-round.pl">
29 <th>Antall grupper</th>
30 <td><input name="numgroups" /></td>
33 <th>Antall som går videre fra hver gruppe</th>
34 <td><input name="numqual" /></td>
37 <th>Antall tilfeldige sanger</th>
38 <td><input name="numrandom" /></td>
41 <th>Antall selvvalgte sanger</th>
42 <td><input name="numchosen" /></td>
46 <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
47 <input type="hidden" name="round" value="[% num_rounds + 1 %]" />
48 <input type="submit" value="Start neste runde" />
55 [% IF num_rankings > 0 %]
60 [% FOR r = rankings %]
61 [% IF r.points == -1 %]
62 <li>[% r.ranking %]. plass: [% r.nick %]</li>
64 <li>[% r.ranking %]. plass: [% r.nick %], med [% r.points %] poeng.</li>
72 <h2>Runde [% r.round %]</h2>
76 [% FOR p = r.parallels %]
77 <form method="post" action="do-edit-scores.pl">
78 <table class="scores">
80 [% IF p.parallel == 0 %]
83 <th>Gruppe [% p.parallel %]</th>
87 <th colspan="2">Selvvalgt</th>
92 [% IF p.num_songs > 1 %]
98 [% FOR pl = p.players %]
102 <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
103 <input type="hidden" name="round" value="[% r.round %]" />
106 [% FOR s = pl.songs %]
107 <td>[% s.score %]</td>
109 <td>[% s.title %]</td>
112 [% IF p.num_songs > 1 %]
113 <td>[% pl.total %]</td>
118 <th>[% pl.nick %]</th>
119 [% FOR s = pl.songs %]
121 <input name="score[% pl.player %]-[% s.songnumber %]" value="[% s.score %]" size="5" />
122 <select name="playmode[% pl.player %]-[% s.songnumber %]">
123 <option value=""> </option>
124 [% IF s.playmode == 'single' %]
125 <option value="single" selected="selected">S</option>
127 <option value="single">S</option>
129 [% IF s.playmode == 'double' %]
130 <option value="double" selected="selected">D</option>
132 <option value="double">D</option>
135 <select name="difficulty[% pl.player %]-[% s.songnumber %]">
136 <option value=""> </option>
137 [% IF s.difficulty == 'beginner' %]
138 <option value="beginner" selected="selected">B</option>
140 <option value="beginner">B</option>
142 [% IF s.difficulty == 'standard' %]
143 <option value="standard" selected="selected">S</option>
145 <option value="standard">S</option>
147 [% IF s.difficulty == 'difficult' %]
148 <option value="difficult" selected="selected">D</option>
150 <option value="difficult">D</option>
152 [% IF s.difficulty == 'expert' %]
153 <option value="expert" selected="selected">E</option>
155 <option value="expert">E</option>
157 [% IF s.difficulty == 'challenge' %]
158 <option value="challenge" selected="selected">C</option>
160 <option value="challenge">C</option>
166 <select name="song[% pl.player %]-[% s.songnumber %]">
167 <option value=""> </option>
169 [% IF s.song == ss.song %]
170 <option value="[% ss.song %]" selected="selected">[% ss.title %]</option>
172 <option value="[% ss.song %]">[% ss.title %]</option>
179 [% IF p.num_songs > 1 %]
180 <td>[% pl.total %]</td>
182 <td><input type="submit" name="update[% pl.player %]" value="Oppdater" /></td>