diff --git a/ui/index-test.html b/ui/index-test.html index 15778a16d02..1d949ddb096 100644 --- a/ui/index-test.html +++ b/ui/index-test.html @@ -1391,6 +1391,8 @@ + + diff --git a/ui/index.jsp b/ui/index.jsp index 71609e20a52..3faefea0c6f 100644 --- a/ui/index.jsp +++ b/ui/index.jsp @@ -1399,6 +1399,8 @@ + + diff --git a/ui/scripts-test/installWizard.js b/ui/scripts-test/installWizard.js new file mode 100644 index 00000000000..6612c2ca2fd --- /dev/null +++ b/ui/scripts-test/installWizard.js @@ -0,0 +1,12 @@ +(function($, cloudStack, testData) { + cloudStack.installWizard = { + // Check if install wizard should be invoked + check: function(args) { + setTimeout(function() { + args.response.success({ + doInstall: false + }); + }, 100); + } + }; +}(jQuery, cloudStack, testData)); \ No newline at end of file diff --git a/ui/scripts/ui-custom/installWizard.js b/ui/scripts/ui-custom/installWizard.js new file mode 100644 index 00000000000..51acf183a07 --- /dev/null +++ b/ui/scripts/ui-custom/installWizard.js @@ -0,0 +1,43 @@ +(function($, cloudStack, testData) { + cloudStack.uiCustom.installWizard = function(args) { + var context = args.context; + var $installWizard = $('
').html('Welcome text goes here.'), + $('