WIP
This commit is contained in:
71
ansible/roles/caddy/files/bot_barrier_template.html
Normal file
71
ansible/roles/caddy/files/bot_barrier_template.html
Normal file
@@ -0,0 +1,71 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Security Check</title>
|
||||
<style nonce="{{ .CSPNonce }}">
|
||||
html, body {
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: Arial, sans-serif;
|
||||
background-color: #f4f4f9;
|
||||
color: #333;
|
||||
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.4em 0 0.3em;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.2em;
|
||||
margin: 0.6em 0;
|
||||
}
|
||||
|
||||
.spinner {
|
||||
margin: 2em 0;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
border: 5px solid #ccc;
|
||||
border-top: 5px solid #333;
|
||||
border-radius: 50%;
|
||||
animation: spin 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% { transform: rotate(0deg); }
|
||||
100% { transform: rotate(360deg); }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="wrapper">
|
||||
<!-- English Section -->
|
||||
<h1>Just a moment...</h1>
|
||||
<p>A small mathematical challenge is running<br>
|
||||
in the background - fully automatic to confirm<br>
|
||||
you're not a bot 🔒.</p>
|
||||
|
||||
<!-- Spinner -->
|
||||
<div class="spinner"></div>
|
||||
|
||||
<p>⏳ You'll be redirected shortly.</p>
|
||||
</div>
|
||||
|
||||
<script nonce="{{ .CSPNonce }}">{{ .Script }}</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user