Remove AJAX tabs for settings pages

This commit is contained in:
Mark McDowall
2012-10-14 17:50:01 -07:00
parent 5f217f5720
commit 2e74a6ff05
15 changed files with 264 additions and 160 deletions
+9 -2
View File
@@ -1,12 +1,16 @@
@using NzbDrone.Web.Helpers
@model NzbDrone.Web.Models.IndexerSettingsModel
@{ Layout = null; }
@{
Layout = "_SettingsLayout.cshtml";
}
<style>
.indexerStatusContainer {
margin-left: 14px;
}
</style>
<div class="indexerStatusContainer">
@Html.CheckBox("nzbMatrixStatus", @Model.NzbMatrixEnabled, new { @class = "indexerStatusButton" })
<label for="nzbMatrixStatus">NZBMatrix</label>
@@ -177,7 +181,9 @@
}
</div>
<script type="text/javascript">
@section Scripts
{
<script type="text/javascript">
$(document).ready(function () {
//Allow unobstrusive validation of the AJAX loaded form
$.validator.unobtrusive.parse("#IndexersForm");
@@ -318,3 +324,4 @@
$("#title_" + profileId).text(value);
}).keyup();
</script>
}