FairEmail/oauth/index.html

40 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="canonical" href="https://oauth.faircode.eu/">
<link rel="shortcut icon" href="/ic_launcher-web.png" />
<meta name="theme-color" content="#006db3">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<meta name="description" content="FairEmail - OAuth">
<meta name="author" content="M66B">
<style>
* { font-family: Arial, Helvetica, sans-serif; }
body { padding-left: 10px; padding-right: 10px; }
</style>
<title>FairEmail - OAuth</title>
<script>
window.addEventListener('load', load);
function load() {
document.getElementById('oauth').addEventListener('click', oauth);
document.getElementById('year').textContent= new Date().getFullYear();
}
function oauth() {
document.location = 'eu.faircode.email://oauth' + window.location.search;
}
</script>
</head>
<body>
<h1>FairEmail</h1>
<p><img src="/ic_launcher-web.png" alt="FairEmail" height="72" width="72" /></p>
<h2>OAuth</h2>
<p><button id="oauth">Continue</button></p>
<noscript><h2>Please enable JavaScript or disable your ad blocker</h2></noscript>
<br />
<p><a href="https://github.com/M66B/open-source-email/blob/master/PRIVACY.md">Privacy policy</a></p>
<p>Copyright &copy; 2018&ndash;<span id="year">2020</span> by Marcel Bokhorst (M66B)</p>
</body>
</html>