summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jfr_playoff/generator.py1
-rw-r--r--jfr_playoff/template.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/jfr_playoff/generator.py b/jfr_playoff/generator.py
index a620a1b..8bdb2d8 100644
--- a/jfr_playoff/generator.py
+++ b/jfr_playoff/generator.py
@@ -272,6 +272,7 @@ class PlayoffGenerator(object):
boxes += self.p_temp.get(
'FINISHING_POSITION_BOX',
self.page['margin'] / 2 + int(float(order) / float(len(positions)) * dimensions[1]),
+ self.get_leaderboard_row_class(place),
place,
' '.join([str(p) for p in position_info[place]['winner']]),
' '.join([str(p) for p in position_info[place]['loser']]),
diff --git a/jfr_playoff/template.py b/jfr_playoff/template.py
index dc9e91e..a33afcc 100644
--- a/jfr_playoff/template.py
+++ b/jfr_playoff/template.py
@@ -94,7 +94,7 @@ class PlayoffTemplateStrings(object):
'''
FINISHING_POSITION_BOX = '''
- <div style="position: absolute; right: 0px; top: %dpx" class="playoff_matchbox" data-id="finish-%d" data-finish-winner="%s" data-finish-loser="%s">
+ <div style="position: absolute; right: 0px; top: %dpx" class="playoff_matchbox %s" data-id="finish-%d" data-finish-winner="%s" data-finish-loser="%s">
%s
</div>
'''