diff options
author | emkael <emkael@tlen.pl> | 2018-10-02 12:43:11 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-10-02 12:44:30 +0200 |
commit | 6119175f65c6bc12771a968cd72e6c8179848f78 (patch) | |
tree | 29203d0f6689798ce3e458f111af020f02de483f /jfr_playoff/template.py | |
parent | 62fe5244beb1a859b86aae86d784a86b30d86ca9 (diff) |
Templates and strings for new team label rendering method
Diffstat (limited to 'jfr_playoff/template.py')
-rw-r--r-- | jfr_playoff/template.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/jfr_playoff/template.py b/jfr_playoff/template.py index 70c179b..5845498 100644 --- a/jfr_playoff/template.py +++ b/jfr_playoff/template.py @@ -24,6 +24,14 @@ class PlayoffTemplateStrings(object): %.1f ''' + MATCH_TEAM_LABEL = '<span class="team-label">%s</span>' + + MATCH_PREDICTED_TEAM_LABEL = '<span class="team-predicted-label">%s</span>' + + MATCH_TEAM_LIST_HEADER = '{{DETERMINED_TEAMS}}' + + MATCH_POSSIBLE_TEAM_LIST_HEADER = '{{POSSIBLE_TEAMS}}' + MATCH_TEAM_LINK = ''' <a href="%s" onmouseover="Tip('%s')" onmouseout="UnTip()">%s</a> ''' |