add: profile is_verified
add: better profile not found page TODO: use error page for fallback service
This commit is contained in:
parent
7d96a3d20f
commit
5cfca49793
13 changed files with 234 additions and 20 deletions
21
crates/app/src/public/html/misc/error.html
Normal file
21
crates/app/src/public/html/misc/error.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
{% import "macros.html" as macros %} {% extends "root.html" %} {% block head %}
|
||||
<title>{{ error_text }} - Tetratto</title>
|
||||
{% endblock %} {% block body %} {{ macros::nav(selected="home") }}
|
||||
<main class="flex flex-col gap-2">
|
||||
<div class="card-nest">
|
||||
<div class="card">
|
||||
<b>Error! 😦</b>
|
||||
</div>
|
||||
|
||||
<div class="card flex flex-col gap-4">
|
||||
<p>{{ error_text }}</p>
|
||||
<div class="w-full flex gap-2">
|
||||
<a class="button primary" href="/">Home</a>
|
||||
<a class="button secondary" href="javascript:history.back()"
|
||||
>Back</a
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
{% endblock %}
|
Loading…
Add table
Add a link
Reference in a new issue