summaryrefslogtreecommitdiff
path: root/jfr_playoff/template.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-01-25 18:17:02 +0100
committeremkael <emkael@tlen.pl>2019-01-25 18:17:02 +0100
commit6e090383ea1b561af29e696f3f56950d5c4e9ad5 (patch)
tree9ad0974269f192fd06da9f94d6aabaed093b8fe0 /jfr_playoff/template.py
parent7a654d9a863a6982089bad3c5fc672b3255a20d6 (diff)
Finishing position captions in tooltips
Diffstat (limited to 'jfr_playoff/template.py')
-rw-r--r--jfr_playoff/template.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/jfr_playoff/template.py b/jfr_playoff/template.py
index a33afcc..fdfc107 100644
--- a/jfr_playoff/template.py
+++ b/jfr_playoff/template.py
@@ -107,6 +107,16 @@ class PlayoffTemplateStrings(object):
</table>
'''
+ CAPTIONED_POSITION_BOX = '''
+ <table border="0" cellspacing="0">
+ <tr>
+ <td class="bdc12" width="20">
+ <a onmouseover="Tip('%s')" onmouseout="UnTip()">%d</a>
+ </td>
+ </tr>
+ </table>
+ '''
+
MATCH_BOX = '''
<div style="text-align: center; position: absolute; left: %dpx; top: %dpx" data-id="%d" data-winner="%s" data-loser="%s" data-place-winner="%s" data-place-loser="%s" class="playoff_matchbox">
%s