Files
racket-chatgpt-bootstrap/private/views/login.html
T
www-data 475765e31f Move rendering into private templates
Add an explicit template renderer with HTML views and partials for the app, bootstrap, package, and catalog pages. Move shared reporting setup into config/reporting.php and relocate stylesheet assets under css/.
2026-05-26 12:50:26 +02:00

62 lines
1.5 KiB
HTML

<!doctype html>
<html lang="{{language}}">
<head>
<meta charset="utf-8">
<title>{{page_title}}</title>
<link rel="stylesheet" href="/css/styles.css?v={{style_version}}">
</head>
<body class="simple-doc login-page">
<main class="login-layout">
<section class="login-panel">
<h1>{{page_title}}</h1>
{{{error_html}}}
<form method="post" action="/login.php">
<label>
{{email_label}}<br>
<input type="email" name="email" autocomplete="username" required>
</label>
<label>
{{password_label}}<br>
<input type="password" name="password" autocomplete="current-password" required>
</label>
<button type="submit">{{login_label}}</button>
</form>
</section>
<aside class="login-request-panel">
<h2>{{account_title}}</h2>
<p>{{account_text}}</p>
<p><a href="https://racket.discourse.group/">{{account_link}}</a></p>
</aside>
</main>
</body>
</html>
===
{
"translations": {
"en": {
"email": "Email address",
"password": "Password",
"login": "Login",
"account_title": "Want to try it?",
"account_text": "If you would like an account to try the sandbox, please request one from Hans Dijkema through the Racket Discourse pages.",
"account_link": "Go to Racket Discourse"
},
"nl": {
"email": "E-mailadres",
"password": "Wachtwoord",
"login": "Inloggen",
"account_title": "Wil je het eens proberen?",
"account_text": "Als je een account wilt om de sandbox eens uit te proberen, doe dan een verzoek aan Hans Dijkema via de Racket Discourse-pagina's.",
"account_link": "Naar Racket Discourse"
}
}
}