first commit
This commit is contained in:
1
app/templates/mail/expense_report.html
Normal file
1
app/templates/mail/expense_report.html
Normal file
@@ -0,0 +1 @@
|
||||
{% extends "mail/layout.html" %}{% block body %}<h2 style="margin-top:0">Raport wydatków</h2><p>Okres: <strong>{{ period_label }}</strong></p><p>Suma: <strong>{{ total }} {{ currency }}</strong></p><table style="width:100%;border-collapse:collapse;margin-top:16px">{% for expense in expenses %}<tr><td style="padding:8px 0;border-bottom:1px solid #eef2f7">{{ expense.purchase_date }}</td><td style="padding:8px 0;border-bottom:1px solid #eef2f7">{{ expense.title }}</td><td style="padding:8px 0;border-bottom:1px solid #eef2f7;text-align:right">{{ expense.amount }} {{ expense.currency }}</td></tr>{% endfor %}</table>{% endblock %}
|
||||
6
app/templates/mail/expense_report.txt
Normal file
6
app/templates/mail/expense_report.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
Raport wydatków
|
||||
Okres: {{ period_label }}
|
||||
Suma: {{ total }} {{ currency }}
|
||||
|
||||
{% for expense in expenses %}- {{ expense.purchase_date }} | {{ expense.title }} | {{ expense.amount }} {{ expense.currency }}
|
||||
{% endfor %}
|
||||
1
app/templates/mail/layout.html
Normal file
1
app/templates/mail/layout.html
Normal file
@@ -0,0 +1 @@
|
||||
<!doctype html><html><body style="margin:0;padding:0;background:#f4f7fb;font-family:Arial,sans-serif;color:#162033"><div style="max-width:640px;margin:24px auto;background:#fff;border-radius:20px;overflow:hidden;border:1px solid #e6ebf2"><div style="padding:24px 28px;background:linear-gradient(135deg,#172554,#2563eb);color:#fff"><h1 style="margin:0;font-size:22px">Expense Monitor</h1></div><div style="padding:28px">{% block body %}{% endblock %}</div></div></body></html>
|
||||
1
app/templates/mail/new_account.html
Normal file
1
app/templates/mail/new_account.html
Normal file
@@ -0,0 +1 @@
|
||||
{% extends "mail/layout.html" %}{% block body %}<h2 style="margin-top:0">Nowe konto</h2><p>Twoje konto zostało utworzone.</p><p>Login: <strong>{{ user.email }}</strong></p><p>Hasło tymczasowe: <strong>{{ temp_password }}</strong></p><p>Po pierwszym logowaniu zmień hasło.</p>{% endblock %}
|
||||
4
app/templates/mail/new_account.txt
Normal file
4
app/templates/mail/new_account.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Nowe konto
|
||||
Login: {{ user.email }}
|
||||
Hasło tymczasowe: {{ temp_password }}
|
||||
Po pierwszym logowaniu zmień hasło.
|
||||
1
app/templates/mail/password_reset.html
Normal file
1
app/templates/mail/password_reset.html
Normal file
@@ -0,0 +1 @@
|
||||
{% extends "mail/layout.html" %}{% block body %}<h2 style="margin-top:0">Reset hasła</h2><p>Otrzymaliśmy prośbę o zmianę hasła dla konta {{ user.email }}.</p><p><a href="{{ reset_link }}" style="display:inline-block;background:#2563eb;color:#fff;text-decoration:none;padding:12px 18px;border-radius:12px">Ustaw nowe hasło</a></p><p>Jeśli to nie Ty, zignoruj tę wiadomość.</p>{% endblock %}
|
||||
4
app/templates/mail/password_reset.txt
Normal file
4
app/templates/mail/password_reset.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
Reset hasła
|
||||
|
||||
Użyj linku, aby ustawić nowe hasło:
|
||||
{{ reset_link }}
|
||||
Reference in New Issue
Block a user