Switched to using png for favicon and display logo in notifications.

This commit is contained in:
Joe Roberts 2016-09-07 19:16:26 +01:00 committed by Griatch
parent 067a731ace
commit 57ea70cb82
2 changed files with 3 additions and 2 deletions

View file

@ -278,7 +278,8 @@ function onNewLine(text, originator) {
if(result === "granted") {
var title = originalTitle === "" ? "Evennia" : originalTitle;
var options = {
body: text.replace(/(<([^>]+)>)/ig,"")
body: text.replace(/(<([^>]+)>)/ig,""),
icon: "/static/website/images/evennia_logo.png"
}
var n = new Notification(title, options);
n.onclick = function(e) {

View file

@ -16,7 +16,7 @@ JQuery available.
<link rel='stylesheet' type="text/css" media="screen" href={% static "webclient/css/webclient.css" %}>
<link rel="icon" type="image/x-icon" href="/static/website/images/favicon.ico" />
<link rel="icon" type="image/x-icon" href="/static/website/images/evennia_logo.png" />
<!-- Import JQuery and warn if there is a problem -->
{% block jquery_import %}