summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@nomic.retiolum>2013-11-07 14:13:37 +0100
committertv <tv@nomic.retiolum>2013-11-07 14:13:37 +0100
commitfd19f24133035949ab184d2a0e34c7a6de3ce2f3 (patch)
tree25e2b844bb02821fb33035ca1a40d20ad5fc65c0
parente70919d5dc67d4ab52f16875333f007ced357a72 (diff)
parentd1b14200af459696d45b661fa71b4f17e7793979 (diff)
Merge branch 'master' of https://github.com/krebscode/painload
-rw-r--r--webchat/hello_web.js9
-rw-r--r--webchat/public/reset.css9
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