diff --git a/xCAT-UI/js/nodes/mtm.js b/xCAT-UI/js/nodes/mtm.js new file mode 100644 index 000000000..487c08c07 --- /dev/null +++ b/xCAT-UI/js/nodes/mtm.js @@ -0,0 +1,36 @@ +var hardwareInfo = { + '7037-A50' : ['P5-185', '5' ], + '9115-505' : ['P5-505', '1' ], + '9110-510' : ['P5-510', '2' ], + '9110-51A' : ['P5-510', '2' ], + '9111-520' : ['P5-520', '4' ], + '913A-52A' : ['P5-52A', '4' ], + '9113-550' : ['P5-550', '4' ], + '9133-55A' : ['P5-55A', '4' ], + '9116-561' : ['P5-560Q', '4' ], + '9117-570' : ['P5-570', '4' ], + '9118-575' : ['P5-575', '42'], + '9119-590' : ['P5-590', '42'], + '9119-595' : ['P5-595', '42'], + + //P6 + '8203-E4A' : ['P6-520', '4' ], + '9407-M15' : ['P6-520', '4' ], + '9408-M25' : ['P6-520', '4' ], + '8204-E8A' : ['P6-550', '4' ], + '9409-M50' : ['P6-550', '4' ], + '8234-EMA' : ['P6-560', '4' ], + '9117-MMA' : ['P6-570', '4' ], + '9125-F2A' : ['P6-575', '42'], + '9119-FHA' : ['P6-595', '42'], + + //P7 + '8202-E4B' : ['P7-720', '4' ], + '8205-E6B' : ['P7-740', '4' ], + '8231-E2B' : ['P7-710/730', '2' ], + '8233-E8B' : ['P7-750', '4' ], + '8236-E8C' : ['P7-755', '4' ], + '9117-MMB' : ['P7-770', '4' ], + '9119-FHB' : ['P7-795', '42'], + '9179-MHB' : ['P7-780', '42'] +}; \ No newline at end of file diff --git a/xCAT-UI/js/nodes/physical.js b/xCAT-UI/js/nodes/physical.js index aa42afe68..0b611ef4b 100644 --- a/xCAT-UI/js/nodes/physical.js +++ b/xCAT-UI/js/nodes/physical.js @@ -1,17 +1,3 @@ -var hardwareInfo = { - '7037-A50' : ['P5-185', '5' ], - '9115-505' : ['P5-505', '1' ], - '9110-510' : ['P5-510', '2' ], - '9110-51A' : ['P5-510', '2' ], - '9111-520' : ['P5-520', '4' ], - '913A-52A' : ['P5-52A', '4' ], - '9113-550' : ['P5-550', '4' ], - '9133-55A' : ['P5-55A', '4' ], - '9116-561' : ['P5-560Q', '4' ], - '9117-570' : ['P5-570', '4' ], - '9118-575' : ['P5-575', '42'], - '9119-590' : ['P5-590', '42'], - '9119-595' : ['P5-595', '42'], //P6 '8203-E4A' : ['P6-520', '4' ], @@ -290,9 +276,7 @@ function createGraphical(bpa, fsp, area){ area.append(graphical_area); $('.fspDiv2, .fspDiv4, .fspDiv42').tooltip({ - showURL: false, - showBody: " - ", - fade: 250 + }); $('.fspDiv2, .fspDiv4, .fspDiv42').bind('click', function(){ diff --git a/xCAT-UI/js/ui.js b/xCAT-UI/js/ui.js index 48c1c299f..58d97d259 100644 --- a/xCAT-UI/js/ui.js +++ b/xCAT-UI/js/ui.js @@ -455,6 +455,7 @@ function initPage() { includeJs("js/nodes/rnetboot.js"); includeJs("js/nodes/updatenode.js"); includeJs("js/nodes/physical.js"); + includeJs("js/nodes/mtm.js"); headers.eq(0).css('background-color', '#A9D0F5'); loadNodesPage(); } else if (page == 'configure.php') {