[minor] add stylesheet to html header

This commit is contained in:
Marcel Paffrath 2022-11-16 11:24:48 +01:00
parent 8e42ac11c7
commit 2c1e923920

View File

@ -10,6 +10,9 @@ def write_html_text(fobj, text):
def write_html_header(fobj, refresh_rate=10):
header = ['<!DOCTYPE html>',
'<html>',
'<head>',
'<link rel="stylesheet" href="stylesheet.css">',
'</head>',
f'<meta http-equiv="refresh" content="{refresh_rate}" >',
'<meta charset="utf-8">',
'<body>']