def make_html(url, time):
    """
    Return browser readable html that loads url in an iframe and refreshes after time seconds
    """
    html = f"""
    <!doctype html>
    <html>
        <head>
            <title>Kiosk</title>
            <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
            <meta http-equiv="refresh" content={time}>
        </head>
        <body style="margin:0px;padding:0px;overflow:hidden">
            <iframe src= {url} frameborder="0" style="overflow:hidden;overflow-x:hidden;overflow-y:hidden;height:100%;width:100%;position:absolute;top:0px;left:0px;right:0px;bottom:0px" height="100%" width="100%"></iframe>
        </body>
    </html>
    """
    return html