]> iEval git - plack-app-gruntmaster.git/commitdiff
Add webchat link to sidebar
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 6 Feb 2015 15:14:24 +0000 (17:14 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 6 Feb 2015 15:14:24 +0000 (17:14 +0200)
js/90-webchat-link.js [new file with mode: 0644]
tmpl/skel.en

diff --git a/js/90-webchat-link.js b/js/90-webchat-link.js
new file mode 100644 (file)
index 0000000..77d8fb4
--- /dev/null
@@ -0,0 +1,7 @@
+(function(){
+       'use strict';
+
+       $( document ).ready(function() {
+               $('#webchat').prependTo('#sidebar');
+       });
+})();
index 00e498175acceb366bb41b595ac20d048801bb4e..0fc3aa4fa3c99edd1ab00f1cbed936ff26913974 100644 (file)
@@ -37,6 +37,7 @@
 <div id="content">Content goes here</div>
 
 <div id="login" class="hidden"><a href="/login">Log in</a></div>
+<div id="webchat"><a href="http://webchat.oftc.net/?channels=%23mindcoding" target="_blank">Webchat</a></div>
 
 <div id="tracker" class="hidden">
 <h1>Track user</h1>
This page took 0.022857 seconds and 4 git commands to generate.