本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
1.1KB

  1. <div class="smtp field {{if not (eq .type 3)}}hide{{end}}">
  2. <div class="inline required field">
  3. <label>{{.i18n.Tr "admin.auths.smtp_auth"}}</label>
  4. <div class="ui selection type dropdown">
  5. <input type="hidden" id="smtp_auth" name="smtp_auth" value="{{.smtp_auth}}">
  6. <div class="text">{{.smtp_auth}}</div>
  7. <i class="dropdown icon"></i>
  8. <div class="menu">
  9. {{range .SMTPAuths}}
  10. <div class="item" data-value="{{.}}">{{.}}</div>
  11. {{end}}
  12. </div>
  13. </div>
  14. </div>
  15. <div class="required field">
  16. <label for="smtp_host">{{.i18n.Tr "admin.auths.smtphost"}}</label>
  17. <input id="smtp_host" name="smtp_host" value="{{.smtp_host}}">
  18. </div>
  19. <div class="required field">
  20. <label for="smtp_port">{{.i18n.Tr "admin.auths.smtpport"}}</label>
  21. <input id="smtp_port" name="smtp_port" value="{{.smtp_port}}">
  22. </div>
  23. <div class="field">
  24. <label for="allowed_domains">{{.i18n.Tr "admin.auths.allowed_domains"}}</label>
  25. <input id="allowed_domains" name="allowed_domains" value="{{.allowed_domains}}">
  26. <p class="help">{{.i18n.Tr "admin.auths.allowed_domains_helper"}}</p>
  27. </div>
  28. </div>
上海开阖软件有限公司 沪ICP备12045867号-1