230927a80e
this fix the nextcloud login + drive selector (chroot)
fix also invitation / magic link
also correct the UX: once user has logged in nextcloud, show an explicita page
44 lines
1.8 KiB
HTML
44 lines
1.8 KiB
HTML
<!doctype html>
|
|
<html lang="{{ locale_code }}">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="color-scheme" content="light dark">
|
|
<title>OxiCloud</title>
|
|
<link rel="icon" type="image/svg+xml" href="/logo/logo-plain.svg">
|
|
<link rel="stylesheet" href="/askama-common.css">
|
|
<style>
|
|
/* Cross-browser prompt overrides `.magic-note` with a warning
|
|
treatment — this is the only page where the note should shout.
|
|
Tokens come from the shared design system (variables.css) via
|
|
askama-common.css above; both are the canonical warning names
|
|
(`--color-warning-bg` / `--color-warning-border`), replacing the
|
|
pre-SPA-migration placeholders `--color-warning-bg-light` /
|
|
`--color-warning-text-amber` which never existed. */
|
|
.magic-note {
|
|
background: var(--color-warning-bg);
|
|
border-left: 3px solid var(--color-warning-border);
|
|
color: var(--color-text);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="auth-container">
|
|
<div class="auth-panel">
|
|
<div class="auth-logo">
|
|
<div class="auth-logo-icon">
|
|
<svg viewBox="0 0 500 500">
|
|
<path d="M345 310c32 0 58-26 58-58s-26-58-58-58c-6.2 0-12 0.9-17.5 2.7C318 166 289 143 255 143c-34.3 0-63.1 22.6-73 53.7C176.9 195.7 171 195 165 195c-32 0-58 26-58 58s26 58 58 58h180z" fill="#fff"/>
|
|
</svg>
|
|
</div>
|
|
<div class="auth-logo-text">OxiCloud</div>
|
|
</div>
|
|
<h2 class="auth-title">{{ title }}</h2>
|
|
<p class="auth-subtitle">{{ body }}</p>
|
|
<p class="magic-note">{{ warning }}</p>
|
|
<a class="auth-button" href="{{ confirm_url }}" role="button">{{ continue_label }}</a>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|