X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=html%2Ftemplates%2Fplayer.tmpl;fp=html%2Ftemplates%2Fplayer.tmpl;h=0e52434878f8ae1ccb64d6b581627d6263f58520;hp=0000000000000000000000000000000000000000;hb=4a2f33b86e70f2270906265751131161ba114f36;hpb=06646037fce27cd24b2976024bc577049c0a5d45
diff --git a/html/templates/player.tmpl b/html/templates/player.tmpl
new file mode 100644
index 0000000..0e52434
--- /dev/null
+++ b/html/templates/player.tmpl
@@ -0,0 +1,58 @@
+[%# vim:set filetype=html: %]
+
Generelle fakta
+
+
+
+ - Nick: [% player.nick %]
+ - Land: [% player.countryname %]
+[% IF player.clubname != '' %]
+ - Klubb: [% player.clubname %]
+[% END %]
+
+
+
+ Beste sanger
+
+
+
+
+ |
+ Sang |
+ Poengsum |
+ Arrangement |
+
+
+[% SET rowno = 1 %]
+[% FOR s = bestsongs %]
+
+ [% rowno %] |
+[% SET rowno = rowno + 1 %]
+ [% s.title %] |
+ [% s.score %] |
+ [% s.tournamentname %] |
+
+[% END %]
+
+
+
+
+
Alle sanger
+
+
+[% FOR s = allsongs %]
+
+ [% s.title %] |
+[% SET col = 0 %]
+[% FOR score = s.scores %]
+ [% score %] |
+[% SET col = col + 1 %]
+[% END %]
+[% WHILE col != columns %]
+ |
+[% SET col = col + 1 %]
+[% WEND %]
+[% END %]
+
+[% END %]
+
+