Monospace font when displaying errors
This commit is contained in:
parent
0598bcf332
commit
9dd5c88da4
1 changed files with 3 additions and 0 deletions
|
@ -872,6 +872,9 @@ class UiRequest(object):
|
|||
""" % (title, html.escape(message), html.escape(json.dumps(details, indent=4, sort_keys=True)))
|
||||
else:
|
||||
return """
|
||||
<style>
|
||||
* { font-family: Consolas, Monospace; color: #333; font-size: 100%%; }
|
||||
</style>
|
||||
<h1>%s</h1>
|
||||
<h2>%s</h3>
|
||||
""" % (title, html.escape(message))
|
||||
|
|
Loading…
Reference in a new issue