diff options
-rw-r--r-- | webchat/hello_web.js | 9 | ||||
-rw-r--r-- | webchat/public/reset.css | 9 |
2 files changed, 15 insertions, 3 deletions
diff --git a/webchat/hello_web.js b/webchat/hello_web.js index 4d420268..da30f357 100644 --- a/webchat/hello_web.js +++ b/webchat/hello_web.js @@ -17,7 +17,7 @@ var irc_reconnect = function() { //reconnt to irc irc_client.connect(); } -var pingTimeoutDelay = 5*60*1000 +var pingTimeoutDelay = 3*60*1000 var lastping = setTimeout(irc_reconnect, pingTimeoutDelay) var irc_client = new irc.Client('irc.freenode.net', 'kweb', { //create irc_client to talk to irc @@ -105,8 +105,11 @@ var app = connect() page_template+='<div id="space"></div>'; page_template+='hello, this is the official krebs support:<br>\n'; page_template+='<table id="chatbox"><tr id="foot"><td id="time"></td><td id="nick" class="chat_from"></td><td><input type="text" id="input"></td></tr></table>\n'; - page_template+='<div id="sideboard"><table id="links"></table></div>'; - page_template+='</div></div>'; + page_template+='</div>'; + page_template+='<div id="sideboard"><div id="links">'; + page_template+='<a href="http://ire:1027/">Retiolum Dashboard</a><br>'; + page_template+='<a href="http://pigstarter/">Pigstarter network graphs</a><br>'; + page_template+='</div></div></div>'; res.end(page_template); }) diff --git a/webchat/public/reset.css b/webchat/public/reset.css index 3f9ecbb9..c99fc307 100644 --- a/webchat/public/reset.css +++ b/webchat/public/reset.css @@ -102,4 +102,13 @@ a { } #time { color: #00FF00; +} +#sideboard { + position: absolute; + top: 0; + right: 0; + height: 100%; + width: 24%; + background-color: black; + opacity: 0.8; }
\ No newline at end of file |