]> git.sesse.net Git - ccbs/commitdiff
Fiddled around with the table layout.
authorSteinar H. Gunderson <sesse@samfundet.no>
Wed, 16 Feb 2005 14:39:55 +0000 (14:39 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Wed, 16 Feb 2005 14:39:55 +0000 (14:39 +0000)
html/templates/show-tournament.tmpl

index decfe5ed8e2e60362029170af157aa2c67e7d7f5..c2cbfa0efdebc7e61280d4d4c6af86825a3914c4 100644 (file)
@@ -93,9 +93,9 @@
     [% END %]
     [% FOR s = p.songs %]
       [% IF s == '' %]
-      <th colspan="2">Selvvalgt</th>
+      <th colspan="4">Selvvalgt</th>
       [% ELSE %]
-      <th>[% s %]</th>
+      <th colspan="3">[% s %]</th>
       [% END %]
     [% END %]
     [% IF p.num_songs > 1 %]
       </th>
         [% FOR s = pl.songs %]
       <td>[% s.score %]</td>
+      <td>[% s.playmode %]</td>
+      <td>[% s.difficulty %]</td>
           [% IF s.chosen %]
       <td>[% s.title %]</td>
           [% END %]
     <tr>
       <th>[% pl.nick %]</th>
         [% FOR s = pl.songs %]
-      <td class="nowrap">
+      <td>
         <input type="hidden" name="old-score[% pl.player %]-[% s.songnumber %]" value="[% s.score %]" />
-        <input type="hidden" name="old-playmode[% pl.player %]-[% s.songnumber %]" value="[% s.playmode %]" />
-        <input type="hidden" name="old-difficulty[% pl.player %]-[% s.songnumber %]" value="[% s.difficulty %]" />
         <input name="score[% pl.player %]-[% s.songnumber %]" value="[% s.score %]" size="5" />
+      </td>
+      <td>
+        <input type="hidden" name="old-playmode[% pl.player %]-[% s.songnumber %]" value="[% s.playmode %]" />
        <select name="playmode[% pl.player %]-[% s.songnumber %]">
          <option value=""> </option>
          [% IF s.playmode == 'single' %]
          <option value="double">D</option>
         [% END %]
        </select>
+      </td>
+      <td>
+        <input type="hidden" name="old-difficulty[% pl.player %]-[% s.songnumber %]" value="[% s.difficulty %]" />
        <select name="difficulty[% pl.player %]-[% s.songnumber %]">
          <option value=""> </option>
          [% IF s.difficulty == 'beginner' %]