Sidebar close button for small screens

This commit is contained in:
shortcutme 2017-07-29 13:44:54 +02:00
parent 467cd480cf
commit 527c2b4f54
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
4 changed files with 21 additions and 2 deletions

View file

@ -440,6 +440,7 @@ class UiWebsocketPlugin(object):
body = []
body.append("<div>")
body.append("<a href='#Close' class='close'>&times;</a>")
body.append("<h1>%s</h1>" % cgi.escape(site.content_manager.contents.get("content.json", {}).get("title", ""), True))
body.append("<div class='globe loading'></div>")