-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathembeded.html
More file actions
69 lines (66 loc) · 1.5 KB
/
Copy pathembeded.html
File metadata and controls
69 lines (66 loc) · 1.5 KB
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>
<div id="mcaptcha__widget-container"></div>
<button type="submit" class="sitekey-form__submit">Sign in</button>
</form>
</body>
<script src="../dist/index.js"></script>
<script charset="utf-8">
let config = {
widgetLink: new URL(
"http://localhost:7000/widget/?sitekey=JiL62F7l9hFjhoPIqeMOpMDFuQ1BIz7l"
),
};
new mcaptchaGlue.default(config);
</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>