Web Interface: fix doc type
This commit is contained in:
parent
dd7d282c65
commit
5a5c3d72f0
|
@ -146,7 +146,10 @@ class BServer:
|
|||
"""
|
||||
|
||||
def args2html(self, name, box, action=""):
|
||||
result = ["""<html><head><title>Boxes - """, name, """</title>
|
||||
result = ["""<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Boxes - """, name, """</title>
|
||||
<link rel="stylesheet" href="https://necolas.github.io/normalize.css/4.1.1/normalize.css" type="text/css" />
|
||||
<link rel="stylesheet" href="static/self.css" type="text/css" />
|
||||
""", self.scripts % (len(box.argparser._action_groups)-3), """
|
||||
|
@ -221,8 +224,10 @@ class BServer:
|
|||
|
||||
def menu(self):
|
||||
|
||||
result = ["""<html>
|
||||
<head><title>Boxes.py</title>
|
||||
result = ["""<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Boxes.py</title>
|
||||
<link rel="stylesheet" href="https://necolas.github.io/normalize.css/4.1.1/normalize.css" type="text/css" />
|
||||
<link rel="stylesheet" href="static/self.css" type="text/css" />
|
||||
<script>
|
||||
|
|
Loading…
Reference in New Issue