From 9cbb93099faebd80cc44d68c818fb9e4e985950e Mon Sep 17 00:00:00 2001
From: lassulus <lassulus@googlemail.com>
Date: Thu, 7 Nov 2013 14:10:04 +0100
Subject: webchat: now with links

---
 webchat/hello_web.js     | 7 +++++--
 webchat/public/reset.css | 9 +++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

(limited to 'webchat')

diff --git a/webchat/hello_web.js b/webchat/hello_web.js
index 9bcb70d0..da30f357 100644
--- a/webchat/hello_web.js
+++ b/webchat/hello_web.js
@@ -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
-- 
cgit v1.2.3