Added DOCTYPE and title to HTTP configuration status page.
This commit is contained in:
parent
21a7780c39
commit
384cd2071f
1 changed files with 2 additions and 1 deletions
|
|
@ -40,7 +40,8 @@ class HTTPServer:
|
|||
|
||||
@cherrypy.expose
|
||||
def config(self):
|
||||
return '<html><head><meta http-equiv="refresh" content="60"></head><body><pre ' \
|
||||
return '<!DOCTYPE html><html><head><title>[uplink] configuration</title><meta ' + \
|
||||
'http-equiv="refresh" content="60"></head><body><pre ' + \
|
||||
'style="border:2px solid black;background:#1d2021;color:#f0751a;">' + \
|
||||
json.dumps(vars(self.__configuration), sort_keys=True, indent=4) + \
|
||||
'</pre></body></html>'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue