2019-11-22 07:36:18 +01:00
|
|
|
|
|
|
|
-if(settings.email.active == "option-smtp")
|
|
|
|
#mail-smtp(data-enabled='true')
|
|
|
|
input(type='text', name='smtp-domain' id='smtp-domain', placeholder='domain', value=settings.email.smtp.domain autofocus)
|
|
|
|
input(type='text', name='smtp-email' id='smtp-email', placeholder='email', value=settings.email.smtp.email , autofocus)
|
|
|
|
input(type='text', name='smtp-pass' id='smtp-pass', placeholder='password', value=settings.email.smtp.password , autofocus)
|
|
|
|
#mail-mg(data-enabled='false')
|
|
|
|
input(type='text', name='mg-domain' id='mg-domain', placeholder='domain', value=settings.email.mailgun.domain autofocus)
|
2020-07-02 22:34:39 +02:00
|
|
|
input(type='text', name='mg-key' id='mg-key', placeholder='api key', value=settings.email.mailgun.key , autofocus)
|
2019-11-22 07:36:18 +01:00
|
|
|
-else if(settings.email.active == "option-mg")
|
|
|
|
#mail-smtp(data-enabled='false')
|
|
|
|
input(type='text', name='smtp-domain' id='smtp-domain', placeholder='domain', value=settings.email.smtp.domain autofocus)
|
|
|
|
input(type='text', name='smtp-email' id='smtp-email', placeholder='email', value=settings.email.smtp.email , autofocus)
|
|
|
|
input(type='text', name='smtp-pass' id='smtp-pass', placeholder='password', value=settings.email.smtp.password , autofocus)
|
|
|
|
#mail-mg(data-enabled='mg')
|
|
|
|
input(type='text', name='mg-domain' id='mg-domain', placeholder='domain', value=settings.email.mailgun.domain autofocus)
|
2020-07-02 22:34:39 +02:00
|
|
|
input(type='text', name='mg-key' id='mg-key', placeholder='api key', value=settings.email.mailgun.key , autofocus)
|
2019-11-22 07:36:18 +01:00
|
|
|
-else
|
|
|
|
#mail-smtp(data-enabled='false')
|
|
|
|
input(type='text', name='smtp-domain' id='smtp-domain', placeholder='domain', value=settings.email.smtp.domain autofocus)
|
|
|
|
input(type='text', name='smtp-email' id='smtp-email', placeholder='email', value=settings.email.smtp.email , autofocus)
|
|
|
|
input(type='text', name='smtp-pass' id='smtp-pass', placeholder='password', value=settings.email.smtp.password , autofocus)
|
|
|
|
#mail-mg(data-enabled='false')
|
|
|
|
input(type='text', name='mg-domain' id='mg-domain', placeholder='domain', value=settings.email.mailgun.domain autofocus)
|
2020-07-02 22:34:39 +02:00
|
|
|
input(type='text', name='mg-key' id='mg-key', placeholder='api key', value=settings.email.mailgun.key , autofocus)
|