style register page with auth-card layout
apply the shared auth-shell + auth-card layout to the register template, mirroring the login page. ids and the #register-error element are preserved for the existing cypress auth tests.
This commit is contained in:
parent
a20d12177e
commit
8d38a092d8
1 changed files with 26 additions and 18 deletions
|
|
@ -7,8 +7,10 @@
|
||||||
<link rel="stylesheet" href="/css/app.css">
|
<link rel="stylesheet" href="/css/app.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<main class="auth-shell">
|
||||||
|
<div class="auth-card stack">
|
||||||
<h1>Register</h1>
|
<h1>Register</h1>
|
||||||
<form id="register-form">
|
<form id="register-form" class="stack">
|
||||||
<label>Email
|
<label>Email
|
||||||
<input type="email" id="email" name="email" required />
|
<input type="email" id="email" name="email" required />
|
||||||
</label>
|
</label>
|
||||||
|
|
@ -21,10 +23,16 @@
|
||||||
required
|
required
|
||||||
/>
|
/>
|
||||||
</label>
|
</label>
|
||||||
<button type="submit">Register</button>
|
<button type="submit" class="btn btn-primary full-width">
|
||||||
|
Register
|
||||||
|
</button>
|
||||||
</form>
|
</form>
|
||||||
<p id="register-error" hidden></p>
|
<p id="register-error" class="error" hidden></p>
|
||||||
<p><a href="/login">Already have an account? Login</a></p>
|
<p class="muted">
|
||||||
|
<a href="/login">Already have an account? Login</a>
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
<script src="/js/auth.js"></script>
|
<script src="/js/auth.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue