diff options
author | emkael <emkael@tlen.pl> | 2018-07-06 03:26:26 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-07-06 03:26:26 +0200 |
commit | 31fb6dfb977fca26cf4eeb539b9f4d83f42b6a40 (patch) | |
tree | 3900304822088941f0eec76d5437cfd2152c8295 /jfr_playoff/template.py | |
parent | 780c61d23789d80351476977f25699b2b5ec4c5d (diff) |
Rendering finishing boxes with connector data
Diffstat (limited to 'jfr_playoff/template.py')
-rw-r--r-- | jfr_playoff/template.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/jfr_playoff/template.py b/jfr_playoff/template.py index 881e1b5..267c5f7 100644 --- a/jfr_playoff/template.py +++ b/jfr_playoff/template.py @@ -52,6 +52,7 @@ class PlayoffTemplateStrings(object): <canvas width="%d" height="%d" id="playoff_canvas" %s></canvas> %s %s + %s <script src="sklady/playoff.js" type="text/javascript"></script> </div> ''' @@ -84,6 +85,12 @@ class PlayoffTemplateStrings(object): </div> ''' + 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"> + %s + </div> + ''' + POSITION_BOX = ''' <table border="0" cellspacing="0"> <tr> |