mirror of https://github.com/apache/cloudstack.git
new UI - show spinning wheel in middle menu before data is fully loaded into middle menu.
This commit is contained in:
parent
24551eea3a
commit
c3d3ab98b8
|
|
@ -316,8 +316,19 @@ long milliseconds = new Date().getTime();
|
|||
</div>
|
||||
<!-- Mid Menu starts here-->
|
||||
<div class="midmenu_panel" id="middle_menu">
|
||||
<div class="midmenu_box" id="midmenu_container">
|
||||
<div class="midmenu_emptymsgbox"><p>No Items Available</p></div>
|
||||
<div class="midmenu_box" id="midmenu_box">
|
||||
<div id="midmenu_spinning_wheel" class="midmenu_mainloaderbox" style="display: none;">
|
||||
<div class="midmenu_mainloader_animatedicon">
|
||||
</div>
|
||||
<p>
|
||||
Loading …</p>
|
||||
</div>
|
||||
<div id="midmenu_container">
|
||||
<div class="midmenu_emptymsgbox">
|
||||
<p>
|
||||
No Items Available</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Mid Menu ends here-->
|
||||
|
|
|
|||
|
|
@ -933,7 +933,9 @@ function listMidMenuItems2(commandString, jsonResponse1, jsonResponse2, toMidmen
|
|||
}
|
||||
}
|
||||
count = items.length;
|
||||
}
|
||||
}
|
||||
$("#midmenu_container").show();
|
||||
$("#midmenu_spinning_wheel").hide();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -941,8 +943,10 @@ function listMidMenuItems2(commandString, jsonResponse1, jsonResponse2, toMidmen
|
|||
}
|
||||
|
||||
function listMidMenuItems(commandString, jsonResponse1, jsonResponse2, rightPanelJSP, afterLoadRightPanelJSPFn, toMidmenuFn, toRightPanelFn, getMidmenuIdFn, isMultipleSelectionInMidMenu) {
|
||||
showMiddleMenu();
|
||||
clearMiddleMenu();
|
||||
showMiddleMenu();
|
||||
$("#midmenu_container").hide();
|
||||
$("#midmenu_spinning_wheel").show();
|
||||
|
||||
$("#right_panel").load(rightPanelJSP, function(){
|
||||
var $actionLink = $("#right_panel_content #tab_content_details #action_link");
|
||||
|
|
|
|||
Loading…
Reference in New Issue