mirror of
https://github.com/unraid/webgui.git
synced 2026-05-01 15:29:20 -05:00
Change Dashboard Apps animation to slide up/down
This commit is contained in:
@@ -55,7 +55,7 @@ function loadlist() {
|
|||||||
if ($('.Panel.started').length===0) $('#noapps').show();
|
if ($('.Panel.started').length===0) $('#noapps').show();
|
||||||
}
|
}
|
||||||
if ($('.Panel').length===0) $('#noapps').show();
|
if ($('.Panel').length===0) $('#noapps').show();
|
||||||
$('#apps_icons').fadeIn('slow');
|
$('#apps_icons').slideDown('slow');
|
||||||
context.init({preventDoubleContext:false});
|
context.init({preventDoubleContext:false});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -64,9 +64,9 @@ $(function() {
|
|||||||
$('.appview').change(function() {
|
$('.appview').change(function() {
|
||||||
$('.Panel').not('.started').finish().toggle('fast');
|
$('.Panel').not('.started').finish().toggle('fast');
|
||||||
if ($('.Panel').length===0 || ($('.appview').is(':checked') && $('.Panel.started').length===0)) {
|
if ($('.Panel').length===0 || ($('.appview').is(':checked') && $('.Panel.started').length===0)) {
|
||||||
$('#noapps').fadeIn('fast');
|
$('#noapps').slideDown('fast');
|
||||||
} else {
|
} else {
|
||||||
$('#noapps').fadeOut('fast');
|
$('#noapps').slideUp('fast');
|
||||||
}
|
}
|
||||||
$.cookie('dashapps_view_mode',$('.appview').is(':checked') ? 'startedonly':'allapps',{expires:3650});
|
$.cookie('dashapps_view_mode',$('.appview').is(':checked') ? 'startedonly':'allapps',{expires:3650});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user