-
-
Notifications
You must be signed in to change notification settings - Fork 292
/
turnstile.html
32 lines (32 loc) · 875 Bytes
/
turnstile.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
<!DOCTYPE HTML>
<html>
<head>
<title>Cloudflare</title>
</head>
<body>
<div style="position: absolute; width: 300px; height: 200px; z-index: 15; top: 50%; left: 50%; margin: -100px 0 0 -150px;">
<style>
input[type=button], input[type=submit], input[type=reset] {
background-color: #2374f7;
border: none;
border-radius: 5px;
color: white;
padding: 5px 15px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin-top: 10px;
}
</style>
{{if .ErrorMessage}}
<p>{{.ErrorMessage}}</p>
{{end}}
<form action="{{.FormActionURL}}" method="POST">
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
<div class="cf-turnstile" data-sitekey="{{.TurnstilePublicKey}}"></div>
<input type="submit" name="button" value="Submit">
</form>
</div>
</body>
</html>