1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-07-14 18:27:25 +08:00
docker-labs/www/welcome.html
Antonis Kalipetis a2754057dd
Make all CSS/JS links HTTPS
This helps in making this work behind an HTTPS proxy

Signed-off-by: Antonis Kalipetis <akalipetis@gmail.com>
2016-11-22 09:54:29 +02:00

28 lines
989 B
HTML

{{define "GOOGLE_RECAPTCHA_SITE_KEY"}}
<!doctype html>
<html ng-app="DockerPlay" ng-controller="PlayController">
<head>
<title>Docker Playground</title>
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.0/angular-material.min.css">
<link rel="stylesheet" href="/assets/style.css" />
<script src='https://www.google.com/recaptcha/api.js'></script>
</head>
<body class="welcome">
<div>
<h1>Welcome!</h1>
<h2>Before starting we need to verify you are a human</h2>
<form id="welcomeForm" method="POST" action="/">
<div class="g-recaptcha" data-callback="iAmHuman" data-sitekey="{{.}}"></div>
</form>
<img src="/assets/large_h.png" />
</div>
<script>
function iAmHuman(resp) {
document.getElementById('welcomeForm').submit();
}
</script>
</body>
</html>
{{end}}