aboutsummaryrefslogtreecommitdiffstats
path: root/termcast_server
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-10-16 17:02:32 -0400
committerJesse Luehrs <doy@tozt.net>2014-10-16 17:02:32 -0400
commitb643cace7a120dbd2cd724a46cfcf8a6d4d9910c (patch)
treedf2c6372df65b33056a6f9cc437762451aa34a4e /termcast_server
parent2e11d74f25235363dd401f4f505a9bb3dfac0c6f (diff)
downloadpython-termcast-server-b643cace7a120dbd2cd724a46cfcf8a6d4d9910c.tar.gz
python-termcast-server-b643cace7a120dbd2cd724a46cfcf8a6d4d9910c.zip
make the output look a bit better
Diffstat (limited to 'termcast_server')
-rw-r--r--termcast_server/index.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/termcast_server/index.html b/termcast_server/index.html
index 7e37c06..c79d5fe 100644
--- a/termcast_server/index.html
+++ b/termcast_server/index.html
@@ -13,6 +13,7 @@
.term table {
border-collapse: collapse;
+ background-color: black;
}
.term td {
@@ -70,7 +71,7 @@ socket.onmessage = function (e) {
term += '"';
}
term += '>';
- if (cell.contents == " ") {
+ if (cell.contents == " " || cell.contents == "") {
term += "&nbsp;";
}
else {
@@ -98,7 +99,7 @@ socket.onmessage = function (e) {
td.style.setProperty('color', colors[update.cell.fgcolor]);
}
else {
- td.style.removeProperty('color');
+ td.style.setProperty('color', "#FFFFFF");
}
if (update.cell.bgcolor) {
td.style.setProperty('background-color', colors[update.cell.bgcolor]);