/index.xhtml |
@@ -1,29 +1,70 @@ |
<?xml version="1.0" encoding="UTF-8"?> |
<!DOCTYPE html> |
|
<!-- |
Guacamole - Clientless Remote Desktop |
Copyright (C) 2010 Michael Jumper |
|
This program is free software: you can redistribute it and/or modify |
it under the terms of the GNU Affero General Public License as published by |
the Free Software Foundation, either version 3 of the License, or |
(at your option) any later version. |
|
This program is distributed in the hope that it will be useful, |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
GNU Affero General Public License for more details. |
|
You should have received a copy of the GNU Affero General Public License |
along with this program. If not, see <http://www.gnu.org/licenses/>. |
--> |
|
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head> |
<title>Clockwerk</title> |
<link rel="stylesheet" href="styles/gray.css" type="text/css" /> |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi"/> |
</head> |
<body class="dark-grey"> |
<div class="center"> |
<img src="images/clockwerk-logo.png"/> |
<h1>OpenSim Console Access</h1> |
<hr/> |
<script type="text/javascript" src="scripts/jquery.min.js"></script> |
<div id="login-ui" style="display; none"> |
<p id="login-error"></p> |
<form id="login-form" class="dark-grey" style="color:#000;text-shadow:none;text-align:left;max-width:480px;min-width:150px" method="post" action="#"><div class="title"></div> |
<div class="element-input" ><label class="title">Username<span class="required"></span></label><input class="large" type="text" name="username" id="username" required="required"/></div> |
<div class="element-password" ><label class="title">Password<span class="required"></span></label><input class="large" type="password" name="password" id="password" value="" required="required"/></div> |
<div class="submit"> |
<input type="submit" name="login" id="login" value="Login" /> |
<input type="button" onclick="parent.location='/welcome.php'" value="Cancel" /> |
</div> |
</form> |
</div> |
|
<head> |
<link rel="icon" type="image/png" href="images/guacamole-logo-64.png"/> |
<link rel="apple-touch-icon" type="image/png" href="images/guacamole-logo-144.png"/> |
<link rel="stylesheet" type="text/css" href="styles/login.css"/> |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, target-densitydpi=device-dpi"/> |
<title>Guacamole 0.6.0</title> |
</head> |
|
<body> |
|
<div id="login-ui" style="display: none"> |
<div id="login-dialog-middle"> |
|
<div id="login-dialog"> |
|
<p id="login-error"></p> |
|
<form id="login-form" action="#" method="post"> |
|
<div id="login-fields"> |
<table> |
<tr> |
<th>Username</th> |
<td><input type="text" name="username" id="username" autofocus="autofocus"/></td> |
</tr> |
<tr> |
<th>Password</th> |
<td><input type="password" name="password" id="password"/></td> |
</tr> |
</table> |
|
<img class="logo" src="images/guacamole-logo-64.png" alt=""/> |
</div> |
|
<div id="buttons"> |
<input type="submit" name="login" id="login" value="Login"/> |
</div> |
|
</form> |
</div> |
|
</div> |
</div> |
|
<!-- Connection list UI --> |
<div id="connection-list-ui" style="display: none"> |
|
@@ -49,6 +90,10 @@ |
|
</div> |
|
<div id="version-dialog"> |
Guacamole 0.6.0 |
</div> |
|
<script type="text/javascript" src="scripts/connections.js"></script> |
|
<!-- Init --> |
@@ -145,7 +190,7 @@ |
var password = document.getElementById("password"); |
|
logout.onclick = function() { |
window.location.href = "/guacamole"; |
window.location.href = "logout"; |
}; |
|
loginForm.onsubmit = function() { |
@@ -206,6 +251,6 @@ |
|
/* ]]> */ </script> |
|
</div> |
</body> |
</body> |
|
</html> |