-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.html
64 lines (49 loc) · 1.57 KB
/
action.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Action </title>
<style>
body {
font-family: 'Ubuntu', Arial, 'Trebuchet MS', Tahoma, Verdana, sans-serif;
color: #e7e7e7;
margin: 0;
}
.info {
display: block;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 60%;
padding: 10px;
font-style: normal;
font-family: 'Ubuntu';
border: 2px solid #e8e8e8;
background: rgb(0, 0, 0, 20%);
}
.info p {
text-align: center;
padding: 5px;
margin: 10px auto;
width: 60%;
}
</style>
</head>
<body>
<img src="pictures/wallpaperflare.main.jpg" style="width:100%">
<div id="info" class="info">
<p id="userNum"></p>
<p id="userPass"></p>
</div>
<script>
//alert(document.body.getElementsByTagName("P")[].innerHTML);
var parameters = location.search.substring(1).split("&");
var paramStr = [parameters[0].split("="), parameters[1].split("=")];
document.getElementsByTagName("p")[0].innerHTML = "You have successfully logged in with e-mail: <strong>" + paramStr[0][1] +
"</strong> and password:";
document.getElementById("userPass").innerHTML = "<b><i>" + paramStr[1][1] + "</i></b>";
</script>
</body>
</html>