Skip to content

Commit 4c5164e

Browse files
committed
Make the OAuth2 html template mobile friendly
1 parent 339726a commit 4c5164e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

resources/templates/oauth2_verification_finished.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
5+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2, user-scalable=yes"/>
46
<script>
57
// push any fragment as a query string to redirect server
68
window.onload = function hashFunction() {
@@ -20,12 +22,7 @@
2022
</style>
2123
</head>
2224
<body>
23-
<!-- Replacement of below placeholders is done by src/auth/oauth2/core/qgso2.cpp -->
24-
2525
<h2>QField OAuth2 verification has finished</h2>
26-
2726
<p>If you have not been returned to QField, bring the application to the forefront.</p>
28-
29-
<p><a href="#" onclick="window.close()">Close window</a></p>
3027
</body>
3128
</html>

0 commit comments

Comments
 (0)