From b0c99ac6c4b11b1a680e888dcde36b3ae48b87ab Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Sun, 14 Sep 2014 10:50:00 -0700 Subject: [PATCH] Added apple-icon, logo and favicon --- client/img/apple-touch-icon-120x120.png | Bin 0 -> 1852 bytes client/img/favicon.png | Bin 1033 -> 16163 bytes client/img/logo-64.png | Bin 0 -> 1498 bytes client/index.html | 3 +- client/js/shout.js | 2 +- config.js | 50 +++++++++++++++++++++++- 6 files changed, 51 insertions(+), 4 deletions(-) create mode 100644 client/img/apple-touch-icon-120x120.png create mode 100644 client/img/logo-64.png diff --git a/client/img/apple-touch-icon-120x120.png b/client/img/apple-touch-icon-120x120.png new file mode 100644 index 0000000000000000000000000000000000000000..78e4c3484a194b829b980910f3759e52891f575a GIT binary patch literal 1852 zcmds%`8ONr8pop@?%;B-R!yhvnYwB^ZKsEJP@~nlR7R||1VKtdM1&+lc4BLZB?&>q z7TQpiHaIFlwbD^(qNt^{wM>H;`xd0_DW`MO`@{Vs?sGoR_xrxjZ|^zp_sRA3aWgVF zW&i*HjNC!4{#vJe?Qaii)wokWqcxo*e>WFE)8L6^?d6*oXK!Z!prycYAFc}k90d4! zfq_6j#BcsuqTT$FZeS!R00{!exPwt1L0V!xgVA1JiSvS>y&-YlA@M$;m>XeO-!P1C z7|suh@q=Q0p}2r>od3-P|8P7wJOLb$2!RxjY`tOh$Upl5*YEsEDT9YHkQml6LR8+xpAc2 zcyb<&!oX2;FqAwjB_Bs);%KY{Dg#f;Nzfi>Y^2}Vp3)a zIg?AtETLp_skeBv+q{&lB6?PFYIaE)gG;+zmYh|dl3h+`RM2xO({igaa!S+l_!;@t zx0q$OS>@TR3I@9}r?4uIQ=MO2!z`|0aqqHA1%+jGMdkO3E9#0X@0C>4bF1$2_zh(> z!pgg%N`a`hp|w^hzAutAG`0(y+8dfXL@k|-kDfG%pEgUnTH2(o?cI{c&m~WucXY`f zcfFAIynNQv_j^x&kNj1SV(`VwVMX6?@4(2w(AdE6*zoJg;nBBm#-~Onv`kODQ%+7P z-%iiGo1T5IR4HfwoS9pgRV~iVFU~J4FD|bwt*kGvY^I3$4#PmBg6 zz+5ijO%!~5>N?Ddn{k;RV{H*Fiiqo}opE|i-IuViuZ`pbaS1bnFj>bK>#4SaQ z5mPU2@osb@*1Sgd=ar#_vvSA@&<78^r4)D)cH%JpM;)}4LEP-1a5rG}JTuZf$zC#W zoGR*eJT_vmdY1SefbnrLw(lxO%THbD_x$4M>N)4U`lgUS|07*Av0;JszD^h&xP1q#?nnPJX3m17zxzOf z5yeu&v{N;%vB?uHmqWutS-UlhXE2+RIUY9#2OHHWEWuw?llD%ICCk(pU~-KYefjP(60;($OnDY{Z-{b-L3vSwP#<`ouKFTIzBSkLeK*0w-i{C4giZ|~TZ5r#ZD|2q0rq$_gqVVKKCIL&pJhSQu3A!ZC<`o_QlC+f zIk`WP<@ty3uRCpx#05I{{7;R&ZgqdlIWWbm>ukEy#^38`HYmXE&--z|@g2K;<>WV4KK+`8NgX~C)F-W0zE=l-qo9A#Kk&cUO#W5gud#ON W&`U?Eil2R5S?)j|*CrQO=6?Xm6F-~) literal 0 HcmV?d00001 diff --git a/client/img/favicon.png b/client/img/favicon.png index 6ad9151dbc1a85b3ad6d03c6b1d8f800a104d9a5..3dca950b94de227fd28b625e56b3af62dd0c135c 100644 GIT binary patch literal 16163 zcmeI3c~lek7RLv0L9C@(H>A}Vw1PF6?8^v|)d$s31U!H%lUc|V$b=-2fIfpb%_z!;rkh9Hmqj*rKc z9UhFPZl)5GEy>#H2u5cLQJmHhLR+ShnGHd~Q*1^QOD8Nm9g#*ELijB;wR|3hhwzi+ zT9MWmLFlRIJQIX2cf4cg97SbH^~u=Q*cX z(nI)Rj)c5qZ5%IxHW56zP%gkk5;0Gy7K-I^rBX79ClQHdut*Gxr2?@Uk;xE|h}VAb zH9pK)un8xT_{gd4=@=`7ueVr?2n<`TR-siYq)lnCSglsWA_**!2$&fHbFRUH+5`r3 zfGbExoJhiqnJA-$q76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|b{`P!0YGPMt_$?zic0JpRkgur$6$Bw?}eqv^S@pa zJC^?9-3P?@c4v2P;Vv(U2RCryh`=fUs|fj2V{XLn>=LWd5kiSvV)ULZJe-i_KURtR z#L?RiJPN=n00#ncQMoh`!c7%!h1esrqkT8zIBmmpU z({k{^5D{0@wDKtxc6qUt`@qQ6Jy-@Lh`4$6X1ho${^^BDK#|Uc9jr2VM33bB&#Q5v zC!xdv(m!KWz$760yQe6HnwkVP;I#G!S!){BJrEPfiOBI7MG_e!NK@=({)q_SP@CMh z<`zkCj5M?z9&N&$pa2ewD~M!*G*3e0!Eq6}zZ||aHa0Q6`RXlaL}5hUa~vlwfFmQ% zX!o}Dghy}>owzYGIXye_-SzH)5sY+hsV%CTq3L`d1Vfc*CBX3?35XSB0-Kwukounr zU`G;=Y9s-vMiP)}Bmt>L5|C;n0jcIA7a-I83pL8VbV(h&y8r+H07*qoM6N<$f~FCq A7ytkO literal 0 HcmV?d00001 diff --git a/client/index.html b/client/index.html index 69e5952a..ab1f9b29 100644 --- a/client/index.html +++ b/client/index.html @@ -12,7 +12,8 @@ - + + "> diff --git a/client/js/shout.js b/client/js/shout.js index d8608442..f7e18847 100644 --- a/client/js/shout.js +++ b/client/js/shout.js @@ -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(); diff --git a/config.js b/config.js index a0384834..85142c7e 100644 --- a/config.js +++ b/config.js @@ -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 };