1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-22 07:42:52 +00:00

OAuth website improvements

This commit is contained in:
M66B 2020-08-06 20:29:10 +02:00
parent 23ac7d9d6a
commit 89d4e109e3

View file

@ -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>