1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00
Sonarr/NzbDrone.Web/Views/Settings/Growl.cshtml

39 lines
1.7 KiB
Plaintext
Raw Normal View History

2011-11-02 10:09:52 +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-11-02 10:09:52 +03:00
<label class="labelClass">@Html.LabelFor(m => m.GrowlEnabled)
2012-02-26 00:21:41 +03:00
<span class="small">@Html.DescriptionFor(m => m.GrowlEnabled)</span>
2011-11-02 10:09:52 +03:00
</label>
@Html.CheckBoxFor(m => m.GrowlEnabled, new { @class = "inputClass checkClass" })
<label class="labelClass">@Html.LabelFor(m => m.GrowlNotifyOnGrab)
2012-02-26 00:21:41 +03:00
<span class="small">@Html.DescriptionFor(m => m.GrowlNotifyOnGrab)</span>
2011-11-02 10:09:52 +03:00
</label>
@Html.CheckBoxFor(m => m.GrowlNotifyOnGrab, new { @class = "inputClass checkClass" })
<label class="labelClass">@Html.LabelFor(m => m.GrowlNotifyOnDownload)
2012-02-26 00:21:41 +03:00
<span class="small">@Html.DescriptionFor(m => m.GrowlNotifyOnDownload)</span>
2011-11-02 10:09:52 +03:00
</label>
@Html.CheckBoxFor(m => m.GrowlNotifyOnDownload, new { @class = "inputClass checkClass" })
<label class="labelClass">@Html.LabelFor(m => m.GrowlHost)
2012-02-26 00:21:41 +03:00
<span class="small">@Html.DescriptionFor(m => m.GrowlHost)</span>
<span class="small">@Html.ValidationMessageFor(m => m.GrowlHost)</span>
2011-11-02 10:09:52 +03:00
</label>
@Html.TextBoxFor(m => m.GrowlHost, new { @class = "inputClass" })
<label class="labelClass">@Html.LabelFor(m => m.GrowlPassword)
2012-02-26 00:21:41 +03:00
<span class="small">@Html.DescriptionFor(m => m.GrowlPassword)</span>
2011-11-02 10:09:52 +03:00
</label>
@Html.TextBoxFor(m => m.GrowlPassword, new { @class = "inputClass", type = "password" })
<label class="labelClass">Register & Test
2012-02-26 00:21:41 +03: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 10:09:52 +03:00
</div>