summaryrefslogtreecommitdiff
path: root/jfr_playoff/template.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-11-16 21:02:49 +0100
committeremkael <emkael@tlen.pl>2019-11-16 21:02:49 +0100
commit5f921de946c57235b28df8051a552928369e59e5 (patch)
treeed48266d19cbfbfc57f7880fecd166a0c8687346 /jfr_playoff/template.py
parentc86e17bd9464c53e1e09663443a5e1b228cf96ef (diff)
Favicon support
Diffstat (limited to 'jfr_playoff/template.py')
-rw-r--r--jfr_playoff/template.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/jfr_playoff/template.py b/jfr_playoff/template.py
index a76ebcd..936a051 100644
--- a/jfr_playoff/template.py
+++ b/jfr_playoff/template.py
@@ -176,6 +176,7 @@ class PlayoffTemplateStrings(object):
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="Generator" content="PlayOff" />
%s
+ %s
<title>%s</title>
<link rel="stylesheet" type="text/css" href="css/kolorki.css" />
<link rel="stylesheet" type="text/css" href="css/playoff.css" />
@@ -186,6 +187,10 @@ class PlayoffTemplateStrings(object):
<meta http-equiv="Refresh" content="%d" />
'''
+ PAGE_HEAD_FAVICON = '''
+ <link rel="shortcut icon" href="%s">
+ '''
+
PAGE_BODY = '''
<script type="text/javascript" src="sklady/wz_tooltip.js"></script>
%s