mirror of
https://github.com/Lynnesbian/FediBooks/
synced 2024-12-28 15:28:58 +00:00
89 lines
3.4 KiB
HTML
89 lines
3.4 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>FediBooks</title>
|
|
{% include 'imports.html' %}
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<h1 class="thin centred">Account settings</h1>
|
|
</div>
|
|
|
|
{% include 'error.html' %}
|
|
{% include 'success.html' %}
|
|
|
|
<div class="container">
|
|
<form method="POST" class="full-width">
|
|
<div class="container light">
|
|
<h2 class="thin centred">Login settings</h2>
|
|
<p class="centred">Update your email and password here, or close your account.</p>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<label for="email" class="large">Email address</label>
|
|
<input type="email" name="email" value="{{ user['email'] }}">
|
|
</div>
|
|
<div class="row">
|
|
<label for="password" class="large">Password</label>
|
|
<input type="password" name="password"pattern=".{8,}" placeholder="Unchanged">
|
|
</div>
|
|
<div class="row">
|
|
<label for="delete" class="large">Delete account</label>
|
|
<a name="delete" class="button btn-dangerous" href="/delete"><i class="fas fa-trash"></i> Close account</a>
|
|
</div>
|
|
|
|
<div class="container light">
|
|
<h2 class="thin centred">Contact settings</h2>
|
|
<p class="centred">When should FediBooks send you email?</p>
|
|
</div>
|
|
|
|
<div class="error err-small">
|
|
Note: This feature isn't ready yet. As of now, FediBooks will not send you email.
|
|
</div>
|
|
|
|
<div class="row">
|
|
<label for="fetch-error" class="large">When my bot(s) can't get new posts</label>
|
|
<select name="fetch-error">
|
|
<option value="always" {{ 'selected' if user['fetch'] == "always"}}>Always</option>
|
|
<option value="once" {{ 'selected' if user['fetch'] == "once"}}>Once</option>
|
|
<option value="never" {{ 'selected' if user['fetch'] == "never"}}>Never</option>
|
|
</select>
|
|
</div>
|
|
<div class="row">
|
|
<label for="submit-error" class="large">When my bot(s) can't submit new posts</label>
|
|
<select name="submit-error">
|
|
<option value="always" {{ 'selected' if user['submit'] == "always"}}>Always</option>
|
|
<option value="once" {{ 'selected' if user['submit'] == "once"}}>Once</option>
|
|
<option value="never" {{ 'selected' if user['submit'] == "never"}}>Never</option>
|
|
</select>
|
|
</div>
|
|
<div class="row">
|
|
<label for="generation-error" class="large">When my bot(s) encounter an error generating new posts</label>
|
|
<select name="generation-error">
|
|
<option value="always" {{ 'selected' if user['generation'] == "always"}}>Always</option>
|
|
<option value="once" {{ 'selected' if user['generation'] == "once"}}>Once</option>
|
|
<option value="never" {{ 'selected' if user['generation'] == "never"}}>Never</option>
|
|
</select>
|
|
</div>
|
|
<div class="row">
|
|
<label for="reply-error" class="large">When my bot(s) can't send replies</label>
|
|
<select name="reply-error">
|
|
<option value="always" {{ 'selected' if user['reply'] == "always"}}>Always</option>
|
|
<option value="once" {{ 'selected' if user['reply'] == "once"}}>Once</option>
|
|
<option value="never" {{ 'selected' if user['reply'] == "never"}}>Never</option>
|
|
</select>
|
|
</div>
|
|
|
|
<div class="container centred">
|
|
<button class="button btn-primary"><i class="fas fa-save"></i> Save</button>
|
|
<a href="/" class="button btn-secondary"><i class="fas fa-times"></i> Cancel</a>
|
|
<a href="/help/settings" target="_blank" class="button btn-secondary"><i class="fas fa-question"></i> Help</a>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
{% include 'footer.html' %}
|
|
</body>
|
|
</html>
|