1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-29 11:15:51 +00:00
FairEmail/oauth/index.html
2021-10-16 16:30:06 +02:00

42 lines
1.8 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>FairEmail - OAuth</title>
<link rel="shortcut icon" href="https://raw.githubusercontent.com/M66B/FairEmail/master/app/src/main/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">
<meta name="robots" content="noindex">
<style>
* { font-family: Arial, Helvetica, sans-serif; }
body { padding-left: 10px; padding-right: 10px; }
.button-large { width: 120px; height: 30px; font-weight: bold; }
</style>
<script>
window.addEventListener('load', load);
function load() {
document.getElementById('oauth').addEventListener('click', oauth);
document.getElementById('year').textContent= new Date().getFullYear();
}
function oauth() {
document.location.href = 'eu.faircode.email://oauth' + window.location.search;
}
</script>
</head>
<body>
<h1>FairEmail</h1>
<p><img src="https://raw.githubusercontent.com/M66B/FairEmail/master/app/src/main/ic_launcher-web.png" alt="FairEmail" height="72" width="72" /></p>
<h2>&#x1F6E1; OAuth</h2>
<p><button id="oauth" class="button-large">Continue</button></p>
<noscript><h2>Please enable JavaScript or disable your ad blocker</h2></noscript>
<br>
<p style="font-size: smaller;"><a href="https://en.wikipedia.org/wiki/OAuth" target="_blank">What is OAuth?</a></p>
<p><a href="https://github.com/M66B/open-source-email/blob/master/PRIVACY.md" target="_blank">Privacy policy</a></p>
<p>Copyright &copy; 2018&ndash;<span id="year">2021</span> by Marcel Bokhorst (M66B)</p>
<p style="font-size: smaller;">This page is <a href="https://github.com/M66B/FairEmail/blob/master/oauth/index.html" target="_blank">open source</a>.</p>
</body>
</html>