Files
personaltwin-app/backend/templates/oauth2_provider/base.html
2026-03-20 15:09:41 -04:00

103 lines
2.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{% block title %}OAuth2 Demo{% endblock %}</title>
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background: #f0f2f5;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 1rem;
}
.block-center {
background: #fff;
border-radius: 16px;
box-shadow: 0 4px 32px rgba(0,0,0,.1);
padding: 3rem 2.5rem;
width: 100%;
max-width: 420px;
}
.block-center-heading {
font-size: 1.4rem;
font-weight: 700;
color: #1a1a2e;
margin-bottom: 1rem;
text-align: center;
}
p { color: #6b7280; font-size: .95rem; margin-bottom: .75rem; }
ul {
list-style: none;
margin-bottom: 1.5rem;
}
ul li {
padding: .5rem .75rem;
background: #f9fafb;
border: 1px solid #e5e7eb;
border-radius: 6px;
margin-bottom: .375rem;
font-size: .9rem;
color: #374151;
}
ul li::before { content: "✓ "; color: #4f46e5; font-weight: 700; }
.controls {
display: flex;
gap: .75rem;
margin-top: 1.25rem;
}
.btn {
flex: 1;
padding: .75rem;
border-radius: 8px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
border: 1px solid #d1d5db;
background: #fff;
color: #374151;
transition: background .15s;
}
.btn:hover { background: #f9fafb; }
.btn-primary {
background: #4f46e5;
border-color: #4f46e5;
color: #fff;
}
.btn-primary:hover { background: #4338ca; border-color: #4338ca; }
.errorlist {
background: #fef2f2;
border: 1px solid #fecaca;
color: #dc2626;
border-radius: 8px;
padding: .75rem 1rem;
margin-bottom: 1rem;
font-size: .875rem;
list-style: none;
}
h2 { color: #dc2626; margin-bottom: .5rem; }
</style>
</head>
<body>
{% block content %}{% endblock %}
</body>
</html>