Collapse all indexer settings by default

pull/19/head
Mark McDowall 12 years ago
parent 8280561e11
commit 761863527b

@ -93,7 +93,7 @@
.indexer-global-settings
{
padding-top: 20px;
padding-bottom: 20px;
overflow: hidden;
}

@ -27,6 +27,9 @@
autoHeight: false,
collapsible: true
});
if ($(this).hasClass('jquery-accordion-collapse-all'))
$(this).accordion("activate", false);
});
$('.jquery-tabs').livequery(function () {

@ -58,7 +58,7 @@
}
@{Html.RenderAction("RootDir");}
<div class="jquery-accordion" id="addSeriesAccordion">
<div class="jquery-accordion jquery-accordion-collapse-all" id="addSeriesAccordion">
<h3>
<a href="#">Add New Series</a></h3>
<div id="addNewSeries">
@ -76,10 +76,6 @@
@Html.IncludeScript("NzbDrone/addSeries.js")
<script type="text/javascript">
$(document).ready(function () {
$('#addSeriesAccordion').accordion("activate", false);
});
$(document).on('click', '.tvDbLink', function (event) {
var url = $(this).attr('rel');
window.open(url, 'thetvdb');

@ -7,8 +7,6 @@
margin-left: 14px;
}
</style>
<div class="infoBox">
RSS feeds are checked every 25 minutes for new episodes.</div>
<div class="indexerStatusContainer">
@Html.CheckBox("nzbMatrixStatus", @Model.NzbMatrixEnabled, new { @class = "indexerStatusButton" })
<label for="nzbMatrixStatus">NZBMatrix</label>
@ -37,7 +35,7 @@
<div id="stylized">
@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>
<div class="indexerPanel">
<label class="labelClass">

Loading…
Cancel
Save