mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-25 09:12:17 +00:00
Fix: Settings initial page load is smoother.
This commit is contained in:
parent
6e86db66c8
commit
55d899fe2b
3 changed files with 10 additions and 1 deletions
|
@ -4,6 +4,11 @@
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.jquery-tabs {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.spacer
|
.spacer
|
||||||
{
|
{
|
||||||
clear: both;
|
clear: both;
|
||||||
|
|
|
@ -30,6 +30,8 @@
|
||||||
});
|
});
|
||||||
|
|
||||||
$('.jquery-tabs').livequery(function () {
|
$('.jquery-tabs').livequery(function () {
|
||||||
|
$(this).show();
|
||||||
|
|
||||||
$(this).tabs({
|
$(this).tabs({
|
||||||
fx: { opacity: 'toggle' },
|
fx: { opacity: 'toggle' },
|
||||||
select: function (event, ui) {
|
select: function (event, ui) {
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
<div class="jquery-tabs">
|
<div class="jquery-tabs">
|
||||||
<ul>
|
<ul>
|
||||||
<li>@Html.ActionLink("Naming", "Naming", "Settings")</li>
|
<li><a href="#Naming">Naming</a></li>
|
||||||
<li>@Html.ActionLink("Quality", "Quality", "Settings")</li>
|
<li>@Html.ActionLink("Quality", "Quality", "Settings")</li>
|
||||||
<li>@Html.ActionLink("Indexers", "Indexers", "Settings")</li>
|
<li>@Html.ActionLink("Indexers", "Indexers", "Settings")</li>
|
||||||
<li>@Html.ActionLink("Download Client", "DownloadClient", "Settings")</li>
|
<li>@Html.ActionLink("Download Client", "DownloadClient", "Settings")</li>
|
||||||
|
@ -18,6 +18,8 @@
|
||||||
<li>@Html.ActionLink("System", "System", "Settings")</li>
|
<li>@Html.ActionLink("System", "System", "Settings")</li>
|
||||||
<li>@Html.ActionLink("Misc", "Misc", "Settings")</li>
|
<li>@Html.ActionLink("Misc", "Misc", "Settings")</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
<div id="Naming">@{ Html.RenderAction("Naming", "Settings"); }</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@section Scripts{
|
@section Scripts{
|
||||||
|
|
Loading…
Reference in a new issue