mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-23 22:25:09 -04:00
Remove AJAX tabs for settings pages
This commit is contained in:
@@ -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>
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user