2011-10-27 08:46:54 +03:00
|
|
|
@using NzbDrone.Web.Helpers
|
|
|
|
@model NzbDrone.Web.Models.NotificationSettingsModel
|
|
|
|
|
|
|
|
@{
|
|
|
|
Layout = null;
|
|
|
|
}
|
|
|
|
|
2011-11-26 23:34:28 +03:00
|
|
|
<div class="notifier">
|
2011-10-27 08:46:54 +03:00
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SmtpEnabled)
|
2012-02-26 00:21:41 +03:00
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SmtpEnabled)</span>
|
2011-10-27 08:46:54 +03:00
|
|
|
</label>
|
|
|
|
@Html.CheckBoxFor(m => m.SmtpEnabled, new { @class = "inputClass checkClass" })
|
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SmtpNotifyOnGrab)
|
2012-02-26 00:21:41 +03:00
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SmtpNotifyOnGrab)</span>
|
2011-10-27 08:46:54 +03:00
|
|
|
</label>
|
|
|
|
@Html.CheckBoxFor(m => m.SmtpNotifyOnGrab, new { @class = "inputClass checkClass" })
|
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SmtpNotifyOnDownload)
|
2012-02-26 00:21:41 +03:00
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SmtpNotifyOnDownload)</span>
|
2011-10-27 08:46:54 +03:00
|
|
|
</label>
|
|
|
|
@Html.CheckBoxFor(m => m.SmtpNotifyOnDownload, new { @class = "inputClass checkClass" })
|
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SmtpServer)
|
2012-02-26 00:21:41 +03:00
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SmtpServer)</span>
|
|
|
|
<span class="small">@Html.ValidationMessageFor(m => m.SmtpServer)</span>
|
2011-10-27 08:46:54 +03:00
|
|
|
</label>
|
|
|
|
@Html.TextBoxFor(m => m.SmtpServer, new { @class = "inputClass" })
|
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SmtpPort)
|
2012-02-26 00:21:41 +03:00
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SmtpPort)</span>
|
|
|
|
<span class="small">@Html.ValidationMessageFor(m => m.SmtpPort)</span>
|
2011-10-27 08:46:54 +03:00
|
|
|
</label>
|
|
|
|
@Html.TextBoxFor(m => m.SmtpPort, new { @class = "inputClass" })
|
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SmtpUseSsl)
|
2012-02-26 00:21:41 +03:00
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SmtpUseSsl)</span>
|
2011-10-27 08:46:54 +03:00
|
|
|
</label>
|
|
|
|
@Html.CheckBoxFor(m => m.SmtpUseSsl, new { @class = "inputClass checkClass" })
|
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SmtpUsername)
|
2012-02-26 00:21:41 +03:00
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SmtpUsername)</span>
|
2011-10-27 08:46:54 +03:00
|
|
|
</label>
|
|
|
|
@Html.TextBoxFor(m => m.SmtpUsername, new { @class = "inputClass" })
|
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SmtpPassword)
|
2012-02-26 00:21:41 +03:00
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SmtpPassword)</span>
|
2011-10-27 08:46:54 +03:00
|
|
|
</label>
|
2012-01-23 21:57:15 +03:00
|
|
|
@Html.TextBoxFor(m => m.SmtpPassword, new { @class = "inputClass", type = "password" })
|
2011-10-27 08:46:54 +03:00
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SmtpFromAddress)
|
2012-02-26 00:21:41 +03:00
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SmtpFromAddress)</span>
|
|
|
|
<span class="small">@Html.ValidationMessageFor(m => m.SmtpFromAddress)</span>
|
2011-10-27 08:46:54 +03:00
|
|
|
</label>
|
|
|
|
@Html.TextBoxFor(m => m.SmtpFromAddress, new { @class = "inputClass" })
|
|
|
|
|
|
|
|
<label class="labelClass">@Html.LabelFor(m => m.SmtpToAddresses)
|
2012-02-26 00:21:41 +03:00
|
|
|
<span class="small">@Html.DescriptionFor(m => m.SmtpToAddresses)</span>
|
|
|
|
<span class="small">@Html.ValidationMessageFor(m => m.SmtpToAddresses)</span>
|
2011-10-27 08:46:54 +03:00
|
|
|
</label>
|
|
|
|
@Html.TextBoxFor(m => m.SmtpToAddresses, new { @class = "inputClass" })
|
|
|
|
|
2012-02-27 04:54:55 +03:00
|
|
|
<input type="button" onclick="testSmtpSettings();" value="Send Test email" id="smtpTest"/>
|
2011-11-30 03:45:45 +03:00
|
|
|
</div>
|