From fd28ca936707d75dbbaafadb5b3c4958dda905ec Mon Sep 17 00:00:00 2001 From: emkael Date: Sun, 6 Jan 2019 20:52:34 +0100 Subject: Leaderboard classes in finishing positions boxes --- jfr_playoff/generator.py | 1 + jfr_playoff/template.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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 = ''' -
+
%s
''' -- cgit v1.2.3