OAuth simplification

pull/210/head
M66B 2 years ago
parent cd977705db
commit 7d14b16ca0

@ -1,9 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8">
<title>FairEmail - OAuth</title> <title>FairEmail - OAuth</title>
<link rel="shortcut icon" href="https://raw.githubusercontent.com/M66B/FairEmail/master/app/src/main/ic_launcher-web.png" /> <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="theme-color" content="#006db3">
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<meta name="description" content="FairEmail - OAuth"> <meta name="description" content="FairEmail - OAuth">
@ -20,7 +20,7 @@
function load() { function load() {
document.getElementById('oauth').addEventListener('click', oauth); document.getElementById('oauth').addEventListener('click', oauth);
document.getElementById('year').textContent= new Date().getFullYear(); document.getElementById('year').textContent = new Date().getFullYear();
try { try {
var url = new URL(window.location.href); var url = new URL(window.location.href);
@ -44,7 +44,7 @@
</head> </head>
<body> <body>
<h1>FairEmail</h1> <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> <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> <h2>&#x1F6E1; OAuth</h2>
<p id="error" style="display: none;"><span>The email server said: <span id="errmsg" class="error"></span></span></p> <p id="error" style="display: none;"><span>The email server said: <span id="errmsg" class="error"></span></span></p>
<p><button id="oauth" class="button-large">Continue</button> to the app</p> <p><button id="oauth" class="button-large">Continue</button> to the app</p>

Loading…
Cancel
Save