forked from mCaptcha/glue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathembeded.html
69 lines (63 loc) · 1.7 KB
/
embeded.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width" />
<title>mCaptcha demo form</title>
</head>
<body>
<form method="POST">
<h1 class="form__title">Sign in</h1>
<label for="login">
Username or email address
<input type="text" name="login" id="login" required="" />
</label>
<label for="password">
Password
<input type="password" name="password" id="password" required="" />
</label>
<label data-mcaptcha_url="https://demo.mcaptcha.org/widget?sitekey=pHy0AktWyOKuxZDzFfoaewncWecCHo23" for="mcaptcha__token" id="mcaptcha__token-label">
mCaptcha authorization token. <a href="https://mcaptcha.org/docs/user-manual/how-to-mcaptcha-without-js/">Instructions</a>.
<input type="text" name="mcaptcha__token" id="mcaptcha__token" />
</label>
<div id="mcaptcha__widget-container"></div>
<script src="/index.js"></script>
<button type="submit" class="sitekey-form__submit">Sign in</button>
</form>
</body>
<script src="../dist/index.js"></script>
<style>
body {
display: flex;
align-items: center;
height: 100vh;
}
form {
margin: auto;
display: flex;
align-items: center;
flex-direction: column;
}
label {
width: 100%;
display: block;
margin: 10px 0;
}
label > input {
display: block;
width: 100%;
height: 30px;
}
button {
border: none;
background-color: green;
color: white;
width: 100%;
height: 30px;
}
#mcaptcha__widget-container {
width: 300px;
height: 74px;
}
</style>
</html>