ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
93
vendor/workloads/forgejo-public/facade-code-login-disabled.html
vendored
Normal file
93
vendor/workloads/forgejo-public/facade-code-login-disabled.html
vendored
Normal file
|
|
@ -0,0 +1,93 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta http-equiv="refresh" content="5;url=/explore">
|
||||
<title>Sign in is disabled</title>
|
||||
<style>
|
||||
:root {
|
||||
color-scheme: light dark;
|
||||
--body: #fff;
|
||||
--panel: #fafafa;
|
||||
--border: #e4e4e7;
|
||||
--text: #18181b;
|
||||
--muted: #3f3f46;
|
||||
--button: #e4e4e7;
|
||||
--button-hover: #d4d4d8;
|
||||
--button-text: #18181b;
|
||||
--focus: #fdba74;
|
||||
}
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--body: #171e26;
|
||||
--panel: #1d262f;
|
||||
--border: #242d38;
|
||||
--text: #d2e0f0;
|
||||
--muted: #c0cfe0;
|
||||
--button: #242d38;
|
||||
--button-hover: #2b3642;
|
||||
--button-text: #d2e0f0;
|
||||
--focus: #fed7aa;
|
||||
}
|
||||
}
|
||||
* { box-sizing: border-box; }
|
||||
body {
|
||||
min-height: 100vh;
|
||||
min-height: 100svh;
|
||||
margin: 0;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 1rem;
|
||||
color: var(--text);
|
||||
background: var(--body);
|
||||
font: 14px/1.45 "Liberation Sans", Arial, sans-serif;
|
||||
}
|
||||
main {
|
||||
width: min(28rem, 100%);
|
||||
padding: 2rem;
|
||||
text-align: center;
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: .4rem;
|
||||
box-shadow: 0 .25rem .75rem rgb(0 0 0 / 8%);
|
||||
}
|
||||
svg { width: 3rem; height: 3rem; margin-bottom: .75rem; }
|
||||
h1 { margin: 0 0 .75rem; font-size: 1.5rem; line-height: 1.25; }
|
||||
p { margin: .4rem 0; color: var(--muted); }
|
||||
form { margin-top: 1.5rem; }
|
||||
button {
|
||||
width: 100%;
|
||||
padding: .7rem 1rem;
|
||||
color: var(--button-text);
|
||||
background: var(--button);
|
||||
border: 1px solid transparent;
|
||||
border-radius: .28571429rem;
|
||||
font: inherit;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
}
|
||||
button:hover { background: var(--button-hover); }
|
||||
button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<svg viewBox="0 0 212 212" role="img" aria-label="Forgejo">
|
||||
<g transform="translate(6 6)" fill="none">
|
||||
<path d="M58 168V70a50 50 0 0 1 50-50h20" stroke="#f60" stroke-width="25"/>
|
||||
<path d="M58 168v-30a50 50 0 0 1 50-50h20" stroke="#d40000" stroke-width="25"/>
|
||||
<circle cx="142" cy="20" r="18" stroke="#f60" stroke-width="15"/>
|
||||
<circle cx="142" cy="88" r="18" stroke="#d40000" stroke-width="15"/>
|
||||
<circle cx="58" cy="180" r="18" stroke="#d40000" stroke-width="15"/>
|
||||
</g>
|
||||
</svg>
|
||||
<h1>Sign in is disabled</h1>
|
||||
<p>This public view does not accept sign-ins.</p>
|
||||
<p>Returning to Explore in five seconds.</p>
|
||||
<form action="/explore" method="get">
|
||||
<button type="submit">Go back now</button>
|
||||
</form>
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in a new issue