X-Git-Url: https://git.sesse.net/?p=ccbs;a=blobdiff_plain;f=html%2Ftemplates%2Fsongs.tmpl;fp=html%2Ftemplates%2Fsongs.tmpl;h=2d3c0b2777561294915f9fe23d0117e0f4f84195;hp=0000000000000000000000000000000000000000;hb=f88be085c6574ea9a39a05d19b4448180dee13b2;hpb=576539ce9dfb2a74bc786d86e0f5c9131f2a452f diff --git a/html/templates/songs.tmpl b/html/templates/songs.tmpl new file mode 100644 index 0000000..2d3c0b2 --- /dev/null +++ b/html/templates/songs.tmpl @@ -0,0 +1,39 @@ +[%# vim:set filetype=html: %] + +[% SET last_machine = '' %] + +[% FOR s = songs %] +[% IF s.machinename != last_machine %] +[% IF last_machine != '' %] + + +[% END %] + +[% SET last_machine = s.machinename %] +

[% s.machinename %]

+ +
+ + + + + + + + +[% END %] + + + + + + +[% IF s.high_score == '' %] + +[% ELSE %] + +[% END %] + +[% END %] +
Song nameArtistAverageStd. devHigh score
[% s.title %][% s.artist %][% s.avg_score %][% s.stddev_score %][% s.high_score %] by [% s.high_score_nick %]
+