-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
108 additions
and
40 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
backend/migrations/0021_alter_verificationcodes_expiry_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Generated by Django 5.0.2 on 2024-02-23 19:00 | ||
|
||
import datetime | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("backend", "0020_alter_verificationcodes_options_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="verificationcodes", | ||
name="expiry", | ||
field=models.DateTimeField( | ||
default=datetime.datetime( | ||
2024, 2, 23, 22, 0, 25, 744643, tzinfo=datetime.timezone.utc | ||
) | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="verificationcodes", | ||
name="token", | ||
field=models.TextField(default="XBNKTM", editable=False), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,42 @@ | ||
{% load static %} | ||
<html> | ||
{% include 'base/_head.html' %} | ||
<body> | ||
<div class="min-h-screen bg-base-200 flex items-center"> | ||
<div class="card my-4 mx-auto w-full max-w-5xl shadow-xl"> | ||
<div class="grid md:grid-cols-2 grid-cols-1 bg-base-100 rounded-xl"> | ||
<div class="hero min-h-full rounded-l-xl bg-base-200"> | ||
<div class="hero-content py-12"> | ||
<div class="max-w-md"> | ||
<h1 class="text-3xl text-center font-bold ">Dashboard</h1> | ||
<div class="text-center mt-12 mb-24"> | ||
<img src="{% block image %}{% endblock image %}" class="w-48 inline-block"> | ||
</div> | ||
<h1 class="text-2xl mt-8 mb-4 font-bold text-center">What do you get to manage?</h1> | ||
<p class="py-2">✓ Client Lists</p> | ||
<p class="py-2">✓ Invoices</p> | ||
<p class="py-2">✓ Receipt Storage</p> | ||
<p class="pt-2">✓ Financial Reports</p> | ||
</div> | ||
{% include 'base/_head.html' %} | ||
<body> | ||
<div class="min-h-screen bg-base-200 flex items-center"> | ||
<div class="card my-4 mx-auto w-full max-w-5xl shadow-xl"> | ||
<div class="grid md:grid-cols-2 grid-cols-1 bg-base-100 rounded-xl"> | ||
<div class="hero min-h-full rounded-l-xl bg-base-200"> | ||
<div class="hero-content py-12"> | ||
<div class="max-w-md"> | ||
<h1 class="text-3xl text-center font-bold ">Dashboard</h1> | ||
<div class="text-center mt-12 mb-24"> | ||
<img src="{% block image %}{% endblock image %}" class="w-48 inline-block"> | ||
</div> | ||
</div> | ||
<div class="pt-12 pb-8 px-10"> | ||
{# {% component "messages_list" %}#} | ||
{% include "base/toasts.html" %} | ||
<h2 class="text-2xl font-semibold mb-2 text-center"> | ||
{% block title %} | ||
{% endblock title %} | ||
</h2> | ||
{% block content %} | ||
{% endblock content %} | ||
<h1 class="text-2xl mt-8 mb-4 font-bold text-center">What do you get to manage?</h1> | ||
<p class="py-2">✓ Client Lists</p> | ||
<p class="py-2">✓ Invoices</p> | ||
<p class="py-2">✓ Receipt Storage</p> | ||
<p class="pt-2">✓ Financial Reports</p> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="pt-12 pb-8 px-10"> | ||
{# {% component "messages_list" %}#} | ||
{% include "base/toasts.html" %} | ||
<h2 class="text-2xl font-semibold mb-2 text-center"> | ||
{% block title %} | ||
{% endblock title %} | ||
</h2> | ||
{% block content %} | ||
{% endblock content %} | ||
</div> | ||
</div> | ||
</body> | ||
</div> | ||
</div> | ||
<script> | ||
document.body.addEventListener('htmx:configRequest', (event) => { | ||
event.detail.headers['X-CSRFToken'] = '{{ csrf_token }}'; | ||
}) | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters