parent
e01be46209
commit
852a141c21
@ -0,0 +1,24 @@
|
||||
@section TitleContent
|
||||
{
|
||||
Settings
|
||||
}
|
||||
@section Scripts
|
||||
{
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$("#tabs222").tabs();
|
||||
});
|
||||
</script>
|
||||
}
|
||||
@section MainContent{
|
||||
<div id="tabs222">
|
||||
<ul>
|
||||
<li>@Html.ActionLink("Naming", "Naming", "Settings")</li>
|
||||
<li>@Html.ActionLink("Indexers", "Indexers", "Settings")</li>
|
||||
<li>@Html.ActionLink("Quality", "Quality", "Settings")</li>
|
||||
<li>@Html.ActionLink("SABnzbd", "Sabnzbd", "Settings")</li>
|
||||
<li>@Html.ActionLink("Notifications", "Notifications", "Settings")</li>
|
||||
<li>@Html.ActionLink("System", "System", "Settings")</li>
|
||||
</ul>
|
||||
</div>
|
||||
}
|
@ -1,42 +1,33 @@
|
||||
@using NzbDrone.Web.Helpers
|
||||
@model NzbDrone.Web.Models.SystemSettingsModel
|
||||
|
||||
@{ Layout = "~/Views/Shared/_RefrenceLayout.cshtml"; }
|
||||
|
||||
@section HeaderContent{
|
||||
<link rel="stylesheet" type="text/css" href="../../Content/Settings.css" />
|
||||
}
|
||||
|
||||
@section TitleContent{
|
||||
Settings > System
|
||||
}
|
||||
|
||||
@section ActionMenu{
|
||||
@{Html.RenderPartial("SubMenu");}
|
||||
}
|
||||
|
||||
@section MainContent{
|
||||
<div id="stylized">
|
||||
@using (Html.BeginForm("SaveSystem", "Settings", FormMethod.Post, new { id = "form", name = "form", @class = "settingsForm" }))
|
||||
{
|
||||
@Html.ValidationSummary(true, "Unable to save your settings. Please correct the errors and try again.")
|
||||
<label class="labelClass">@Html.LabelFor(m => m.LaunchBrowser)
|
||||
<span class="small">@Html.DescriptionFor(m => m.LaunchBrowser)</span>
|
||||
<span class="small">@Html.DescriptionFor(m => m.LaunchBrowser)</span>
|
||||
</label>
|
||||
@Html.CheckBoxFor(m => m.LaunchBrowser, new { @class = "inputClass checkClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.Port)
|
||||
<span class="small">@Html.DescriptionFor(m => m.Port)</span>
|
||||
<span class="small">@Html.DescriptionFor(m => m.Port)</span>
|
||||
</label>
|
||||
@Html.TextBoxFor(m => m.Port, new { @class = "inputClass" })
|
||||
|
||||
<label class="labelClass">@Html.LabelFor(m => m.AuthenticationType)
|
||||
<span class="small">@Html.DescriptionFor(m => m.AuthenticationType)</span>
|
||||
<span class="small">@Html.DescriptionFor(m => m.AuthenticationType)</span>
|
||||
</label>
|
||||
@Html.DropDownListFor(m => m.AuthenticationType, Model.AuthTypeSelectList, new { @class = "inputClass" })
|
||||
|
||||
<button type="submit" id="save_button" disabled="disabled">Save</button>
|
||||
<button type="submit" id="save_button" disabled="disabled">
|
||||
Save</button>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
@section Scripts{
|
||||
<script src="../../Scripts/NzbDrone/settingsForm.js" type="text/javascript"></script>
|
||||
}
|
||||
|
@ -0,0 +1,37 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
@using Telerik.Web.Mvc.UI
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head runat="server">
|
||||
<link rel="SHORTCUT ICON" href="../../favicon.ico" />
|
||||
<title>NzbDrone</title>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<link type="text/css" rel="stylesheet" href="../../Content/2011.3.1115/telerik.common.min.css" />
|
||||
<link type="text/css" rel="stylesheet" href="../../Content/2011.3.1115/telerik.sitefinity.min.css" />
|
||||
<link type="text/css" rel="stylesheet" href="../../Content/jQueryUI/jquery-ui-1.8.16.custom.css" />
|
||||
<link type="text/css" rel="stylesheet" href="../../Content/jquery.gritter.css" />
|
||||
<link type="text/css" rel="stylesheet" href="../../Content/NzbDrone.css" />
|
||||
<link type="text/css" rel="stylesheet" href="../../Content/ActionButton.css" />
|
||||
<link type="text/css" rel="stylesheet" href="../../Content/overrides.css" />
|
||||
<link type="text/css" rel="stylesheet" href="../../Content/Menu.css" />
|
||||
<link type="text/css" rel="stylesheet" href="../../Content/Messages.css" />
|
||||
@RenderSection("HeaderContent", required: false)
|
||||
</head>
|
||||
<body>
|
||||
@RenderBody()
|
||||
@(Html.Telerik().ScriptRegistrar().jQuery(true))
|
||||
<script type="text/javascript" src="../../Scripts/jquery-ui-1.8.16.min.js"></script>
|
||||
<script type="text/javascript" src="../../Scripts/MicrosoftAjax.js"></script>
|
||||
<script type="text/javascript" src="../../Scripts/MicrosoftMvcAjax.js"></script>
|
||||
<script type="text/javascript" src="../../Scripts/jquery.gritter.js"></script>
|
||||
<script type="text/javascript" src="../../Scripts/jquery.form.js"></script>
|
||||
<script type="text/javascript" src="../../Scripts/jquery-tgc-countdown-1.0.js"></script>
|
||||
<script type="text/javascript" src="../../Scripts/jquery.watermark.min.js"></script>
|
||||
<script type="text/javascript" src="../../Scripts/jquery.hotkeys.js"></script>
|
||||
<script type="text/javascript" src="../../Scripts/doTimeout.js"></script>
|
||||
<script type="text/javascript" src="../../Scripts/NzbDrone/episodeSearch.js"></script>
|
||||
<script type="text/javascript" src="../../Scripts/NzbDrone/AutoComplete.js"></script>
|
||||
<script type="text/javascript" src="../../Scripts/NzbDrone/LocalSearch.js"></script>
|
||||
<script type="text/javascript" src="../../Scripts/NzbDrone/Notification.js"></script>
|
||||
@RenderSection("Scripts", required: false)
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue