<% if(status.toLowerCase() == 'running') { %> <% } else if(status.toLowerCase() == 'error') { %> <% } else if(status.toLowerCase() == 'restarting' || status.toLowerCase() == 'starting') { %> <% } else { %> <% } %> <%= name.capitalize(); %> (<%= status.capitalize() %>) <%= serverType %>
<% if(name.toLowerCase() == 'jaxer' && ['restarting', 'starting', 'stopping', 'upgrading'].indexOf(status.toLowerCase()) == -1) { %> <% if(commands.indexOf('disable') == -1) { %> <% } else { %> <% } %> <% } %> <% if (name.toLowerCase() != 'jaxer' || (name.toLowerCase() == 'jaxer' && commands.indexOf('disable') != -1)) { %> <% if(status.toLowerCase() == 'running') { %> <% } else if (status.toLowerCase() == 'stopped' || status.toLowerCase() == 'error') { %> <% } else { %>
<%= status %>
<% } %> <% } else { %> <% if(name.toLowerCase() == 'jaxer' && ['restarting', 'starting', 'stopping', 'upgrading'].indexOf(status.toLowerCase()) == -1) { %> <% } else { %>
<%= status %>
<% } %> <% } %>
 
<% if(serverImage != '') { %> <% } else { %>   <% } %>
<%= name.capitalize(); %> <%= (currentVersion != "0") ? currentVersion : ''; %> <% if(currentVersion < newestVersion) { %> Upgrade to version <%= newestVersion %> <% } else { %> This is the latest version <% } %>
<% info.each(function(info_item) { %> <% }); %>
<% if (name.toLowerCase() == 'apache') { %> <% if (Portal.Modules.MyCloudPortal.currentSite.type != 'java') { %>
 
Document Roots
Public Document Root
<%= domains.publicInfo.get('documentRootPrefix') + domains.publicInfo.get('documentRoot'); %> change
Staging Document Root
<%= domains.stagingInfo.get('documentRootPrefix') + domains.stagingInfo.get('documentRoot'); %> change
Certificates / SSL
<% if (Portal.Modules.MyCloudPortal.currentSite.sudoEnabled == true) { %> Setup SSL for my site <% } else { %> Setup SSL for my site <% } %>
<% } %> <% if (Portal.Modules.MyCloudPortal.currentSite.sudoEnabled == false) { %>
 
Site Platform (Currently <%= Portal.Modules.SiteServices.typeMap[Portal.Modules.MyCloudPortal.currentSite.type] %>)
To change your site's platform, simply choose the one you would like from the drop-down below and click "Change".
<% } %> <% } %> <% if(configFiles.size() > 0) { %>
 
<%= name.capitalize() %> Configuration
<% var count = 0; %> <% var totalItems = configFiles.size(); %> <% configFiles.each(function(item) { %> <% if(count % 2 == 0 || count == 0) { %><% } %> <% if(count % 2 == 1 && count != 0) { %><% } %> <% count ++; %> <% }); %> <% if(count % 2 != 0) { %><% } %>
<%= item.description %>
Revert to default...
 
<% } %>