-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a 'system-ui' font-family to the oauth2 verification finished pa…
…ge. See https://css-tricks.com/snippets/css/system-font-stack/ for details on this.
- Loading branch information
1 parent
d1232eb
commit 3139f3d
Showing
1 changed file
with
25 additions
and
21 deletions.
There are no files selected for viewing
46 changes: 25 additions & 21 deletions
46
src/auth/oauth2/resources/oauth2_verification_finished.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |