83 lines
2.0 KiB
HTML
83 lines
2.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Login</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.login-container {
|
|
background: white;
|
|
padding: 3rem;
|
|
border-radius: 16px;
|
|
max-width: 400px;
|
|
width: 90%;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.login-button {
|
|
background: #4c4c4c;
|
|
color: white;
|
|
border: none;
|
|
padding: 16px 32px;
|
|
border-radius: 12px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
text-decoration: none;
|
|
min-width: 200px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.login-button:hover {
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.login-button:active {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.lock-icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
fill: currentColor;
|
|
}
|
|
|
|
h1 {
|
|
color: #333;
|
|
margin-bottom: 2rem;
|
|
font-weight: 300;
|
|
font-size: 2rem;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="login-container">
|
|
<a href="{{.Url}}" class="login-button">
|
|
<svg class="lock-icon" viewBox="0 0 24 24">
|
|
<path d="M18,8h-1V6c0-2.76-2.24-5-5-5S7,3.24,7,6v2H6c-1.1,0-2,0.9-2,2v10c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2V10C20,8.9,19.1,8,18,8z M12,17c-1.1,0-2-0.9-2-2s0.9-2,2-2s2,0.9,2,2S13.1,17,12,17z M15.1,8H8.9V6c0-1.71,1.39-3.1,3.1-3.1s3.1,1.39,3.1,3.1V8z"/>
|
|
</svg>
|
|
Login with {{.Provider}}
|
|
</a>
|
|
</div>
|
|
</body>
|
|
</html>
|