OAuth website improvements

pull/184/head
M66B 4 years ago
parent 23ac7d9d6a
commit 89d4e109e3

@ -14,6 +14,13 @@
</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;
}
@ -23,9 +30,10 @@
<h1>FairEmail</h1>
<p><img src="/ic_launcher-web.png" alt="FairEmail" height="72" width="72" /></p>
<h2>OAuth</h2>
<p><button onclick="oauth()">Continue</button></p>
<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-2020 M. Bokhorst (M66B)</p>
<p>Copyright &copy; 2018&ndash;<span id="year">2020</span> by Marcel Bokhorst (M66B)</p>
</body>
</html>

Loading…
Cancel
Save