diff options
author | emkael <emkael@tlen.pl> | 2018-07-06 03:22:38 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-07-06 03:22:38 +0200 |
commit | f883784164de0a72ce61e8b225435de337ead2ed (patch) | |
tree | 89e20f53c27f53db478b8c1e46c2da1c0328e3be /jfr_playoff/template.py | |
parent | ac0733c36b6200aecb2c738a549d00d7c2e6be98 (diff) |
Rendering position box independent from starting/finishing role
Diffstat (limited to 'jfr_playoff/template.py')
-rw-r--r-- | jfr_playoff/template.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/jfr_playoff/template.py b/jfr_playoff/template.py index 7b91b3b..881e1b5 100644 --- a/jfr_playoff/template.py +++ b/jfr_playoff/template.py @@ -80,15 +80,16 @@ class PlayoffTemplateStrings(object): STARTING_POSITION_BOX = ''' <div style="position: absolute; left: %dpx; top: %dpx" class="playoff_matchbox" data-id="place-%d"> + %s + </div> + ''' + + POSITION_BOX = ''' <table border="0" cellspacing="0"> <tr> - <td class="bdcc1" style="opacity: 0"> </td> - </tr> - <tr> <td class="bdc12" width="20">%d</td> </tr> </table> - </div> ''' MATCH_BOX = ''' |