Logout button instead of link, removed logo.

This commit is contained in:
Michael Jumper
2011-08-16 19:07:25 -07:00
parent cff7445529
commit 2a3f7f9e28
2 changed files with 8 additions and 7 deletions

View File

@@ -45,12 +45,12 @@
<button id="showKeyboard">Show Keyboard</button> <button id="showKeyboard">Show Keyboard</button>
<button id="ctrlAltDelete">Ctrl-Alt-Delete</button> <button id="ctrlAltDelete">Ctrl-Alt-Delete</button>
<button id="logout">Logout</button>
<!-- Logo and status --> <!-- Logo and status -->
<img id="status-logo" class="logo" src="images/guacamole-logo-24.png" alt="Guacamole" title="Guacamole ${project.version}"/> <img id="status-logo" class="logo" src="images/guacamole-logo-24.png" alt="Guacamole" title="Guacamole ${project.version}"/>
<span id="state"></span> <span id="state"></span>
<a href="logout">Logout</a>
</div> </div>
@@ -313,8 +313,14 @@
guac.sendKeyEvent(0, KEYSYM_DELETE); guac.sendKeyEvent(0, KEYSYM_DELETE);
guac.sendKeyEvent(0, KEYSYM_ALT); guac.sendKeyEvent(0, KEYSYM_ALT);
guac.sendKeyEvent(0, KEYSYM_CTRL); guac.sendKeyEvent(0, KEYSYM_CTRL);
} };
// Logout
var logout = document.getElementById("logout");
logout.onclick = function() {
window.location.href = "logout";
};
try { try {

View File

@@ -106,11 +106,6 @@ img {
border: none; border: none;
} }
img#license {
float: right;
margin: 2px;
}
div#display { div#display {
position: relative; position: relative;
width: 640px; width: 640px;