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:
parent
23ac7d9d6a
commit
89d4e109e3
1 changed files with 10 additions and 2 deletions
|
@ -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 © 2018-2020 M. Bokhorst (M66B)</p>
|
||||
<p>Copyright © 2018–<span id="year">2020</span> by Marcel Bokhorst (M66B)</p>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in a new issue