saving works

This commit is contained in:
2025-06-17 10:37:46 +02:00
parent 811abbf1e0
commit 82efbd491a
10 changed files with 935 additions and 244 deletions

View File

@@ -1,24 +1,19 @@
{% extends "base.html" %}
{% block content %}
<div class="confirmed">
<div class="confirmation-card">
<h2 class="title-org">Link has expired!</h2>
<p class="info-p">
The confirmation link you used has expired or is no longer valid.<br>
Please click the button below to receive a new confirmation link.
</p>
<form method="POST">
{% csrf_token %}
<button type="submit" class="btn-primary-orn">Resend link</button>
</form>
</div>
</div>
<script>
nav = document.querySelector('nav');
confirmed = document.querySelector('.confirmed');
confirmed.style.height = `calc(100vh - ${nav.offsetHeight}px)`;
</script>
<section class="py-16 bg-white min-h-[60vh] flex items-center justify-center">
<div class="max-w-lg w-full mx-auto text-center shadow-lg border border-accent rounded-xl p-8">
<h2 class="text-3xl font-extrabold mb-4 text-accent">Link has expired!</h2>
<p class="mb-8 text-gray-700 text-lg">
The confirmation link you used has expired or is no longer valid.<br>
Please click the button below to receive a new confirmation link.
</p>
<form method="POST">
{% csrf_token %}
<button type="submit" class="nav-link-desktop bg-transparent border-2 border-accent text-accent hover:bg-accent hover:text-primary font-semibold py-3 px-8 rounded-lg text-lg transition-all duration-300 ease-in-out">
Resend link
</button>
</form>
</div>
</section>
{% endblock %}

View File

@@ -1,22 +1,16 @@
{% extends "base.html" %}
{% block content %}
<div class="confirmed">
<div class="confirmation-card">
<h1 class="title-org">Email Confirmed!</h1>
<p class="info-p">
Your email <strong style="color: #FAA95E;">{{ email }}</strong> has been successfully verified.<br>
Thank you for confirming your email. We are currently generating your document. A link to access your document will be sent to you shortly.
</p>
<a href="{% url 'core:index' %}" class="btn-primary-orn" style="margin-top: 1rem;">
Go back to Homepage
</a>
</div>
</div>
<script>
nav = document.querySelector('nav');
confirmed = document.querySelector('.confirmed');
confirmed.style.height = `calc(100vh - ${nav.offsetHeight}px)`;
</script>
<section class="py-16 bg-white min-h-[60vh] flex items-center justify-center">
<div class="max-w-lg w-full mx-auto text-center shadow-lg border border-success rounded-xl p-8">
<h1 class="text-3xl font-extrabold mb-4 text-success">Email Confirmed!</h1>
<p class="mb-8 text-gray-700 text-lg">
Your email <strong class="text-accent">{{ email }}</strong> has been successfully verified.<br>
Thank you for confirming your email. We are currently generating your document. A link to access your document will be sent to you shortly.
</p>
<a href="{% url 'core:index' %}" class="bg-transparent border-2 border-accent text-accent hover:bg-accent hover:text-primary font-semibold py-3 px-8 rounded-lg text-lg transition-all duration-300 ease-in-out">
Go back to Homepage
</a>
</div>
</section>
{% endblock %}