Mudanza de repo
This commit is contained in:
24
templates/admin/dashboard_admin.html
Normal file
24
templates/admin/dashboard_admin.html
Normal file
@@ -0,0 +1,24 @@
|
||||
{% load static %}
|
||||
<div>
|
||||
<canvas id="myChart" width="400" height="200"></canvas>
|
||||
</div>
|
||||
|
||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
||||
<script>
|
||||
const ctx = document.getElementById('myChart').getContext('2d');
|
||||
const chart = new Chart(ctx, {
|
||||
type: 'bar', // Puedes cambiar a 'line', 'pie', etc.
|
||||
data: {
|
||||
labels: ['Ene', 'Feb', 'Mar', 'Abr', 'May'],
|
||||
datasets: [{
|
||||
label: 'Ventas',
|
||||
data: [10, 20, 30, 40, 50],
|
||||
backgroundColor: 'rgba(54, 162, 235, 0.6)',
|
||||
}]
|
||||
},
|
||||
options: {
|
||||
responsive: true,
|
||||
maintainAspectRatio: false
|
||||
}
|
||||
});
|
||||
</script>
|
||||
44
templates/email/activation_email.html
Normal file
44
templates/email/activation_email.html
Normal file
@@ -0,0 +1,44 @@
|
||||
|
||||
<html>
|
||||
<body style="background: #F2F4F7; margin:0; padding:0; font-family: Arial, Helvetica, sans-serif;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#F2F4F7">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<table width="440" cellpadding="0" cellspacing="0" bgcolor="#fff" style="border-radius: 8px; margin: 40px 0;">
|
||||
<tr>
|
||||
<td align="center" bgcolor="#1E40AF" style="padding: 28px 0 12px 0; border-radius: 8px 8px 0 0;">
|
||||
<svg width="48" height="48" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="28" cy="28" r="26" fill="#3B82F6" stroke="#1E40AF" stroke-width="4"/>
|
||||
<ellipse cx="28" cy="34" rx="16" ry="6" fill="#60A5FA"/>
|
||||
<circle cx="28" cy="24" r="12" fill="#F2F4F7"/>
|
||||
<ellipse cx="32" cy="22" rx="3" ry="1.5" fill="#3B82F6"/>
|
||||
<ellipse cx="24" cy="28" rx="2.5" ry="1" fill="#60A5FA"/>
|
||||
</svg>
|
||||
<h2 style="color: #fff; font-size: 22px; font-weight: bold; margin: 12px 0 0 0;">¡Bienvenido, {{ username }}!</h2>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="padding: 28px 32px 0 32px;">
|
||||
<p style="color: #334E68; font-size: 16px; margin: 0 0 20px 0; line-height: 1.5;">Por favor haz clic en el siguiente botón para activar tu cuenta:</p>
|
||||
<table cellpadding="0" cellspacing="0" style="margin: 20px 0 0 0;">
|
||||
<tr>
|
||||
<td align="center" bgcolor="#3B82F6" style="border-radius: 6px;">
|
||||
<a href="{{ activation_link }}" style="display:inline-block; color:#fff; background:#3B82F6; text-decoration:none; font-weight: bold; padding: 14px 32px; font-size: 16px; border-radius: 6px;">Activar cuenta</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="color: #627D98; font-size: 13px; margin-top: 28px;">Si no solicitaste este registro, ignora este correo.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="padding: 24px 32px 0 32px;">
|
||||
<hr style="border: none; border-top: 1px solid #E8ECEF; margin: 24px 0 14px 0; width: 80%;">
|
||||
<p style="color: #B0BCC9; font-size: 12px; margin: 0;">EFC V2 © {{ year|default:2025 }}<br>Todos los derechos reservados.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
44
templates/email/password_reset_email.html
Normal file
44
templates/email/password_reset_email.html
Normal file
@@ -0,0 +1,44 @@
|
||||
|
||||
<html>
|
||||
<body style="background: #F2F4F7; margin:0; padding:0; font-family: Arial, Helvetica, sans-serif;">
|
||||
<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#F2F4F7">
|
||||
<tr>
|
||||
<td align="center">
|
||||
<table width="440" cellpadding="0" cellspacing="0" bgcolor="#fff" style="border-radius: 8px; margin: 40px 0;">
|
||||
<tr>
|
||||
<td align="center" bgcolor="#1E40AF" style="padding: 28px 0 12px 0; border-radius: 8px 8px 0 0;">
|
||||
<svg width="48" height="48" viewBox="0 0 56 56" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="28" cy="28" r="26" fill="#3B82F6" stroke="#1E40AF" stroke-width="4"/>
|
||||
<ellipse cx="28" cy="34" rx="16" ry="6" fill="#60A5FA"/>
|
||||
<circle cx="28" cy="24" r="12" fill="#F2F4F7"/>
|
||||
<ellipse cx="32" cy="22" rx="3" ry="1.5" fill="#3B82F6"/>
|
||||
<ellipse cx="24" cy="28" rx="2.5" ry="1" fill="#60A5FA"/>
|
||||
</svg>
|
||||
<h2 style="color: #fff; font-size: 22px; font-weight: bold; margin: 12px 0 0 0;">Restablece tu contraseña</h2>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="padding: 28px 32px 0 32px;">
|
||||
<p style="color: #334E68; font-size: 16px; margin: 0 0 20px 0; line-height: 1.5;">Hola, <b>{{ username }}</b>.<br>Para restablecer tu contraseña haz clic en el siguiente botón:</p>
|
||||
<table cellpadding="0" cellspacing="0" style="margin: 20px 0 0 0;">
|
||||
<tr>
|
||||
<td align="center" bgcolor="#3B82F6" style="border-radius: 6px;">
|
||||
<a href="{{ reset_link }}" style="display:inline-block; color:#fff; background:#3B82F6; text-decoration:none; font-weight: bold; padding: 14px 32px; font-size: 16px; border-radius: 6px;">Restablecer contraseña</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p style="color: #627D98; font-size: 13px; margin-top: 28px;">Si no solicitaste este cambio, ignora este correo.</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center" style="padding: 24px 32px 0 32px;">
|
||||
<hr style="border: none; border-top: 1px solid #E8ECEF; margin: 24px 0 14px 0; width: 80%;">
|
||||
<p style="color: #B0BCC9; font-size: 12px; margin: 0;">EFC V2 © {{ year|default:2025 }}<br>Todos los derechos reservados.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user