apache-guacamole / index.html
docker1's picture
Update index.html
6d8f00e verified
Raw History Blame Contribute Delete
4.36 kB
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="x-ua-compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
<title>Apache Guacamole</title>
<style>
/* Orijinal Guacamole CSS Sıfırlama ve Yapısı */
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background-color: #ffffff; /* Arka plan isteğiniz üzerine bembeyaz */
font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 14px;
color: black;
display: flex;
justify-content: center;
align-items: center;
}
/* Birebir Klon Giriş Kutusu (Login UI) */
.guac-login {
background-color: #ffffff;
border: 1px solid #dcdcdc;
box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
padding: 2em;
width: 17em;
text-align: center;
box-sizing: border-box;
}
/* Logo Alanı */
.guac-login .logo {
display: block;
margin: 0 auto 1em auto;
width: 4.5em;
height: 4.5em;
background-image: url('https://i.ibb.co/2Yqmxx3v/Apache-Guacamole-logo.png');
background-size: contain;
background-repeat: no-repeat;
background-position: center center;
}
/* Başlık Yazısı */
.guac-login h2 {
font-size: 1.143em;
font-weight: bold;
text-transform: uppercase;
margin: 0 0 1.5em 0;
color: black;
letter-spacing: 0.5px;
}
/* Giriş Alanları Gruplaması */
.login-fields {
margin-bottom: 1.5em;
text-align: left;
}
/* Giriş Kutuları (Inputs) */
.login-fields input {
font-family: inherit;
font-size: 1em;
width: 100%;
padding: 0.5em;
margin-bottom: 0.75em;
border: 1px solid #cccccc;
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
box-sizing: border-box;
color: black;
background-color: white;
}
.login-fields input:focus {
border-color: #66afe9;
outline: 0;
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075), 0 0 8px rgba(102,175,233,0.6);
}
/* Birebir Klon Giriş Butonu */
.buttons {
text-align: center;
}
.buttons input[type="submit"] {
font-family: inherit;
font-size: 1em;
font-weight: bold;
color: white;
background-color: #3c3c3c;
border: 1px solid #222222;
padding: 0.5em 2em;
cursor: pointer;
width: 100%;
box-sizing: border-box;
box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.buttons input[type="submit"]:hover {
background-color: #505050;
}
.buttons input[type="submit"]:active {
background-color: #202020;
box-shadow: inset 0 2px 4px rgba(0,0,0,0.4);
}
</style>
</head>
<body>
<!-- Orijinal Guacamole Login DOM Yapısı -->
<div class="guac-login">
<div class="logo"></div>
<h2>Apache Guacamole</h2>
<form onsubmit="doLogin(event)">
<div class="login-fields">
<input type="text" id="username" placeholder="Username" value="guacadmin" required autocomplete="username">
<input type="password" id="password" placeholder="Password" value="guacadmin" required autocomplete="current-password">
</div>
<div class="buttons">
<input type="submit" value="Login">
</div>
</form>
</div>
<script>
function doLogin(event) {
event.preventDefault();
// İlettiğiniz uyarı mesajı buraya entegre edilmiştir.
alert("Warning: this is a web clone. This is an example page!");
}
</script>
</body>
</html>