2011-07-01 22:33:03 +02:00
|
|
|
@using NzbDrone.Web.Helpers
|
|
|
|
@model NzbDrone.Web.Models.NotificationSettingsModel
|
|
|
|
|
|
|
|
@section HeaderContent{
|
2011-11-11 20:24:51 +01:00
|
|
|
<link rel="stylesheet" type="text/css" href="../../Content/Settings.css" />
|
2011-07-01 22:33:03 +02:00
|
|
|
|
|
|
|
<style>
|
|
|
|
.notifier
|
|
|
|
{
|
|
|
|
width: 560px;
|
|
|
|
padding: 5px;
|
2011-10-27 07:46:54 +02:00
|
|
|
margin-left: -8px;
|
2011-11-26 21:34:28 +01:00
|
|
|
overflow: auto;
|
2011-07-01 22:33:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.notifier h4
|
|
|
|
{
|
|
|
|
font-weight: bold;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
padding-left: 5px;
|
|
|
|
padding-top: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.notifierLine
|
|
|
|
{
|
|
|
|
font-size:11px;
|
|
|
|
color:#666666;
|
|
|
|
margin-bottom:20px;
|
|
|
|
border-bottom:solid 1px #CCCCCD;
|
|
|
|
padding-bottom:10px;
|
|
|
|
}
|
2011-10-27 07:46:54 +02:00
|
|
|
|
|
|
|
#save_button
|
|
|
|
{
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
2011-07-01 22:33:03 +02:00
|
|
|
</style>
|
2011-04-21 03:43:09 +02:00
|
|
|
}
|
2011-07-01 22:33:03 +02:00
|
|
|
|
|
|
|
@section TitleContent{
|
2011-11-27 07:02:32 +01:00
|
|
|
Settings > Notifications
|
2011-07-01 22:33:03 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@section ActionMenu{
|
|
|
|
@{Html.RenderPartial("SubMenu");}
|
|
|
|
}
|
|
|
|
|
|
|
|
@section MainContent{
|
|
|
|
<div id="stylized">
|
|
|
|
@using (Html.BeginForm("SaveNotifications", "Settings", FormMethod.Post, new { id = "form", name = "form", @class = "settingsForm" }))
|
2011-11-27 07:02:32 +01:00
|
|
|
{
|
2011-10-27 07:46:54 +02:00
|
|
|
<div id="tabs">
|
|
|
|
<ul>
|
|
|
|
<li><a href="#tabs-xbmc">XBMC</a></li>
|
|
|
|
<li><a href="#tabs-smtp">SMTP</a></li>
|
2011-10-28 10:14:13 +02:00
|
|
|
<li><a href="#tabs-twitter">Twitter</a></li>
|
2011-11-02 08:09:52 +01:00
|
|
|
<li><a href="#tabs-growl">Growl</a></li>
|
2011-11-03 05:01:44 +01:00
|
|
|
<li><a href="#tabs-prowl">Prowl</a></li>
|
2011-10-27 07:46:54 +02:00
|
|
|
</ul>
|
|
|
|
<div id="tabs-xbmc">
|
|
|
|
@{Html.RenderPartial("Xbmc", Model);}
|
|
|
|
</div>
|
|
|
|
<div id="tabs-smtp">
|
|
|
|
@{Html.RenderPartial("Smtp", Model);}
|
|
|
|
</div>
|
2011-10-28 10:14:13 +02:00
|
|
|
<div id="tabs-twitter">
|
|
|
|
@{Html.RenderPartial("Twitter", Model);}
|
|
|
|
</div>
|
2011-11-02 08:09:52 +01:00
|
|
|
<div id="tabs-growl">
|
|
|
|
@{Html.RenderPartial("Growl", Model);}
|
|
|
|
</div>
|
2011-11-03 03:44:22 +01:00
|
|
|
<div id="tabs-prowl">
|
|
|
|
@{Html.RenderPartial("Prowl", Model);}
|
|
|
|
</div>
|
2011-07-01 22:33:03 +02:00
|
|
|
</div>
|
|
|
|
|
2011-08-08 23:50:48 +02:00
|
|
|
<button type="submit" id="save_button" disabled="disabled">Save</button>
|
2011-06-28 04:24:42 +02:00
|
|
|
}
|
2011-07-01 22:33:03 +02:00
|
|
|
</div>
|
|
|
|
}
|
|
|
|
|
|
|
|
@section Scripts{
|
2011-11-11 03:56:33 +01:00
|
|
|
<script src="../../Scripts/NzbDrone/settingsForm.js" type="text/javascript"></script>
|
2011-10-27 07:46:54 +02:00
|
|
|
|
2011-11-26 05:02:29 +01:00
|
|
|
<script type="text/javascript">
|
2011-10-27 07:46:54 +02:00
|
|
|
$(function () {
|
|
|
|
$("#tabs").tabs();
|
|
|
|
});
|
|
|
|
</script>
|
2011-06-28 04:24:42 +02:00
|
|
|
}
|