Show "Under construction" message for functions not yet completed.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
phamt 2010-10-07 17:40:24 +00:00
parent 745cd03e7b
commit 63c2fbe3ad
5 changed files with 66 additions and 1 deletions

View File

@ -183,8 +183,21 @@ bladePlugin.prototype.loadProvisionPage = function(tabId) {
*
* @return Nothing
*/
bladePlugin.prototype.loadResources = function() {
bladePlugin.prototype.loadResources = function() {
var tabID = 'bladeResourceTab'; // Resource tab ID
var loaderID = 'bladeResourceLoader'; // Loader ID
if ($('#' + loaderID).length) {
$('#' + loaderID).remove(); // Remove loader
}
// Create info bar
var infoBar = createInfoBar('Under construction');
// Create resource form
var resrcForm = $('<div class="form"></div>');
resrcForm.append(infoBar);
$('#' + tabID).append(resrcForm);
};
/**

View File

@ -184,7 +184,20 @@ fspPlugin.prototype.loadProvisionPage = function(tabId) {
* @return Nothing
*/
fspPlugin.prototype.loadResources = function() {
var tabID = 'fspResourceTab'; // Resource tab ID
var loaderID = 'fspResourceLoader'; // Loader ID
if ($('#' + loaderID).length) {
$('#' + loaderID).remove(); // Remove loader
}
// Create info bar
var infoBar = createInfoBar('Under construction');
// Create resource form
var resrcForm = $('<div class="form"></div>');
resrcForm.append(infoBar);
$('#' + tabID).append(resrcForm);
};
/**

View File

@ -217,7 +217,20 @@ hmcPlugin.prototype.loadProvisionPage = function(tabId) {
* @return Nothing
*/
hmcPlugin.prototype.loadResources = function() {
var tabID = 'hmcResourceTab'; // Resource tab ID
var loaderID = 'hmcResourceLoader'; // Loader ID
if ($('#' + loaderID).length) {
$('#' + loaderID).remove(); // Remove loader
}
// Create info bar
var infoBar = createInfoBar('Under construction');
// Create resource form
var resrcForm = $('<div class="form"></div>');
resrcForm.append(infoBar);
$('#' + tabID).append(resrcForm);
};
/**

View File

@ -184,7 +184,20 @@ ipmiPlugin.prototype.loadProvisionPage = function(tabId) {
* @return Nothing
*/
ipmiPlugin.prototype.loadResources = function() {
var tabID = 'ipmiResourceTab'; // Resource tab ID
var loaderID = 'ipmiResourceLoader'; // Loader ID
if ($('#' + loaderID).length) {
$('#' + loaderID).remove(); // Remove loader
}
// Create info bar
var infoBar = createInfoBar('Under construction');
// Create resource form
var resrcForm = $('<div class="form"></div>');
resrcForm.append(infoBar);
$('#' + tabID).append(resrcForm);
};
/**

View File

@ -184,7 +184,20 @@ ivmPlugin.prototype.loadProvisionPage = function(tabId) {
* @return Nothing
*/
ivmPlugin.prototype.loadResources = function() {
var tabID = 'ivmResourceTab'; // Resource tab ID
var loaderID = 'ivmResourceLoader'; // Loader ID
if ($('#' + loaderID).length) {
$('#' + loaderID).remove(); // Remove loader
}
// Create info bar
var infoBar = createInfoBar('Under construction');
// Create resource form
var resrcForm = $('<div class="form"></div>');
resrcForm.append(infoBar);
$('#' + tabID).append(resrcForm);
};
/**