File size: 4,362 Bytes
8ee17c0
6d8f00e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8ee17c0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
<!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>