1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-28 20:39:59 +00:00
calibre-web/cps/templates/email_edit.html

35 lines
1.5 KiB
HTML
Raw Normal View History

2015-08-02 19:23:24 +00:00
{% extends "layout.html" %}
{% block body %}
<div class="discover">
<h1>{{title}}</h1>
<form role="form" method="POST">
<div class="form-group">
<label for="mail_server">SMTP hostname</label>
<input type="text" class="form-control" name="mail_server" id="mail_server" value="{{content.mail_server}}">
</div>
<div class="form-group">
2016-03-28 19:07:13 +00:00
<label for="mail_port">SMTP port (usually 25 for plain SMTP and 587 for SSL)</label>
2015-08-02 19:23:24 +00:00
<input type="text" class="form-control" name="mail_port" id="mail_port" value="{{content.mail_port}}">
</div>
2016-03-27 21:36:51 +00:00
<div class="form-group">
2016-03-28 19:07:13 +00:00
<label for="mail_use_ssl">Server uses SSL (StartTLS)</label>
2016-03-27 21:36:51 +00:00
<input type="checkbox" name="mail_use_ssl" id="mail_use_ssl" {% if content.mail_use_ssl %}checked{% endif %}>
</div>
2015-08-02 19:23:24 +00:00
<div class="form-group">
<label for="mail_login">SMTP login</label>
<input type="text" class="form-control" name="mail_login" id="mail_login" value="{{content.mail_login}}">
</div>
<div class="form-group">
<label for="mail_password">SMTP password</label>
<input type="password" class="form-control" name="mail_password" id="mail_password" value="{{content.mail_password}}">
</div>
<div class="form-group">
<label for="mail_from">From e-mail</label>
<input type="text" class="form-control" name="mail_from" id="mail_from" value="{{content.mail_from}}">
</div>
<button type="submit" class="btn btn-default">Submit</button>
</form>
</div>
{% endblock %}