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

94 lines
2.5 KiB
Plaintext
Raw Normal View History

2011-07-01 23:33:03 +03:00
@using NzbDrone.Web.Helpers
@model NzbDrone.Web.Models.NotificationSettingsModel
@section HeaderContent{
<link rel="stylesheet" type="text/css" href="../../Content/Settings.css" />
2011-07-01 23:33:03 +03:00
<style>
.notifier
{
width: 560px;
border:solid 2px #CCCCCD;
padding: 5px;
margin-left: -8px;
2011-07-01 23:33:03 +03: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;
}
#save_button
{
margin-top: 10px;
}
2011-07-01 23:33:03 +03:00
</style>
}
2011-07-01 23:33:03 +03:00
@section TitleContent{
Settings
}
@section ActionMenu{
@{Html.RenderPartial("SubMenu");}
}
@section MainContent{
<div id="stylized">
@using (Html.BeginForm("SaveNotifications", "Settings", FormMethod.Post, new { id = "form", name = "form", @class = "settingsForm" }))
{
<h1>Notifications</h1>
<p></p>
<div id="tabs">
<ul>
<li><a href="#tabs-xbmc">XBMC</a></li>
<li><a href="#tabs-smtp">SMTP</a></li>
<li><a href="#tabs-twitter">Twitter</a></li>
2011-11-02 10:09:52 +03:00
<li><a href="#tabs-growl">Growl</a></li>
2011-11-03 07:01:44 +03:00
<li><a href="#tabs-prowl">Prowl</a></li>
</ul>
<div id="tabs-xbmc">
@{Html.RenderPartial("Xbmc", Model);}
</div>
<div id="tabs-smtp">
@{Html.RenderPartial("Smtp", Model);}
</div>
<div id="tabs-twitter">
@{Html.RenderPartial("Twitter", Model);}
</div>
2011-11-02 10:09:52 +03:00
<div id="tabs-growl">
@{Html.RenderPartial("Growl", Model);}
</div>
2011-11-03 05:44:22 +03:00
<div id="tabs-prowl">
@{Html.RenderPartial("Prowl", Model);}
</div>
2011-07-01 23:33:03 +03:00
</div>
2011-08-09 00:50:48 +03:00
<button type="submit" id="save_button" disabled="disabled">Save</button>
}
2011-07-01 23:33:03 +03:00
</div>
}
@section Scripts{
<script src="../../Scripts/NzbDrone/settingsForm.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
$("#tabs").tabs();
});
</script>
}