<% 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') { %>
 
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
<% if (Portal.Vars.railsEnabled) { %>
 
Ruby on Rails Support
<% if (Portal.Modules.MyCloudPortal.currentSite.type.toLowerCase() == 'rails') { %> Disable Rails Support <% } else { %> Enable Rails Support <% } %>
<% } %> <% } %> <% 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...
 
<% } %>