From 2a3f7f9e28c216ca44d0a9e1af8398eb1415800d Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Tue, 16 Aug 2011 19:07:25 -0700 Subject: [PATCH] Logout button instead of link, removed logo. --- guacamole/src/main/webapp/client.xhtml | 10 ++++++++-- guacamole/src/main/webapp/styles/client.css | 5 ----- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/guacamole/src/main/webapp/client.xhtml b/guacamole/src/main/webapp/client.xhtml index 370803bb0..25738d89b 100644 --- a/guacamole/src/main/webapp/client.xhtml +++ b/guacamole/src/main/webapp/client.xhtml @@ -45,12 +45,12 @@ + - Logout @@ -313,8 +313,14 @@ guac.sendKeyEvent(0, KEYSYM_DELETE); guac.sendKeyEvent(0, KEYSYM_ALT); guac.sendKeyEvent(0, KEYSYM_CTRL); - } + }; + // Logout + var logout = document.getElementById("logout"); + + logout.onclick = function() { + window.location.href = "logout"; + }; try { diff --git a/guacamole/src/main/webapp/styles/client.css b/guacamole/src/main/webapp/styles/client.css index 28a629039..99a09ae38 100644 --- a/guacamole/src/main/webapp/styles/client.css +++ b/guacamole/src/main/webapp/styles/client.css @@ -106,11 +106,6 @@ img { border: none; } -img#license { - float: right; - margin: 2px; -} - div#display { position: relative; width: 640px;