Add stylesheet

This commit is contained in:
Ian Gulliver
2016-05-05 00:36:22 +00:00
parent 6f0b747283
commit 29c310ba7b
3 changed files with 2 additions and 0 deletions

View File

@@ -137,6 +137,7 @@ class INotifyHandler(pyinotify.ProcessEvent):
class HTTPRequestHandler(object): class HTTPRequestHandler(object):
_MIME_TYPES = { _MIME_TYPES = {
'.css': 'text/css',
'.html': 'text/html', '.html': 'text/html',
'.iso': 'application/octet-stream', '.iso': 'application/octet-stream',
'.js': 'application/javascript', '.js': 'application/javascript',

View File

View File

@@ -1,6 +1,7 @@
<html> <html>
<head> <head>
<script src="/static/control.js"></script> <script src="/static/control.js"></script>
<link rel="stylesheet" type="text/css" href="/static/control.css">
</head> </head>
<body> <body>
</body> </body>