[minor] add stylesheet to html header
This commit is contained in:
parent
8e42ac11c7
commit
2c1e923920
@ -10,6 +10,9 @@ def write_html_text(fobj, text):
|
|||||||
def write_html_header(fobj, refresh_rate=10):
|
def write_html_header(fobj, refresh_rate=10):
|
||||||
header = ['<!DOCTYPE html>',
|
header = ['<!DOCTYPE html>',
|
||||||
'<html>',
|
'<html>',
|
||||||
|
'<head>',
|
||||||
|
'<link rel="stylesheet" href="stylesheet.css">',
|
||||||
|
'</head>',
|
||||||
f'<meta http-equiv="refresh" content="{refresh_rate}" >',
|
f'<meta http-equiv="refresh" content="{refresh_rate}" >',
|
||||||
'<meta charset="utf-8">',
|
'<meta charset="utf-8">',
|
||||||
'<body>']
|
'<body>']
|
||||||
|
Loading…
Reference in New Issue
Block a user