mirror of
https://github.com/Radarr/Radarr.git
synced 2024-11-05 10:32:35 +01:00
Collapse all indexer settings by default
This commit is contained in:
parent
8280561e11
commit
761863527b
@ -93,7 +93,7 @@
|
|||||||
|
|
||||||
.indexer-global-settings
|
.indexer-global-settings
|
||||||
{
|
{
|
||||||
padding-top: 20px;
|
padding-bottom: 20px;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,6 +27,9 @@
|
|||||||
autoHeight: false,
|
autoHeight: false,
|
||||||
collapsible: true
|
collapsible: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if ($(this).hasClass('jquery-accordion-collapse-all'))
|
||||||
|
$(this).accordion("activate", false);
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.jquery-tabs').livequery(function () {
|
$('.jquery-tabs').livequery(function () {
|
||||||
|
@ -58,7 +58,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
@{Html.RenderAction("RootDir");}
|
@{Html.RenderAction("RootDir");}
|
||||||
<div class="jquery-accordion" id="addSeriesAccordion">
|
<div class="jquery-accordion jquery-accordion-collapse-all" id="addSeriesAccordion">
|
||||||
<h3>
|
<h3>
|
||||||
<a href="#">Add New Series</a></h3>
|
<a href="#">Add New Series</a></h3>
|
||||||
<div id="addNewSeries">
|
<div id="addNewSeries">
|
||||||
@ -76,10 +76,6 @@
|
|||||||
@Html.IncludeScript("NzbDrone/addSeries.js")
|
@Html.IncludeScript("NzbDrone/addSeries.js")
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function () {
|
|
||||||
$('#addSeriesAccordion').accordion("activate", false);
|
|
||||||
});
|
|
||||||
|
|
||||||
$(document).on('click', '.tvDbLink', function (event) {
|
$(document).on('click', '.tvDbLink', function (event) {
|
||||||
var url = $(this).attr('rel');
|
var url = $(this).attr('rel');
|
||||||
window.open(url, 'thetvdb');
|
window.open(url, 'thetvdb');
|
||||||
|
@ -7,8 +7,6 @@
|
|||||||
margin-left: 14px;
|
margin-left: 14px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<div class="infoBox">
|
|
||||||
RSS feeds are checked every 25 minutes for new episodes.</div>
|
|
||||||
<div class="indexerStatusContainer">
|
<div class="indexerStatusContainer">
|
||||||
@Html.CheckBox("nzbMatrixStatus", @Model.NzbMatrixEnabled, new { @class = "indexerStatusButton" })
|
@Html.CheckBox("nzbMatrixStatus", @Model.NzbMatrixEnabled, new { @class = "indexerStatusButton" })
|
||||||
<label for="nzbMatrixStatus">NZBMatrix</label>
|
<label for="nzbMatrixStatus">NZBMatrix</label>
|
||||||
@ -37,7 +35,7 @@
|
|||||||
<div id="stylized">
|
<div id="stylized">
|
||||||
@using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "IndexersForm", name = "IndexersForm", @class = "settingsForm" }))
|
@using (Html.BeginForm("SaveIndexers", "Settings", FormMethod.Post, new { id = "IndexersForm", name = "IndexersForm", @class = "settingsForm" }))
|
||||||
{
|
{
|
||||||
<div class="jquery-accordion">
|
<div class="jquery-accordion jquery-accordion-collapse-all">
|
||||||
<h3><a href="#">NZBMatrix</a></h3>
|
<h3><a href="#">NZBMatrix</a></h3>
|
||||||
<div class="indexerPanel">
|
<div class="indexerPanel">
|
||||||
<label class="labelClass">
|
<label class="labelClass">
|
||||||
|
Loading…
Reference in New Issue
Block a user