feat: Add required Terms of Service acceptance to registration, enhance terms page content, and introduce utility scripts for thumbnail and dummy data generation.

This commit is contained in:
x
2026-01-24 16:32:28 +01:00
parent 2ad318e7c5
commit ee416a1d08
4 changed files with 112 additions and 55 deletions

View File

@@ -15,10 +15,17 @@
<div style="color: #ff6b6b; margin-bottom: 10px; text-align: center;">{{ error }}</div>
@endif
<input type="text" name="username" placeholder="username" autocomplete="off" required />
<input type="password" name="password" placeholder="password" autocomplete="off" required />
<input type="password" name="password_confirm" placeholder="confirm password" autocomplete="off" required />
<input type="text" name="token" placeholder="invite token" autocomplete="off" required />
<button type="submit">Create Account</button>
<input type="password" name="password" placeholder="password" autocomplete="off" required minlength="20"
title="Must be at least 20 characters long." />
<input type="password" name="password_confirm" placeholder="confirm password" autocomplete="off" /><br>
<input type="text" name="token" placeholder="invite token" autocomplete="off" /><br>
<p style="text-align: left; font-size: 0.9em; margin: 10px 0; color: #fff;">
<input type="checkbox" id="tos-page" name="tos" required />
<label for="tos-page">I have read and accept the <a href="/terms" target="_blank"
style="color: var(--accent); text-decoration: underline;">Terms of Service</a> and I am at least 18
years old</label>
</p>
<input type="submit" value="Register" />
<div style="margin-top: 15px; text-align: center;">
<a href="/login" style="color: var(--accent); text-decoration: none;">Back to Login</a>
</div>