Files
freeplanet_serverside/emails/registration/it/html.pug
Surya Paolo c61572a715 - aggiornati form registrazione
- Login
- Password dimenticata
- Aggiorna password.
- Email registrazione
- Ammetti Utente
2025-11-24 17:42:56 +01:00

363 lines
9.0 KiB
Plaintext
Executable File

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;
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;
}
.header-logo {
width: 120px;
height: auto;
margin-bottom: 16px;
display: block;
margin-left: auto;
margin-right: auto;
}
.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, #7cb342 0%, #558b2f 100%);
color: white;
padding: 40px 24px;
text-align: center;
}
.email-header h1 {
margin: 0 0 8px 0;
font-size: 26px;
font-weight: 600;
line-height: 1.3;
}
.email-header .subtitle {
margin: 8px 0 0 0;
font-size: 17px;
opacity: 0.95;
font-style: italic;
}
.welcome-icon {
font-size: 56px;
margin-bottom: 12px;
}
.email-body {
padding: 32px 24px;
}
.intro-text {
font-size: 16px;
color: #333;
margin-bottom: 20px;
text-align: center;
line-height: 1.7;
}
.cta-section {
text-align: center;
margin: 24px 0;
padding: 20px 0;
border-top: 1px solid #e0e0e0;
border-bottom: 1px solid #e0e0e0;
}
.cta-title {
font-size: 18px;
font-weight: 600;
color: #1a1a1a;
margin-bottom: 16px;
}
.cta-button {
display: inline-block;
padding: 16px 48px;
font-size: 18px;
font-weight: 600;
color: white;
background: linear-gradient(135deg, #7cb342 0%, #558b2f 100%);
border-radius: 50px;
text-decoration: none;
box-shadow: 0 4px 12px rgba(124, 179, 66, 0.3);
transition: all 0.3s ease;
}
.button-icon {
font-size: 18px;
margin-right: 8px;
vertical-align: middle;
}
.alternative-link {
margin-top: 16px;
font-size: 13px;
color: #777;
line-height: 1.6;
}
.alternative-link a {
color: #558b2f;
text-decoration: none;
word-break: break-all;
}
.verification-process {
background: #f8f9fa;
border-radius: 8px;
padding: 24px 20px;
margin: 24px 0;
}
.process-title {
font-size: 18px;
font-weight: 600;
color: #1a1a1a;
text-align: center;
margin-bottom: 20px;
}
.process-title .icon {
font-size: 24px;
margin-right: 8px;
vertical-align: middle;
}
.process-steps {
margin: 20px 0;
}
.process-step {
display: flex;
align-items: flex-start;
margin-bottom: 20px;
padding: 16px;
background: white;
border-radius: 8px;
border-left: 4px solid #e0e0e0;
}
.process-step.active {
border-left-color: #7cb342;
background: linear-gradient(135deg, #f8fdf8 0%, #e8f5e9 100%);
}
.step-badge {
min-width: 40px;
height: 40px;
border-radius: 50%;
background: #e0e0e0;
color: #666;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 18px;
margin-right: 16px;
flex-shrink: 0;
}
.process-step.active .step-badge {
background: linear-gradient(135deg, #7cb342 0%, #558b2f 100%);
color: white;
}
.step-content {
flex: 1;
}
.step-content h4 {
font-size: 16px;
color: #1a1a1a;
margin-bottom: 6px;
font-weight: 600;
}
.step-content p {
font-size: 15px;
color: #555;
line-height: 1.5;
margin: 0;
}
.info-note {
background: #fff8dc;
border-left: 4px solid #7cb342;
border-radius: 8px;
padding: 14px;
margin-top: 20px;
}
.info-note p {
margin: 0;
font-size: 15px;
color: #1a1a1a;
line-height: 1.6;
}
.info-note strong {
color: #558b2f;
}
.email-footer {
padding: 20px;
text-align: center;
background: #f8f9fa;
color: #777;
font-size: 13px;
}
.email-footer p {
margin: 4px 0;
}
.divider {
height: 1px;
background: linear-gradient(to right, transparent, #e0e0e0, transparent);
margin: 20px 0;
}
@media only screen and (max-width: 600px) {
body {
padding: 10px;
}
.email-header {
padding: 24px 16px;
}
.email-header h1 {
font-size: 22px;
}
.welcome-icon {
font-size: 48px;
}
.email-body {
padding: 20px 16px;
}
.cta-button {
padding: 14px 32px;
font-size: 16px;
width: 100%;
max-width: 300px;
}
.verification-process {
padding: 20px 16px;
}
.process-step {
padding: 12px;
}
.step-badge {
min-width: 36px;
height: 36px;
font-size: 16px;
margin-right: 12px;
}
.step-content h4 {
font-size: 15px;
}
.step-content p {
font-size: 14px;
}
}
body
.email-container
//- Header
.email-header
- var baseimg = baseurl + '/';
img.header-logo(src=baseimg+"images/logo.png" alt=nomeapp || 'RISO')
h1 Benvenuto/a #{name ? name : username} su #{nomeapp}!
p.subtitle Rete Italiana Scambio Orizzontale
//- Body
.email-body
if !verified_email
.intro-text
| Per iniziare il tuo percorso in RISO, verifica il tuo indirizzo email cliccando sul pulsante qui sotto.
.cta-section
.cta-title 🔐 Verifica il tuo account
if strlinkreg
a.cta-button(href=strlinkreg target="_blank")
span.button-icon ✓
| Verifica Email
.alternative-link
| Oppure copia e incolla questo link nel tuo browser:
br
a(href=strlinkreg target="_blank") #{strlinkreg}
//- Processo di verifica
.verification-process
.process-title
span.icon 🌱
| Il tuo percorso di ingresso in RISO
.process-steps
.process-step
.step-badge 1
.step-content
h4 ✓ Verifica la tua email
p Clicca sul pulsante sopra per confermare il tuo indirizzo email.
.process-step.active
.step-badge 2
.step-content
h4 ⏳ In attesa di ammissione
p Il tuo invitante vedrà la tua richiesta. Riceverai un'email appena sarai ammesso!
.process-step
.step-badge 3
.step-content
h4 🎯 Completa il tuo profilo
p Una volta ammesso, potrai completare il tuo profilo e iniziare a fare parte della comunità RISO.
.process-step
.step-badge 4
.step-content
h4 🍚 Inizia a scambiare
p Crea annunci, scambia beni e servizi, e partecipa agli eventi della tua comunità locale!
.info-note
p
strong 💡 Suggerimento:
| Se dovessero passare più di 24 ore senza ammissione, contatta il tuo invitante per ricordargli di approvarti.
//- Footer
.email-footer
.divider
p Hai ricevuto questa email perché ti sei registrato su #{nomeapp || 'RISO'}
p(style="margin-top: 12px; font-size: 12px;")
| #{new Date().getFullYear()} #{nomeapp || 'RISO'} - Rete Italiana Scambi Orizzontali
p(style="margin-top: 8px; font-size: 11px; color: #999;")
| Se non hai richiesto questa registrazione, puoi semplicemente ignorare questa email.
p(style="margin-top: 12px; font-size: 12px;")
| 🍚 Comunità · Fiducia · Scambi Solidali · Sostenibilità