/** * Global variables */ var provisionTabs; // Provision tabs /** * Set the provision tab * * @param obj * Tab object * @return Nothing */ function setProvisionTab(obj) { provisionTabs = obj; } /** * Get the provision tab * * @param Nothing * @return Tab object */ function getProvisionTab() { return provisionTabs; } /** * Load provision page * * @return Nothing */ function loadProvisionPage() { // If the page is loaded if ($('#content').children().length) { // Do not load again return; } // Create status bar, hide on load var statBarId = 'ProvisionStatusBar'; var statBar = $('
').hide(); // Create info bar var infoBar = createInfoBar('Provision a node'); $('#content').append(infoBar); // Create provision form provForm = $(''); provForm.append(statBar); provForm.append(infoBar); // Create provision tab var tab = new Tab(); setProvisionTab(tab); tab.init(); $('#content').append(tab.object()); // Create radio buttons for platforms var hwList =$('