1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-21 01:49:57 +02:00
Sonarr/NzbDrone.Web/Views/Settings/Plex.cshtml

60 lines
2.7 KiB
Plaintext
Raw Normal View History

@using NzbDrone.Web.Helpers
@model NzbDrone.Web.Models.NotificationSettingsModel
@{
Layout = null;
}
<div class="notifier">
<label class="labelClass">@Html.LabelFor(m => m.PlexEnabled)
2012-02-26 00:21:41 +03:00
<span class="small">@Html.DescriptionFor(m => m.PlexEnabled)</span>
</label>
@Html.CheckBoxFor(m => m.PlexEnabled, new { @class = "inputClass checkClass" })
<label class="labelClass">@Html.LabelFor(m => m.PlexNotifyOnGrab)
2012-02-26 00:21:41 +03:00
<span class="small">@Html.DescriptionFor(m => m.PlexNotifyOnGrab)</span>
</label>
@Html.CheckBoxFor(m => m.PlexNotifyOnGrab, new { @class = "inputClass checkClass" })
<label class="labelClass">@Html.LabelFor(m => m.PlexNotifyOnDownload)
2012-02-26 00:21:41 +03:00
<span class="small">@Html.DescriptionFor(m => m.PlexNotifyOnDownload)</span>
</label>
@Html.CheckBoxFor(m => m.PlexNotifyOnDownload, new { @class = "inputClass checkClass" })
<label class="labelClass">@Html.LabelFor(m => m.PlexUpdateLibrary)
2012-02-26 00:21:41 +03:00
<span class="small">@Html.DescriptionFor(m => m.PlexUpdateLibrary)</span>
</label>
@Html.CheckBoxFor(m => m.PlexUpdateLibrary, new { @class = "inputClass checkClass" })
<label class="labelClass">@Html.LabelFor(m => m.PlexServerHost)
2012-02-26 00:21:41 +03:00
<span class="small">@Html.DescriptionFor(m => m.PlexServerHost)</span>
<span class="small">@Html.ValidationMessageFor(m => m.PlexServerHost)</span>
</label>
@Html.TextBoxFor(m => m.PlexServerHost, new { @class = "inputClass" })
<label class="labelClass">@Html.LabelFor(m => m.PlexClientHosts)
2012-02-26 00:21:41 +03:00
<span class="small">@Html.DescriptionFor(m => m.PlexClientHosts)</span>
<span class="small">@Html.ValidationMessageFor(m => m.PlexClientHosts)</span>
</label>
@Html.TextBoxFor(m => m.PlexClientHosts, new { @class = "inputClass" })
<label class="labelClass">@Html.LabelFor(m => m.PlexUsername)
2012-02-26 00:21:41 +03:00
<span class="small">@Html.DescriptionFor(m => m.PlexUsername)</span>
</label>
@Html.TextBoxFor(m => m.PlexUsername, new { @class = "inputClass" })
<label class="labelClass">@Html.LabelFor(m => m.PlexPassword)
2012-02-26 00:21:41 +03:00
<span class="small">@Html.DescriptionFor(m => m.PlexPassword)</span>
</label>
@Html.TextBoxFor(m => m.PlexPassword, new { @class = "inputClass", type = "password" })
<label class="labelClass">Test Notification
<span class="small">Sends a test notification to your Plex client(s)</span>
</label>
<input type="button" id="plex-test-notification" value="Test Notification" class="inputClass"/>
<label class="labelClass">Test Server
<span class="small">Test Plex server settings</span>
</label>
<input type="button" id="plex-test-server" value="Test Server" class="inputClass"/>
</div>