- aggiornata la grafica della Home di RISO

- Profilo Completition
- Email Verificata
- Invita un Amico (invio di email)
This commit is contained in:
Surya Paolo
2025-11-15 19:38:55 +01:00
parent 26a42b1f30
commit adf1aac10f
312 changed files with 12061 additions and 81773 deletions

View File

@@ -1,71 +0,0 @@
p #{username} (#{name} #{surname}) si è appena Iscritto ad Arcadei Foundation su #{nomeapp}
p Con i seguenti dati di accesso:
span Nome: 
strong #{iscritto.name}<br>
span Cognome:&nbsp;
strong #{iscritto.surname}<br>
span Email:&nbsp;
strong #{iscritto.email}<br>
span Email Secondaria:&nbsp;
strong #{iscritto.email2}<br>
span Indirizzo di Residenza:&nbsp;
strong #{iscritto.residency_address}<br>
span Città di Residenza:&nbsp;
strong #{iscritto.residency_city}<br>
span Provincia:&nbsp;
strong #{iscritto.residency_province}<br>
span CAP:&nbsp;
strong #{iscritto.residency_zipcode}<br>
span Nazione:&nbsp;
strong #{iscritto.residency_country}<br>
span Data di Nascita:&nbsp;
strong #{data_nascita}<br>
span Città di Nascita:&nbsp;
strong #{iscritto.born_city}<br>
span Provincia di Nascita:&nbsp;
strong #{iscritto.born_province}<br>
span Paese di Nascita:&nbsp;
strong #{iscritto.born_country}<br>
span Telefono:&nbsp;
strong #{iscritto.cell_phone}<br>
span Telefono2:&nbsp;
strong #{iscritto.cell_phone2}<br>
span Tipo di Documento :&nbsp;
strong #{iscritto.doctype}<br>
span Numero Documento :&nbsp;
strong #{iscritto.documentnumber}<br>
span Metodo di Pagamento :&nbsp;
strong #{iscritto.metodo_pagamento}<br>
span Quota scelta da versare :&nbsp;
strong #{iscritto.quota_versata}<br>
span Scrivi altre eventuali informazioni o comunicazioni:&nbsp;
strong #{iscritto.altre_comunicazioni}<br>
span Categorie d'Interesse :&nbsp;
strong #{iscritto.categorie_interesse}<br>
p <br>Saluti
style(type="text/css").
html, body {
padding: 0;
margin: 0;
}
p {
font-size: 1rem;
}
.divbtn {
display: flex;
align-items: center;
justify-content: center;
}
.btn-lg {
padding: 5px;
margin: 5px;
font-size: 26px;
cursor: pointer;
color: white;
background: #027be3 !important;
border-radius: 28px;
}

View File

@@ -1 +0,0 @@
=`Nuova Iscrizione Arcadei di ${name} ${surname} (${emailto}) su ${nomeapp}`

View File

@@ -1,42 +1,179 @@
p #{username} (#{name} #{surname}) si è appena Registrato su #{nomeapp}
p Con i seguenti dati di accesso:
span Username:&nbsp;
strong #{username}<br>
span Email:&nbsp;
strong #{emailto}<br>
span Invitante:&nbsp;
strong #{aportador_solidario}<br>
span Nome:&nbsp;
strong #{user.name}<br>
span Cognome:&nbsp;
strong #{user.surname}<br>
span Cellulare:&nbsp;
strong #{user.profile.intcode_cell} #{user.profile.cell}<br>
span Nazionalità:&nbsp;
strong #{user.profile.nationality}<br>
span Gruppo:&nbsp;
strong #{idMyGroup}<br>
p <br>Saluti
style(type="text/css").
html, body {
padding: 0;
doctype html
html(lang="it")
head
meta(charset="UTF-8")
meta(name="viewport" content="width=device-width, initial-scale=1.0")
style(type="text/css").
* {
margin: 0;
}
.divbtn {
display: flex;
align-items: center;
justify-content: center;
}
.btn-lg {
padding: 5px;
margin: 5px;
font-size: 26px;
cursor: pointer;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background-color: #f5f5f5;
padding: 20px;
line-height: 1.6;
}
.email-container {
max-width: 600px;
margin: 0 auto;
background: white;
border-radius: 12px;
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
.email-header {
background: linear-gradient(135deg, #027be3 0%, #0056b3 100%);
color: white;
background: #027be3 !important;
border-radius: 28px;
padding: 32px 24px;
text-align: center;
}
.email-header h1 {
margin: 0;
font-size: 24px;
font-weight: 600;
}
.email-header p {
margin: 8px 0 0 0;
font-size: 14px;
opacity: 0.9;
}
.email-body {
padding: 32px 24px;
}
.user-info {
background: #f8f9fa;
border-radius: 8px;
padding: 20px;
margin-bottom: 24px;
}
.info-row {
display: flex;
padding: 10px 0;
border-bottom: 1px solid #e0e0e0;
}
.info-row:last-child {
border-bottom: none;
}
.info-label {
font-weight: 600;
color: #555;
min-width: 140px;
font-size: 14px;
}
.info-value {
color: #1a1a1a;
font-size: 14px;
flex: 1;
word-break: break-word;
}
.email-footer {
padding: 24px;
text-align: center;
background: #f8f9fa;
color: #777;
font-size: 13px;
}
.highlight {
display: inline-block;
background: #e3f2fd;
color: #027be3;
padding: 2px 8px;
border-radius: 4px;
font-weight: 600;
}
@media only screen and (max-width: 600px) {
body {
padding: 10px;
}
.email-header {
padding: 24px 16px;
}
.email-body {
padding: 24px 16px;
}
.info-row {
flex-direction: column;
}
.info-label {
margin-bottom: 4px;
}
}
}
body
.email-container
.email-header
h1 ✓ Nuova Registrazione su #{nomeapp}
p #{nomeapp || 'Piattaforma'}
.email-body
p(style="margin-bottom: 20px; font-size: 15px; color: #333;")
| L'utente
span.highlight #{username || 'N/D'}
| si è appena registrato sulla piattaforma #{nomeapp}.
.user-info
if username
.info-row
.info-label Username:
.info-value #{username}
if emailto
.info-row
.info-label Email:
.info-value #{emailto}
if user && user.name
.info-row
.info-label Nome:
.info-value #{user.name}
if user && user.surname
.info-row
.info-label Cognome:
.info-value #{user.surname}
if user && user.profile && (user.profile.cell || user.profile.intcode_cell)
.info-row
.info-label Cellulare:
.info-value
| #{user.profile.intcode_cell || ''} #{user.profile.cell || ''}
if user && user.profile && user.profile.nationality
.info-row
.info-label Nazionalità:
.info-value #{user.profile.nationality}
if aportador_solidario
.info-row
.info-label Invitante:
.info-value #{aportador_solidario}
if idMyGroup
.info-row
.info-label Gruppo:
.info-value #{idMyGroup}
.email-footer
p Questa è una email automatica di notifica
p(style="margin-top: 8px; font-size: 12px;")
| © #{new Date().getFullYear()} #{nomeapp || ''}.