- aggiornato la Guida Completa e Breve di RISO. - pagina per ricevere i RIS. - sistemato problema creazione nuovi Circuiti (admin non corretti). - corretto giro delle email, invitante, invitato e ricezione msg su telegram.
472 lines
11 KiB
Plaintext
Executable File
472 lines
11 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: 80px;
|
|
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, #2E7D32 0%, #1B5E20 100%);
|
|
color: white;
|
|
padding: 40px 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.email-header h1 {
|
|
margin: 0 0 8px 0;
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.email-header p {
|
|
margin: 8px 0 0 0;
|
|
font-size: 16px;
|
|
opacity: 0.95;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.welcome-icon {
|
|
font-size: 48px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.email-body {
|
|
padding: 24px 20px;
|
|
}
|
|
|
|
.intro-text {
|
|
font-size: 16px;
|
|
color: #333;
|
|
margin-bottom: 20px;
|
|
text-align: center;
|
|
line-height: 1.7;
|
|
padding: 0 10px;
|
|
}
|
|
|
|
.intro-text strong {
|
|
color: #2E7D32;
|
|
}
|
|
|
|
.welcome-message {
|
|
background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
|
|
border-left: 4px solid #2E7D32;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
margin-bottom: 24px;
|
|
text-align: center;
|
|
}
|
|
|
|
.welcome-message h2 {
|
|
color: #1B5E20;
|
|
font-size: 20px;
|
|
margin-bottom: 12px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.welcome-message p {
|
|
color: #2E7D32;
|
|
font-size: 15px;
|
|
line-height: 1.6;
|
|
margin: 8px 0;
|
|
}
|
|
|
|
.credentials-box {
|
|
background: #f8f9fa;
|
|
border-left: 4px solid #2E7D32;
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.credentials-title {
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: #555;
|
|
margin-bottom: 12px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.5px;
|
|
}
|
|
|
|
.credential-row {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 8px 0;
|
|
border-bottom: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.credential-row:last-child {
|
|
border-bottom: none;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.credential-label {
|
|
font-weight: 600;
|
|
color: #666;
|
|
min-width: 120px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.credential-value {
|
|
color: #1a1a1a;
|
|
font-size: 15px;
|
|
font-weight: 500;
|
|
flex: 1;
|
|
word-break: break-word;
|
|
}
|
|
|
|
.credential-value a {
|
|
color: #2E7D32;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.credential-value a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.cta-section {
|
|
margin: 24px 0;
|
|
padding: 20px 0;
|
|
border-top: 1px solid #e0e0e0;
|
|
border-bottom: 1px solid #e0e0e0;
|
|
}
|
|
|
|
.cta-title {
|
|
font-size: 19px;
|
|
font-weight: 600;
|
|
color: #1a1a1a;
|
|
margin-bottom: 8px;
|
|
text-align: center;
|
|
}
|
|
|
|
.cta-subtitle {
|
|
font-size: 14px;
|
|
color: #666;
|
|
margin-bottom: 16px;
|
|
text-align: center;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.cta-buttons-wrapper {
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: center;
|
|
align-items: stretch;
|
|
flex-wrap: wrap;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.cta-button {
|
|
display: inline-block;
|
|
padding: 16px 28px;
|
|
font-size: 15px;
|
|
font-weight: 600;
|
|
color: white;
|
|
background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
|
|
border-radius: 50px;
|
|
text-decoration: none;
|
|
box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
|
|
transition: transform 0.2s, box-shadow 0.2s;
|
|
flex: 1;
|
|
min-width: 160px;
|
|
max-width: 200px;
|
|
text-align: center;
|
|
}
|
|
|
|
.cta-button:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 6px 16px rgba(46, 125, 50, 0.4);
|
|
}
|
|
|
|
.cta-button-secondary {
|
|
background: linear-gradient(135deg, #388E3C 0%, #2E7D32 100%);
|
|
box-shadow: 0 4px 12px rgba(56, 142, 60, 0.3);
|
|
}
|
|
|
|
.cta-button-secondary:hover {
|
|
box-shadow: 0 6px 16px rgba(56, 142, 60, 0.4);
|
|
}
|
|
|
|
.cta-button-tertiary {
|
|
background: linear-gradient(135deg, #66BB6A 0%, #4CAF50 100%);
|
|
box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
|
|
}
|
|
|
|
.cta-button-tertiary:hover {
|
|
box-shadow: 0 6px 16px rgba(76, 175, 80, 0.4);
|
|
}
|
|
|
|
.button-icon {
|
|
font-size: 18px;
|
|
margin-right: 6px;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.next-steps {
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
padding: 20px;
|
|
margin: 24px 0;
|
|
}
|
|
|
|
.next-steps-title {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
color: #2E7D32;
|
|
margin-bottom: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.step-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
padding: 12px;
|
|
margin-bottom: 12px;
|
|
background: #f8fdf9;
|
|
border-radius: 8px;
|
|
border-left: 3px solid #4CAF50;
|
|
}
|
|
|
|
.step-number {
|
|
background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
|
|
color: white;
|
|
width: 32px;
|
|
height: 32px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
margin-right: 12px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.step-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.step-content h3 {
|
|
font-size: 16px;
|
|
color: #1B5E20;
|
|
margin-bottom: 4px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.step-content p {
|
|
font-size: 14px;
|
|
color: #555;
|
|
line-height: 1.5;
|
|
margin: 0;
|
|
}
|
|
|
|
.info-box {
|
|
background: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
margin-top: 20px;
|
|
text-align: center;
|
|
border: 1px solid #A5D6A7;
|
|
}
|
|
|
|
.info-box p {
|
|
margin: 0;
|
|
color: #1B5E20;
|
|
font-size: 14px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.info-box strong {
|
|
color: #2E7D32;
|
|
}
|
|
|
|
.community-note {
|
|
background: #fff3e0;
|
|
border-left: 4px solid #FF9800;
|
|
border-radius: 8px;
|
|
padding: 16px;
|
|
margin: 20px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
.community-note p {
|
|
color: #E65100;
|
|
font-size: 14px;
|
|
margin: 0;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.email-footer {
|
|
padding: 20px 16px;
|
|
text-align: center;
|
|
background: #f8f9fa;
|
|
color: #777;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.email-footer p {
|
|
margin: 6px 0;
|
|
}
|
|
|
|
.divider {
|
|
height: 1px;
|
|
background: linear-gradient(to right, transparent, #e0e0e0, transparent);
|
|
margin: 24px 0;
|
|
}
|
|
|
|
@media only screen and (max-width: 600px) {
|
|
body {
|
|
padding: 8px;
|
|
}
|
|
|
|
.email-header {
|
|
padding: 24px 16px;
|
|
}
|
|
|
|
.email-header h1 {
|
|
font-size: 24px;
|
|
}
|
|
|
|
.email-header p {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.email-body {
|
|
padding: 20px 14px;
|
|
}
|
|
|
|
.welcome-message {
|
|
padding: 16px;
|
|
}
|
|
|
|
.credentials-box {
|
|
padding: 16px 12px;
|
|
}
|
|
|
|
.credential-row {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.credential-label {
|
|
margin-bottom: 4px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.credential-value {
|
|
font-size: 14px;
|
|
}
|
|
|
|
.cta-buttons-wrapper {
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
}
|
|
|
|
.cta-button {
|
|
padding: 14px 24px;
|
|
font-size: 15px;
|
|
width: 100%;
|
|
max-width: 100%;
|
|
min-width: 100%;
|
|
}
|
|
|
|
.step-item {
|
|
padding: 10px;
|
|
}
|
|
|
|
.step-number {
|
|
width: 28px;
|
|
height: 28px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.step-content h3 {
|
|
font-size: 15px;
|
|
}
|
|
|
|
.step-content p {
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
|
|
body
|
|
.email-container
|
|
.email-header
|
|
- var baseimg = baseurl + '/';
|
|
img.header-logo(src=baseimg+"images/logo.png" alt=nomeapp || 'Logo')
|
|
h1 💚 #{name || username ? ',' : ''} Benvenuto/a nella piattaforma #{nomeapp} 💚 !
|
|
|
|
.email-body
|
|
.welcome-message
|
|
if ammessoUtente
|
|
h2 🎉 Il tuo invitante #{nomeInvitante} ti ha ammesso!
|
|
p Sei ora un membro attivo della Rete Italiana di Scambio Orizzontale
|
|
p Inizia subito a scoprire beni, servizi e ospitalità nella tua comunità territoriale
|
|
|
|
.credentials-box
|
|
.credentials-title 📋 I tuoi dati di accesso
|
|
|
|
if username
|
|
.credential-row
|
|
.credential-label Username:
|
|
.credential-value #{username}
|
|
|
|
if emailto
|
|
.credential-row
|
|
.credential-label Email:
|
|
.credential-value #{emailto}
|
|
|
|
if forgetpwd
|
|
.credential-row
|
|
.credential-label Password:
|
|
.credential-value
|
|
| (la password che hai inserito)
|
|
br
|
|
a(href=forgetpwd target="_blank") Hai dimenticato la password?
|
|
|
|
.cta-section
|
|
.cta-title 🚀 Accedi e inizia il tuo viaggio
|
|
.cta-subtitle Scegli come vuoi accedere alla piattaforma
|
|
|
|
if strlinksito
|
|
.cta-buttons-wrapper
|
|
a.cta-button(href=strlinksito target="_blank")
|
|
span.button-icon 🌐
|
|
| Accedi da Web
|
|
|
|
.email-footer
|
|
.divider
|
|
p 💚 Benvenuto/a nella famiglia #{nomeapp}!
|
|
p(style="margin-top: 8px;") Hai ricevuto questa email perché sei stato/a ammesso/a nella community di #{nomeapp}
|
|
p(style="margin-top: 12px; font-size: 12px;")
|
|
| © #{new Date().getFullYear()} #{nomeapp}
|