diff options
author | lassulus <lassulus@googlemail.com> | 2013-11-07 14:10:04 +0100 |
---|---|---|
committer | lassulus <lassulus@googlemail.com> | 2013-11-07 14:10:04 +0100 |
commit | 9cbb93099faebd80cc44d68c818fb9e4e985950e (patch) | |
tree | e2d00803338a2c54e9fab24dfcd42550593ec15c | |
parent | a60cc6eb1b4007f67fe67c1b2865c73e2c8e45db (diff) |
webchat: now with links
-rw-r--r-- | webchat/hello_web.js | 7 | ||||
-rw-r--r-- | webchat/public/reset.css | 9 |
2 files changed, 14 insertions, 2 deletions
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 |