Radarr/NzbDrone.Web/Views/Settings/Growl.cshtml

39 lines
1.7 KiB
Plaintext
Raw Normal View History

2011-11-02 07:09:52 +00:00
@using NzbDrone.Web.Helpers
@model NzbDrone.Web.Models.NotificationSettingsModel
@{
Layout = null;
}
2011-11-26 20:34:28 +00:00
<div class="notifier">
2011-11-02 07:09:52 +00:00
<label class="labelClass">@Html.LabelFor(m => m.GrowlEnabled)
2012-02-25 21:21:41 +00:00
<span class="small">@Html.DescriptionFor(m => m.GrowlEnabled)</span>
2011-11-02 07:09:52 +00:00
</label>
@Html.CheckBoxFor(m => m.GrowlEnabled, new { @class = "inputClass checkClass" })
<label class="labelClass">@Html.LabelFor(m => m.GrowlNotifyOnGrab)
2012-02-25 21:21:41 +00:00
<span class="small">@Html.DescriptionFor(m => m.GrowlNotifyOnGrab)</span>
2011-11-02 07:09:52 +00:00
</label>
@Html.CheckBoxFor(m => m.GrowlNotifyOnGrab, new { @class = "inputClass checkClass" })
<label class="labelClass">@Html.LabelFor(m => m.GrowlNotifyOnDownload)
2012-02-25 21:21:41 +00:00
<span class="small">@Html.DescriptionFor(m => m.GrowlNotifyOnDownload)</span>
2011-11-02 07:09:52 +00:00
</label>
@Html.CheckBoxFor(m => m.GrowlNotifyOnDownload, new { @class = "inputClass checkClass" })
<label class="labelClass">@Html.LabelFor(m => m.GrowlHost)
2012-02-25 21:21:41 +00:00
<span class="small">@Html.DescriptionFor(m => m.GrowlHost)</span>
<span class="small">@Html.ValidationMessageFor(m => m.GrowlHost)</span>
2011-11-02 07:09:52 +00:00
</label>
@Html.TextBoxFor(m => m.GrowlHost, new { @class = "inputClass" })
<label class="labelClass">@Html.LabelFor(m => m.GrowlPassword)
2012-02-25 21:21:41 +00:00
<span class="small">@Html.DescriptionFor(m => m.GrowlPassword)</span>
2011-11-02 07:09:52 +00:00
</label>
@Html.TextBoxFor(m => m.GrowlPassword, new { @class = "inputClass", type = "password" })
<label class="labelClass">Register & Test
2012-02-25 21:21:41 +00:00
<span class="small">Register NzbDrone in Growl, must be done before notifications will work</span>
</label>
<input type="button" onclick="registerGrowl();" value="Register & Test" class="inputClass"/>
2011-11-02 07:09:52 +00:00
</div>