mirror of https://github.com/apache/cloudstack.git
new UI - cluster page - add margin between primary storage and host in middle menu.
This commit is contained in:
parent
4c8417f9de
commit
271f6bec67
|
|
@ -724,10 +724,13 @@ long milliseconds = new Date().getTime();
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="midmenu_itemheader" class="midmenu_itemheader" style="display:none; margin-top:40px;">
|
||||
<p id="name"></p>
|
||||
<!-- <div class="midmenu_itemheader_arrow"></div>-->
|
||||
<div id="midmenu_itemheader_without_margin" class="midmenu_itemheader" style="display:none; ">
|
||||
<p id="name"></p>
|
||||
</div>
|
||||
<div id="midmenu_itemheader_with_margin" class="midmenu_itemheader" style="display:none; margin-top:40px;">
|
||||
<p id="name"></p>
|
||||
</div>
|
||||
|
||||
<div class="midmenu_list" id="midmenu_item" style="display: none;">
|
||||
<div class="midmenu_content" id="content">
|
||||
<div class="midmenu_icons" id="icon_container" style="display: none">
|
||||
|
|
|
|||
|
|
@ -326,14 +326,14 @@ function showPage2($pageToShow, $menuItem1) {
|
|||
|
||||
var clusterId = jsonObj.id;
|
||||
var $midmenuContainer = $("#midmenu_container").empty();
|
||||
var $header1 = $("#midmenu_itemheader").clone();
|
||||
var $header1 = $("#midmenu_itemheader_without_margin").clone(); //without margin on top
|
||||
$header1.find("#name").text("Host");
|
||||
$midmenuContainer.append($header1);
|
||||
var count1 = listMidMenuItems2(("listHosts&type=Routing&clusterid="+clusterId), "listhostsresponse", "host", hostToMidmenu, hostToRightPanel, hostGetMidmenuId, false, true);
|
||||
if(count1 > 0)
|
||||
$header1.show();
|
||||
|
||||
var $header2 = $("#midmenu_itemheader").clone();
|
||||
var $header2 = $("#midmenu_itemheader_with_margin").clone(); //with margin on top
|
||||
$header2.find("#name").text("Primary Storage");
|
||||
$midmenuContainer.append($header2);
|
||||
var count2 = listMidMenuItems2(("listStoragePools&clusterid="+clusterId), "liststoragepoolsresponse", "storagepool", primarystorageToMidmenu, primarystorageToRightPanel, primarystorageGetMidmenuId, false, false);
|
||||
|
|
|
|||
Loading…
Reference in New Issue