1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-23 23:29:42 +02:00
documize/gui/app/templates/components/customize/global-settings.hbs

49 lines
1.9 KiB
Handlebars
Raw Normal View History

2017-03-23 18:28:42 +00:00
<form>
2016-11-08 18:20:34 -08:00
<div class="form-header">
2017-02-22 20:03:40 -08:00
<div class="title">Mail Server Settings</div>
<div class="tip">Used for sending email notifications</div>
</div>
2016-11-08 18:20:34 -08:00
<div class="input-control">
<label>SMTP Host</label>
<div class="tip">e.g. my.host.com</div>
2017-02-22 20:03:40 -08:00
{{focus-input id="smtp-host" type="text" value=model.smtp.host class=(if SMTPHostEmptyError 'error')}}
2016-11-08 18:20:34 -08:00
</div>
<div class="input-control">
<label>SMTP Port</label>
<div class="tip">e.g. 587</div>
2017-02-22 20:03:40 -08:00
{{input id="smtp-port" type="text" value=model.smtp.port class=(if SMTPPortEmptyError 'error')}}
2016-11-08 18:20:34 -08:00
</div>
<div class="input-control">
<label>SMTP Sender</label>
<div class="tip">e.g. noreply@documize.com</div>
2017-02-22 20:03:40 -08:00
{{input id="smtp-sender" type="text" value=model.smtp.sender class=(if SMTPSenderEmptyError 'error')}}
2016-11-08 18:20:34 -08:00
</div>
<div class="input-control">
<label>SMTP User ID</label>
<div class="tip">Your credentials</div>
2017-02-22 20:03:40 -08:00
{{input id="smtp-userid" type="text" value=model.smtp.userid class=(if SMTPUserIdEmptyError 'error')}}
2016-11-08 18:20:34 -08:00
</div>
<div class="input-control">
<label>SMTP Password</label>
<div class="tip">Your credentials</div>
2017-02-22 20:03:40 -08:00
{{input id="smtp-password" type="text" value=model.smtp.password class=(if SMTPPasswordEmptyError 'error')}}
</div>
2017-02-22 20:03:40 -08:00
<div class="regular-button button-blue" {{ action 'saveSMTP' }}>save</div>
</form>
<div class="margin-top-50">
</div>
<form class="form-bordered">
<div class="form-header">
2017-02-23 10:29:51 -08:00
<div class="title">Optional Edition License</div>
<div class="tip">Only applies to Enterprise Edition</div>
2017-02-22 20:03:40 -08:00
</div>
<div class="input-control">
2017-02-23 10:29:51 -08:00
<label>License</label>
<div class="tip">XML format accepted</div>
2017-02-23 16:39:23 -08:00
{{textarea value=model.license rows="15"}}
2017-02-22 20:03:40 -08:00
</div>
<div class="regular-button button-blue" {{ action 'saveLicense' }}>save</div>
</form>