dendrite/docs/templates/privacy/1.0.gohtml
Till Faelligen 185cb7a582 Remove BaseURL from Global
Update template
2022-02-21 16:22:25 +01:00

26 lines
758 B
Plaintext

<!doctype html>
<html lang="en">
<head>
<title>Privacy policy</title>
</head>
<body>
{{ if .HasConsented }}
<p>
You have already given your consent.
</p>
{{ else }}
<p>
Please give your consent to keep using this homeserver.
</p>
{{ if not .PublicVersion }}
<!-- The variables used here are only provided when the 'u' param is given to the homeserver -->
<form method="post" action="consent">
<input type="hidden" name="v" value="{{ .Version }}"/>
<input type="hidden" name="u" value="{{ .User }}"/>
<input type="hidden" name="h" value="{{ .UserHMAC }}"/>
<input type="submit" value="Sure thing!"/>
</form>
{{ end }}
{{ end }}
</body>
</html>