Skip to content

Commit

Permalink
Adds a 'system-ui' font-family to the oauth2 verification finished pa…
Browse files Browse the repository at this point in the history
  • Loading branch information
gijs authored and nyalldawson committed Dec 17, 2024
1 parent d1232eb commit 3139f3d
Showing 1 changed file with 25 additions and 21 deletions.
46 changes: 25 additions & 21 deletions src/auth/oauth2/resources/oauth2_verification_finished.html
Original file line number Diff line number Diff line change
@@ -1,27 +1,31 @@
<!DOCTYPE html>
<html>
<head>
<script>
// push any fragment as a query string to redirect server
window.onload = function hashFunction() {
var query = location.hash.substr(1)
if (query != "") {
var xhttp = new XMLHttpRequest();
xhttp.open("GET", "/?" + query, true);
xhttp.send();
}
}
</script>
</head>
<body>
<head>
<script>
// push any fragment as a query string to redirect server
window.onload = function hashFunction() {
var query = location.hash.substr(1);
if (query != "") {
var xhttp = new XMLHttpRequest();
xhttp.open("GET", "/?" + query, true);
xhttp.send();
}
};
</script>
<style>
body {
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
</style>
</head>
<body>
<!-- Replacement of below placeholders is done by src/auth/oauth2/core/qgso2.cpp -->

<!-- Replacement of below placeholders is done by src/auth/oauth2/core/qgso2.cpp -->
<h2>{{ H2_TITLE }}</h2>

<h2>{{ H2_TITLE }}</h2>
<h3>{{ H3_TITLE }}</h3>

<h3>{{ H3_TITLE }}</h3>

<p><a href="#" onclick="window.close()">{{ CLOSE_WINDOW }}</a></p>

</body>
<p><a href="#" onclick="window.close()">{{ CLOSE_WINDOW }}</a></p>
</body>
</html>

0 comments on commit 3139f3d

Please sign in to comment.