mirror of https://github.com/rancher/ui.git
Add email sender
This commit is contained in:
parent
59258216c8
commit
4ad00f6087
|
|
@ -63,6 +63,16 @@
|
||||||
|
|
||||||
<div class="acc-label text-capitalize">{{t 'notifierPage.smtp.server'}}</div>
|
<div class="acc-label text-capitalize">{{t 'notifierPage.smtp.server'}}</div>
|
||||||
<section class="box">
|
<section class="box">
|
||||||
|
<div>
|
||||||
|
<div class="acc-label text-capitalize">{{t 'notifierPage.smtp.sender'}}{{field-required}}</div>
|
||||||
|
{{input
|
||||||
|
type="text"
|
||||||
|
autocomplete="off"
|
||||||
|
classNames="form-control"
|
||||||
|
value=model.smtpConfig.sender
|
||||||
|
}}
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col span-6">
|
<div class="col span-6">
|
||||||
<div class="acc-label text-capitalize">{{t 'notifierPage.smtp.host'}}{{field-required}}</div>
|
<div class="acc-label text-capitalize">{{t 'notifierPage.smtp.host'}}{{field-required}}</div>
|
||||||
|
|
@ -72,7 +82,6 @@
|
||||||
placeholder=(t 'notifierPage.smtp.hostPlaceholder')
|
placeholder=(t 'notifierPage.smtp.hostPlaceholder')
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col span-4">
|
<div class="col span-4">
|
||||||
<div class="acc-label text-capitalize">{{t 'notifierPage.smtp.port'}}{{field-required}}</div>
|
<div class="acc-label text-capitalize">{{t 'notifierPage.smtp.port'}}{{field-required}}</div>
|
||||||
{{input classNames="form-control" value=model.smtpConfig.port placeholder=(t 'notifierPage.smtp.portPlaceholder')}}
|
{{input classNames="form-control" value=model.smtpConfig.port placeholder=(t 'notifierPage.smtp.portPlaceholder')}}
|
||||||
|
|
@ -83,7 +92,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col span-6">
|
<div class="col span-6">
|
||||||
<div class="acc-label text-capitalize">{{t 'notifierPage.smtp.userName'}}{{field-required}}</div>
|
<div class="acc-label text-capitalize">{{t 'notifierPage.smtp.userName'}}</div>
|
||||||
{{input
|
{{input
|
||||||
classNames="form-control"
|
classNames="form-control"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
|
|
@ -92,7 +101,7 @@
|
||||||
}}
|
}}
|
||||||
</div>
|
</div>
|
||||||
<div class="col span-6">
|
<div class="col span-6">
|
||||||
<div class="acc-label text-capitalize">{{t 'notifierPage.smtp.password'}}{{field-required}}</div>
|
<div class="acc-label text-capitalize">{{t 'notifierPage.smtp.password'}}</div>
|
||||||
{{input
|
{{input
|
||||||
type="password"
|
type="password"
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
|
|
|
||||||
|
|
@ -1345,6 +1345,7 @@ notifierPage:
|
||||||
hostPlaceholder: e.g. 192.168.1.121
|
hostPlaceholder: e.g. 192.168.1.121
|
||||||
port: Port
|
port: Port
|
||||||
portPlaceholder: e.g. 465
|
portPlaceholder: e.g. 465
|
||||||
|
sender: Sender
|
||||||
userName: Username
|
userName: Username
|
||||||
userNamePlaceholder: e.g. John
|
userNamePlaceholder: e.g. John
|
||||||
password: Password
|
password: Password
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue