mirror of https://github.com/apache/cloudstack.git
CS-14953: 'CloudStack' -> 'CloudPlatform'
reviewed-by: brian
commit 4488f0a66766286e960a47d34cd2e5148162bcab
Author: Pranav Saxena <pranav.saxena@citrix.com>
Date: Tue May 22 15:15:40 2012 +0530
Renaming CloudStack to CloudPlatform for Proprietary builds
This commit is contained in:
parent
f4b70e5f6e
commit
4b88f454a3
|
|
@ -557,6 +557,11 @@ body.login {
|
|||
height: 540px;
|
||||
}
|
||||
|
||||
.install-wizard .step.intro.what-is-cloudplatform p {
|
||||
background: url(../images/bg-what-is-cloudplatform.png) no-repeat 50% 237px;
|
||||
height: 540px;
|
||||
}
|
||||
|
||||
/*** Diagram*/
|
||||
.install-wizard .diagram {
|
||||
width: 910px;
|
||||
|
|
@ -7990,7 +7995,7 @@ div.panel.ui-dialog div.list-view div.fixed-header {
|
|||
|
||||
.project-selector .button.cancel {
|
||||
color: #808080;
|
||||
background: url("../images/gradients.png") repeat scroll 0 -480px #B6B6B6;
|
||||
background: #B6B6B6 url("../images/gradients.png") repeat 0 -480px;
|
||||
border: 1px solid #AAAAAA;
|
||||
border-radius: 4px 4px 4px 4px;
|
||||
font-size: 13px;
|
||||
|
|
@ -8000,19 +8005,18 @@ div.panel.ui-dialog div.list-view div.fixed-header {
|
|||
color: #838181;
|
||||
/*+placement:shift 488px 9px;*/
|
||||
position: relative;
|
||||
left: 488px;
|
||||
top: 9px;
|
||||
left: 170px;
|
||||
top: -8px;
|
||||
margin: 19px 0 0 0px;
|
||||
width: 54px;
|
||||
|
||||
}
|
||||
|
||||
.project-selector .button.cancel:hover {
|
||||
color: #3A3A3A;
|
||||
|
||||
}
|
||||
|
||||
|
||||
/*** Resource management*/
|
||||
.project-dashboard .resources {
|
||||
}
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 32 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 32 KiB |
|
|
@ -20,6 +20,18 @@
|
|||
var launchStart; // Holds last launch callback, in case of error
|
||||
var $launchState;
|
||||
|
||||
// Checking if title should be ‘CloudStack’ or ‘CloudPlatform’ – replacing occurrences thereby
|
||||
var checkTitle = function(str) {
|
||||
// Getting the flag that indicates if EULA is present
|
||||
if (eulaHTML && eulaHTML.length) { return str.replace(/CloudStack/ig,'CloudPlatform'); }
|
||||
else { return str; }
|
||||
}
|
||||
|
||||
/* var data = $("p");
|
||||
$(data).each(function() {
|
||||
$(this).html(checkTitle($(this).html()));
|
||||
});
|
||||
*/
|
||||
/**
|
||||
* Successful installation action
|
||||
*/
|
||||
|
|
@ -39,7 +51,7 @@
|
|||
cloudStack.installWizard.copy[id]({
|
||||
response: {
|
||||
success: function(args) {
|
||||
$elem.append(_l(args.text));
|
||||
$elem.append(checkTitle(_l(args.text)));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
@ -87,9 +99,9 @@
|
|||
|
||||
var $intro = $('<div></div>').addClass('intro');
|
||||
var $title = $('<div></div>').addClass('title')
|
||||
.html(title);
|
||||
.html(checkTitle(title));
|
||||
var $subtitle = $('<div></div>').addClass('subtitle')
|
||||
.html(subtitle);
|
||||
.html(checkTitle(subtitle));
|
||||
var $copy = getCopy(copyID, $('<p></p>'));
|
||||
var $prev = elems.prevButton(_l('label.back'));
|
||||
var $continue = elems.nextButton('OK');
|
||||
|
|
@ -202,8 +214,8 @@
|
|||
tooltip: function(title, content) {
|
||||
return $('<div>').addClass('tooltip-info').append(
|
||||
$('<div>').addClass('arrow'),
|
||||
$('<div>').addClass('title').html(_l(title)),
|
||||
$('<div>').addClass('content').append($('<p>').html(_l(content)))
|
||||
$('<div>').addClass('title').html(checkTitle(_l(title))),
|
||||
$('<div>').addClass('content').append($('<p>').html(checkTitle(_l(content))))
|
||||
);
|
||||
},
|
||||
|
||||
|
|
@ -214,8 +226,8 @@
|
|||
return $('<div></div>').addClass('header')
|
||||
.append(
|
||||
$.merge(
|
||||
$('<h2></h2>').html(_l('label.installWizard.title')),
|
||||
$('<h3></h3>').html(_l('label.installWizard.subtitle'))
|
||||
$('<h2></h2>').html(checkTitle(_l('label.installWizard.title'))),
|
||||
$('<h3></h3>').html(checkTitle(_l('label.installWizard.subtitle')))
|
||||
)
|
||||
);
|
||||
},
|
||||
|
|
@ -297,8 +309,8 @@
|
|||
var steps = {
|
||||
eula: function(args) {
|
||||
var $intro = $('<div></div>').addClass('intro eula');
|
||||
var $title = $('<div></div>').addClass('title').html(_l('label.license.agreement'));
|
||||
var $subtitle = $('<div></div>').addClass('subtitle').html(_l('label.license.agreement.subtitle'));
|
||||
var $title = $('<div></div>').addClass('title').html(checkTitle(_l('label.license.agreement')));
|
||||
var $subtitle = $('<div></div>').addClass('subtitle').html(checkTitle(_l('label.license.agreement.subtitle')));
|
||||
var $copy = $('<div></div>').addClass('eula-copy').html(eulaHTML);
|
||||
var $continue = elems.nextButton(_l('label.agree'));
|
||||
|
||||
|
|
@ -314,12 +326,17 @@
|
|||
},
|
||||
|
||||
intro: function(args) {
|
||||
var $intro = $('<div></div>').addClass('intro what-is-cloudstack');
|
||||
var $title = $('<div></div>').addClass('title').html(_l('label.what.is.cloudstack'));
|
||||
var $subtitle = $('<div></div>').addClass('subtitle').html(_l('label.introduction.to.cloudstack'));
|
||||
if (eulaHTML && eulaHTML.length){
|
||||
var $intro = $('<div></div>').addClass('intro what-is-cloudplatform'); }
|
||||
else {
|
||||
var $intro = $('<div></div>').addClass('intro what-is-cloudstack');
|
||||
|
||||
}
|
||||
var $title = $('<div></div>').addClass('title').html(checkTitle(_l('label.what.is.cloudstack')));
|
||||
var $subtitle = $('<div></div>').addClass('subtitle').html(checkTitle(_l('label.introduction.to.cloudstack')));
|
||||
var $copy = getCopy('whatIsCloudStack', $('<p></p>'));
|
||||
var $continue = elems.nextButton(_l('label.continue.basic.install'));
|
||||
var $advanced = elems.nextButton(_l('label.skip.guide')).addClass('advanced-installation');
|
||||
var $advanced = elems.nextButton(checkTitle(_l('label.skip.guide'))).addClass('advanced-installation');
|
||||
|
||||
$continue.click(function() {
|
||||
goTo('changeUser');
|
||||
|
|
@ -792,6 +809,7 @@
|
|||
|
||||
var initialStep = eulaHTML ?
|
||||
steps.eula().addClass('step') : steps.intro().addClass('step');
|
||||
|
||||
|
||||
showDiagram('');
|
||||
$('html body').addClass('install-wizard');
|
||||
|
|
@ -801,7 +819,9 @@
|
|||
elems.body().append(initialStep),
|
||||
$diagramParts
|
||||
).appendTo($container);
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
|
||||
cloudStack.uiCustom.installWizard = installWizard;
|
||||
}(jQuery, cloudStack));
|
||||
|
|
|
|||
Loading…
Reference in New Issue