mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 05:31:22 +00:00
Logout button instead of link, removed logo.
This commit is contained in:
@@ -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 {
|
||||||
|
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user