Fix PKCE auth html (#2079)

This commit is contained in:
pascal-fischer 2024-05-30 17:22:58 +02:00 committed by GitHub
parent 012235ff12
commit f9ec0a9a2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html lang="en">
<head> <head>
<meta name="viewport" content="width=device-width, initial-scale=1"/> <meta content="width=device-width, initial-scale=1" name="viewport"/>
<style> <style>
body { body {
display: flex; display: flex;
@ -50,16 +50,17 @@
color: black; color: black;
} }
</style> </style>
<title>NetBird Login Successful</title>
</head> </head>
<body> <body>
<div class="container"> <div class="container">
<div class="logo"> <div class="logo">
<img src="https://img.mailinblue.com/6211297/images/content_library/original/64bd4ce82e1ea753e439b6a2.png"> <img alt="netbird_logo" src="https://img.mailinblue.com/6211297/images/content_library/original/64bd4ce82e1ea753e439b6a2.png">
</div> </div>
<br> <br>
{{ if .Error }} {{ if .Error }}
<svg xmlns="http://www.w3.org/2000/svg" height="50" viewBox="0 0 100 100"> <svg height="50" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<circle cx="50" cy="50" r="45" fill="none" stroke="red" stroke-width="3"/> <circle cx="50" cy="50" fill="none" r="45" stroke="red" stroke-width="3"/>
<path d="M30 30 L70 70 M30 70 L70 30" fill="none" stroke="red" stroke-width="3"/> <path d="M30 30 L70 70 M30 70 L70 30" fill="none" stroke="red" stroke-width="3"/>
</svg> </svg>
<div class="content"> <div class="content">
@ -69,8 +70,8 @@
{{ .Error }}. {{ .Error }}.
</div> </div>
{{ else }} {{ else }}
<svg xmlns="http://www.w3.org/2000/svg" height="50" viewBox="0 0 100 100"> <svg height="50" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<circle cx="50" cy="50" r="45" fill="none" stroke="#5cb85c" stroke-width="3"/> <circle cx="50" cy="50" fill="none" r="45" stroke="#5cb85c" stroke-width="3"/>
<path d="M30 50 L45 65 L70 35" fill="none" stroke="#5cb85c" stroke-width="5"/> <path d="M30 50 L45 65 L70 35" fill="none" stroke="#5cb85c" stroke-width="5"/>
</svg> </svg>
<div class="content"> <div class="content">