Added apple-icon, logo and favicon

This commit is contained in:
Mattias Erming 2014-09-14 10:50:00 -07:00
parent 0c6c54bc83
commit b0c99ac6c4
6 changed files with 51 additions and 4 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1 KiB

After

Width:  |  Height:  |  Size: 16 KiB

BIN
client/img/logo-64.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View file

@ -12,7 +12,8 @@
<link rel="stylesheet" href="css/style.css">
<link id="theme" rel="stylesheet" href="<%=theme%>">
<link rel="shortcut icon" href="/img/logo-32.png">
<link rel="shortcut icon" href="/img/favicon.png">
<link href="/img/apple-touch-icon-120x120.png" rel="apple-touch-icon" sizes="120x120">
</head>
<body class="<%= public ? "public" : "" %>">

View file

@ -422,7 +422,7 @@ $(function() {
if (Notification.permission === "granted") {
var n = new Notification(msg.from + " says:", {
body: msg.text.trim(),
icon: ""
icon: "/img/logo-64.png"
} );
n.onclick = function() {
window.focus();

View file

@ -1,8 +1,54 @@
module.exports = {
//
// Set the server mode.
// Public servers does not require authentication.
//
// Set to 'false' to enable users.
//
// @type boolean
// @default false
//
public: true,
//
// Allow connections from this host.
//
// @type string
// @default "0.0.0.0"
//
host: "0.0.0.0",
port: 9090,
//
// Set the port to listen on.
//
// @type int
// @default 9000
//
port: 9000,
//
// Set the default theme.
//
// @type string
// @default "themes/example.css"
//
theme: "themes/example.css",
//
// Override home directory.
// Leaving this field empty will default to '~/.shout/'.
//
// @type string
// @default ""
//
home: "",
debug: true
//
// Enable debug mode.
// This is only useful for development.
//
// @type string
// @default false
//
debug: false
};