From 095bdc407b83034b9e2e306d64c4cf153b2c9df4 Mon Sep 17 00:00:00 2001 From: Mattias Erming Date: Sat, 21 Jun 2014 22:37:21 +0200 Subject: [PATCH] Added dynamic page title --- README.md | 2 +- client/css/style.css | 1 - client/img/apple-icon-144x144.png | Bin 2474 -> 5338 bytes client/img/favicon.png | Bin 2305 -> 333 bytes client/index.html | 2 +- client/js/chat.js | 1 + lib/models/network.js | 8 +++++--- 7 files changed, 8 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9b238efd..c745e512 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ socket.emit("networks", { networks: [{ id: 0, host: "", - nick: "", + name: "", channels: [], }] }); diff --git a/client/css/style.css b/client/css/style.css index 64d82572..afd337d4 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -130,7 +130,6 @@ button { color: #84d1ff !important; font-size: 15px; font-weight: bold; - text-transform: capitalize; } #sidebar .close { background: no-repeat url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+DQogPGc+DQogIDx0aXRsZT5MYXllciAxPC90aXRsZT4NCiAgPHBhdGggZmlsbD0iI2ZmZmZmZiIgaWQ9InN2Z18xIiBkPSJtMTIuODcyLDEuNTYyYzAuMTk1MDAxLDAuMTk0IDAuMTk1MDAxLDAuNTEzIDAsMC43MDdsLTMuODg5LDMuODkxYy0wLjE5MywwLjE5NCAtMC4xOTMsMC41MTMgMCwwLjcwOGwzLjg4NywzLjg5MmMwLjE5NSwwLjE5NCAwLjE5NSwwLjUxMyAwLDAuNzA3bC0xLjQxNTk5OSwxLjQxM2MtMC4xOTMwMDEsMC4xOTQgLTAuNTEyLDAuMTk0IC0wLjcwNzAwMSwwbC0zLjg4NSwtMy44OTJjLTAuMTk0LC0wLjE5NCAtMC41MTMsLTAuMTk0IC0wLjcwNywwbC0zLjg4OSwzLjg4OWMtMC4xOTQsMC4xOTUgLTAuNTEzLDAuMTk1IC0wLjcwNywwbC0xLjQxNCwtMS40MTU5OTljLTAuMTk0LC0wLjE5MzAwMSAtMC4xOTQsLTAuNTEyIDAsLTAuNzA3MDAxbDMuODksLTMuODg5YzAuMTk0LC0wLjE5NCAwLjE5NCwtMC41MTMgMCwtMC43MDhsLTMuODg3LC0zLjg5MWMtMC4xOTQsLTAuMTk1IC0wLjE5NCwtMC41MTMgMCwtMC43MDdsMS40MTUsLTEuNDE0YzAuMTk0LC0wLjE5NCAwLjUxMywtMC4xOTQgMC43MDcsMGwzLjg4NSwzLjg5MWMwLjE5NCwwLjE5NSAwLjUxMywwLjE5NSAwLjcwNywwLjAwMWwzLjg4OCwtMy44OWMwLjE5NSwtMC4xOTMgMC41MTQsLTAuMTkzIDAuNzA3LDBsMS40MTUsMS40MTV6Ii8+DQogPC9nPg0KPC9zdmc+); diff --git a/client/img/apple-icon-144x144.png b/client/img/apple-icon-144x144.png index 8f15cf224dc97cb9680ab2daba952d122c5d7adb..26ffe3d15f80d2531f0095b49353cd7474508757 100644 GIT binary patch delta 5023 zcmV;Q6JYGB6WS?|Bnkm@Qb$4nuFf3kkxdwXF*ZOkH$gHuK{Gi*G&(~yIz%=+MK?W0 zI6g-?K1e!0NjpGEJ3vZ2K}tPBN<2bKJwr@CL`^_NPC!OZK}JtOM^HjYP(w&jL`hLZ zNm4~hQbkHrM@&>nPFG4$SW8h^Oi@`(QCdt=T2E74PE=e_Rb5b4UQ$+HQdnSCTVhv# zTVq#TWLaHhT3%*dVQ5}rYG7q-VP$P*YH(+3a%XFEXKZq4Y;$UDb!u*PYj1XJaCdHU zd2n@ma&~=mcYSnsesy_&c6xw#e1d#{hJApCe}jmBgNcBHih_lTfrX2NhmC}Yjf;%@tf;E4 zsjIN5tgx%Cva7DLtgW)FuClJMw6C$Xud=nVv$wLex3aakw6?moxV*c)z`VY}z{17C z#KywJ$Hm6T#Ky_R$I8da%gM^j%FE8n%+Afu(azA)&(YJ+(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_s=}GL0V++c=Az%SeR7 zvv&7A5PR)Q!vZ+9t1d=s+c(-xD4eu<-i=9%#bU8oEEbE!VzF3~CzbjS6yY{YqE~qR QyZ`_I07*qoM6N<$g48yB$p8QV diff --git a/client/img/favicon.png b/client/img/favicon.png index 5c7533e9e2148a1ce857b8551f40b856070d20a0..31325a2e77d71e33ce74dba9d664bd6223773b24 100644 GIT binary patch literal 333 zcmV-T0kZyyP)D3oomg%u!%f0KiBU=T11Nuh!DcWj8DxM>xe=91yPZEG99eF|s0FaE)c0 fgk^<$@MnDkTxTv)Amet@00000NkvXXu0mjf09%RJ literal 2305 zcmV+c3I6tpP)004R> z004l5008;`004mK004C`008P>0026e000+ooVrmw00004XF*Lt006O$eEU(800001 zb5ch_0Itp)=>Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01m_e01m_fl`9S#000PB zNklA9nkGBdkc?fk5*b$wuTSFEzrm>ABn|6fl}ZlhU}Mg#7LV6 zot~#7iHK(lO@+T@Mn-1uIRLgixxHNx_!csDfPM{CxpamB9!y^ux^Pbbur=Ddjgs0De&B})6Kafc5n;%?Ny#XE)kR0}j=TiIGwIYopC=3G?0hQBo12!+vM5kf1q2aG zLBW|uzS=^^CJIFw0t*4McBwyOd5xh$u%mnt=JO2K82IrG`q@|20y?^TVgT?*`nYSA zFjFrn%2-ZEtWL>K&(-AMa77E)8tr)r8JxOfCb=j%daZtjI7;J1Rw!Oz0p+*#0)Xu9 z6&lI`=!o|2rZ3;GGdWJs6eO8ocbU%b zmVA`SB<5AKU(@jS8kL`2oHgCImuC?f4g=#8z>q$(ZvkPJ;GQU{q%aGkF>RwWTWr6LARuUrIbk zgI8@tad0K&w4MB_Hbc| zB`e8Pc5c7f{3(GsxmwlbkfvfT$t|g3^D#T0=rayHVLKI*6UmJ`57}bnd(~|eE!Qik zob^j}8G>mDyK)`I4yRIyTtznge%*+{UCZ*#Og_d9@-rizTlk^*i)z^%0k*?Th*~(< z=U}htF;YudwAyab&fZ*__8Z5*L z5QxoOfatPH5R`VD-=jR*L|YdI-Ko0CzI%DeYzrE=1xPuK*Ow5}oQYUsf0R-wdgpG6jC^4FF^oAJ%(z z)iJjqe*MPnh_C9~-e+}Y$C?4t%WSJma|D*N#!4PpB@9{sP?TcCXPcg{m%Ct*2W?=_ ztCYwjnJE{b?C5-FwAX@?ywG%0*qVc|w>qBa`4u31M>$1~5S-zHO_vlsI%mt?U* z(*2?|9zi!zfT8A~&e(2Uiok2!=;REu zwIhxu0vKQK0IhA7x=w*4H=gow1Ls0DS-_)@|6+?R&Cba#5nn74norx?MU9gRVok*p zhvEU7>kP}ZpDz{(i5!vB$p*E6n(`0;IAn`nUs`K{Lh)Ta=HG(=baro-Yn)rGDez*K zco_g$QW8NPb;`nPKtdH#T)UgRVLOwX&jtI-szJGhgfhBgjRpdUmDdrB+23uA2Jq=p z*>&QxNdQZql^L6p z4H{(X>=e}&r}RQ&#o`Umj3)aNo&XR4!yLWs?IA_C({R!pfeg+$w`9HxkdITWevw{! zKl5j|N{*|_@5@SLr%&0iu46_C6n^KicnaOjPM%ol%WO8YaO=io`sR(v&$QN#6D7Vd zMqtQL*XG_!*uM1TfkDpz%+6+t8z0)dyS%n`RKbL_*0z6Svs0@^nME+BMhJ{k;nubR zVmz7qKjKjPqhqPTGZmX8Zr(rqP#cj8Jnh9E1>={<3X)FlxtX0BCm=q2u(j>QO_gb zB}$I|Lt|e4%M5+pyrStN?y02^x+C4BdOcYGzoI}>RDg(5<+GK5iGo~)C(~amvwvUi b3uFHSJ>)N8(-45k00000NkvXXu0mjfB%?_) diff --git a/client/index.html b/client/index.html index b9ebb3aa..1bb822c0 100644 --- a/client/index.html +++ b/client/index.html @@ -69,7 +69,7 @@