Web Interface: fix doc type

This commit is contained in:
Florian Festi 2018-03-05 19:48:09 +01:00
parent dd7d282c65
commit 5a5c3d72f0
1 changed files with 8 additions and 3 deletions

View File

@ -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>