|
|
@ -82,14 +82,13 @@ |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="smtp hidden"> |
|
|
|
<div class="smtp hidden"> |
|
|
|
<div class="form-group {{if .Err_TLS}}has-error has-feedback{{end}}"> |
|
|
|
<div class="form-group"> |
|
|
|
<label class="col-md-3 control-label">SMTP Auth: </label> |
|
|
|
<label class="col-md-3 control-label">SMTP Auth: </label> |
|
|
|
<div class="col-md-7"> |
|
|
|
<div class="col-md-7"> |
|
|
|
<select name="smtpauth" class="form-control"> |
|
|
|
<select name="smtpauth" class="form-control"> |
|
|
|
{{range .SMTPAuths}} |
|
|
|
{{range .SMTPAuths}} |
|
|
|
<option value="{{.}}">{{.}}</option> |
|
|
|
<option value="{{.}}">{{.}}</option> |
|
|
|
{{end}} |
|
|
|
{{end}} |
|
|
|
} |
|
|
|
|
|
|
|
</select> |
|
|
|
</select> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -97,31 +96,42 @@ |
|
|
|
<div class="form-group {{if .Err_Host}}has-error has-feedback{{end}}"> |
|
|
|
<div class="form-group {{if .Err_Host}}has-error has-feedback{{end}}"> |
|
|
|
<label class="col-md-3 control-label">Host: </label> |
|
|
|
<label class="col-md-3 control-label">Host: </label> |
|
|
|
<div class="col-md-7"> |
|
|
|
<div class="col-md-7"> |
|
|
|
<input name="smtphost" class="form-control" placeholder="Type host address" value="{{.host}}"> |
|
|
|
<input name="host" class="form-control" placeholder="Type host address" value="{{.host}}"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group {{if .Err_Port}}has-error has-feedback{{end}}"> |
|
|
|
<div class="form-group {{if .Err_Port}}has-error has-feedback{{end}}"> |
|
|
|
<label class="col-md-3 control-label">Port: </label> |
|
|
|
<label class="col-md-3 control-label">Port: </label> |
|
|
|
<div class="col-md-7"> |
|
|
|
<div class="col-md-7"> |
|
|
|
<input name="smtpport" class="form-control" placeholder="Type port number" value="{{.port}}"> |
|
|
|
<input name="port" class="form-control" placeholder="Type port number" value="{{.port}}"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group {{if .Err_TLS}}has-error has-feedback{{end}}"> |
|
|
|
<!-- <div class="form-group"> |
|
|
|
<label class="col-md-3 control-label">TLS: </label> |
|
|
|
<div class="col-md-offset-3 col-md-7"> |
|
|
|
<div class="col-md-7"> |
|
|
|
<div class="checkbox"> |
|
|
|
<input name="smtptls" type="checkbox" class="form-control" value=""> |
|
|
|
<label> |
|
|
|
|
|
|
|
<input name="tls" type="checkbox" {{if .tls}}checked{{end}}> |
|
|
|
|
|
|
|
<strong>Enable Register Confirmation</strong> |
|
|
|
|
|
|
|
</label> |
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> --> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="form-group {{if .Err_TLS}}has-error has-feedback{{end}}"> |
|
|
|
|
|
|
|
<label class="col-md-3 control-label">Auto Register: </label> |
|
|
|
<div class="form-group"> |
|
|
|
<div class="col-md-7"> |
|
|
|
<div class="col-md-offset-3 col-md-7"> |
|
|
|
<input name="allowautoregister" type="checkbox" class="form-control" value=""> |
|
|
|
<div class="checkbox"> |
|
|
|
|
|
|
|
<label> |
|
|
|
|
|
|
|
<input name="allowautoregister" type="checkbox" {{if .allowautoregister}}checked{{end}}> |
|
|
|
|
|
|
|
<strong>Enable Auto Registeration</strong> |
|
|
|
|
|
|
|
</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<hr/> |
|
|
|
<hr/> |
|
|
|
|
|
|
|
|
|
|
|
<div class="form-group"> |
|
|
|
<div class="form-group"> |
|
|
|
<div class="col-md-offset-3 col-md-7"> |
|
|
|
<div class="col-md-offset-3 col-md-7"> |
|
|
|
<button type="submit" class="btn btn-lg btn-primary">Create new authentication</button> |
|
|
|
<button type="submit" class="btn btn-lg btn-primary">Create new authentication</button> |
|
|
|