openstackweb/marketplace/templates/Layout/MarketPlaceAdminPage_public_cloud.ss
2014-11-26 16:30:46 -03:00

50 lines
2.9 KiB
Scheme

<% if canAdmin(public_clouds) %>
<div class="container">
<div style="clear:both">
<h1 style="width:50%;float:left;">Public Cloud - Product Details</h1>
<a style="overflow:hidden;white-space: nowrap;font-weight:normal;float:right;margin-bottom:50px;text-align:center" class="roundedButton save-public-cloud" href="#" id="save-public-cloud1">Save</a>
<a style="overflow:hidden;white-space: nowrap;font-weight:normal;float:right;margin-bottom:50px;text-align:center;margin-right:2%;" class="roundedButton publish-public-cloud" href="#" id="publish-public-cloud1">Publish</a>
<% if CurrentPublicCloud %>
<a style="overflow:hidden;white-space: nowrap;font-weight:normal;float:right;margin-bottom:50px;text-align:center;margin-right:2%;" class="roundedButton addDeploymentBtn preview-public_cloud" href="#" >Preview</a>
<% end_if %>
<% if CurrentPublicCloud %>
<a style="overflow:hidden;white-space: nowrap;font-weight:normal;float:right;margin-bottom:50px;text-align:center;margin-right:2%;" class="roundedButton addDeploymentBtn preview-public_cloud pdf" href="#" >Download PDF</a>
<% end_if %>
<a style="overflow:hidden;white-space: nowrap;font-weight:normal;float:right;margin-bottom:50px;text-align:center;margin-right:2%;" class="roundedButton addDeploymentBtn" href="$Top.Link(public_clouds)">&lt;&lt; Back to Products</a>
</div>
<% if CurrentPublicCloud.isNotPublished %>
<div style="clear:both; color:red">
THIS VERSION IS NOT CURRENTLY PUBLISHED
</div>
<% end_if %>
<div style="clear:both">
<fieldset>
<form id="public_cloud_form" name="public_cloud_form">
<% include MarketPlaceAdminPage_CompanyServiceHeader %>
</form>
<% include Components %>
<% include PricingSchema %>
<% include Hypervisors %>
<% include GuestOSSupport %>
<% include Videos %>
<% include DataCenterLocations %>
<% include SupportChannels %>
<% include AdditionalResources %>
</fieldset>
</div>
<div style="clear:both">
<a style="overflow:hidden;white-space: nowrap;font-weight:normal;float:right;margin-bottom:50px;text-align:center" class="roundedButton save-public-cloud" href="#" id="save-public-cloud2">Save</a>
<a style="overflow:hidden;white-space: nowrap;font-weight:normal;float:right;margin-bottom:50px;text-align:center;margin-right:50px;" class="roundedButton addDeploymentBtn" href="$Top.Link(public_clouds)">&lt;&lt; Back to Products</a>
</div>
<script type="text/javascript">
<% if CurrentPublicCloud %>
var public_cloud = $CurrentPublicCloudJson;
<% end_if %>
var component_releases = $ReleasesByComponent;
var listing_url = "$Top.Link(public_clouds)";
var product_url = "$Top.Link(public_cloud)";
</script>
</div>
<% else %>
<p>You are not allowed to administer Public Clouds.</p>
<% end_if %>