diff --git a/xCAT-UI/js/xcat.js b/xCAT-UI/js/xcat.js index 5e1b1dbbd..d7988087e 100644 --- a/xCAT-UI/js/xcat.js +++ b/xCAT-UI/js/xcat.js @@ -473,5 +473,14 @@ function rmc_monshow_draw_by_flot(div, value) }); } +/* + * loadLLCfgEditor() + * nav the webpage to LoadLeveler editor if it exists + */ +function loadLLCfgEditor() +{ + window.document.location="../ll/llconfig_editor.pl"; +} + // load progress bar myBar.loaded('xcat.js'); diff --git a/xCAT-UI/lib/display.php b/xCAT-UI/lib/display.php index b96ec7ab5..66806faaa 100644 --- a/xCAT-UI/lib/display.php +++ b/xCAT-UI/lib/display.php @@ -82,6 +82,9 @@ echo <<<EOS2 </li> <li class="current"> <a href="config.php">configure</a> + <ul> + <li><a href="#" onclick='loadLLCfgEditor()'>LoadLeveler</a></li> + </ul> EOS2; # echo "<ul>\n"; # $tables = getTabNames();