1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-14 16:26:23 -07:00
gochan/templates/captcha.html

32 lines
1.2 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CAPTCHA test</title>
<link rel="stylesheet" href="{{webPath "/css/global.css"}}" />
<link id="theme" rel="stylesheet" href="{{webPath "css/" .boardConfig.DefaultStyle}}" />
<link rel="shortcut icon" href="{{webPath "/favicon.png"}}">
<script type="text/javascript" src="{{webPath "js/consts.js"}}"></script>
<script type="text/javascript" src="{{webPath "js/gochan.js"}}"></script>
</head>
<body>
<div id="topbar">
<a href="{{webPath "/"}}" class="topbar-item">home</a>
{{range $i, $board := .boards}}<a href="{{webPath $board.Dir}}/" class="topbar-item" title="{{$board.Title}}">/{{$board.Dir}}/</a>{{end}}
</div>
<div id="content">
<header>
<h1 id="board-title">hCAPTCHA test</h1>
</header><br />
<form method="POST" action="{{webPath "/captcha"}}">
<div class="h-captcha" data-sitekey="{{.siteKey}}"></div>
<script src="https://js.hcaptcha.com/1/api.js" async defer></script>
<input type="submit" value="Post">
</form>
<div id="footer">
Powered by <a href="http://github.com/gochan-org/gochan/">Gochan {{version}}</a><br />
</div>
</div>
</body>
</html>