openstackweb/marketplace/templates/Layout/ConsultantsDirectoryPage_consultant.ss
santipalenque 073cd5cd19 [spalenque] - #6968 *WIP
Conflicts:

	marketplace/_config.php
	marketplace/code/interfaces/restfull_api/marketplace/ConsultantsCrudApi.php
	marketplace/templates/Layout/Includes/MarketPlaceAdminPage_implementations_list.ss
2014-11-26 16:30:17 -03:00

136 lines
5.6 KiB
Scheme

<div class="grey-bar">
<div class="container">
<p class="back-label">
<a href="$Top.Link">All Providers</a>
</p>
<h1>$Name</h1>
</div>
</div>
<% control Consultant %>
<div class="container marketplace-content">
<% include MarketPlaceCompany %>
<div class="col-lg-6">
<div class="info-area">
<% if ExpertiseAreas %>
<h3 style="color: #{$Company.CompanyColor} !important;">Areas of OpenStack Expertise</h3>
<table>
<tbody>
<% control ExpertiseAreas %>
<tr>
<td>$Name</td>
<td>$CodeName</td>
</tr>
<% end_control %>
</tbody>
</table>
<% end_if %>
<% if Top.Services %>
<hr>
<h3 style="color: #{$Company.CompanyColor} !important;">Services Offered</h3>
<ul>
<% control Top.Services %>
<li>$Type</li>
<% end_control %>
</ul>
<% end_if %>
<% if PreviousClients %>
<hr>
<h3 style="color: #{$Company.CompanyColor} !important;">Select Clients</h3>
<ul>
<% control PreviousClients %>
<li>$Name</li>
<% end_control %>
</ul>
<% end_if %>
<% if ConfigurationManagementExpertises %>
<hr>
<h3 style="color: #{$Company.CompanyColor} !important;">Configuration Management Expertise</h3>
<ul>
<% control ConfigurationManagementExpertises %>
<li>$Type</li>
<% end_control %>
</ul>
<% end_if %>
<% if SpokenLanguages %>
<hr>
<h3 style="color: #{$Company.CompanyColor} !important;">Languages</h3>
<ul>
<% control SpokenLanguages %>
<li>$Name</li>
<% end_control %>
</ul>
<% end_if %>
<% if Top.Regions %>
<hr>
<h3 style="color: #{$Company.CompanyColor} !important;">Regions with local offices</h3>
<ul>
<% control Top.Regions %>
<li>$Name</li>
<% end_control %>
</ul>
<% end_if %>
<% if Offices %>
<hr>
<h3 style="color: #{$Company.CompanyColor} !important;">Offices</h3>
<script type="text/javascript">
<% if IsDraft %>
var offices_instance = $Top.CurrentOfficesLocationsDraftJson;
<% else %>
var offices_instance = $Top.CurrentOfficesLocationsJson;
<% end_if %>
</script>
<div style="width: 300px; height: 200px; position: relative;" id="mini-map" tabindex="0">
</div>
<p>
Click any map pin to see office address
</p>
<% end_if %>
<% if RegionalSupports %>
<hr>
<h3 style="color: #{$Company.CompanyColor} !important;">Regions where support is offered</h3>
<table class="regions">
<tbody>
<% control RegionalSupports %>
<tr>
<% control Region %>
<td>$Name</td>
<% end_control %>
</tr>
<% end_control %>
</tbody>
</table>
<% end_if %>
</div>
</div>
<div class="col-lg-6">
<% if IsPreview %>
<% include MarketPlaceDirectoryPage_Rating_Placeholder %>
<% else %>
<% include MarketPlaceDirectoryPage_Rating %>
<% end_if %>
<% if Videos %>
<div id="videos">
<% control Videos %>
<h3 style="color: #{$Top.Company.CompanyColor} !important;" class="video-title">$Name<span class="video-duration">($FormattedLength)</span></h3>
<iframe frameborder="0" width="250" height="200" allowfullscreen=""
src="//www.youtube.com/embed/{$YouTubeId}?rel=0&amp;showinfo=0&amp;modestbranding=1&amp;controls=2">
</iframe>
<% end_control %>
</div>
<% end_if %>
<% if Resources %>
<div id="more-resources">
<h3 style="color: #{$Company.CompanyColor} !important;">More Resources</h3>
<ul>
<% control Resources %>
<li><a href="{$Uri}" style="color: #{$Company.CompanyColor} !important;" class="outbound-link" target="_blank">$Name</a></li>
<% end_control %>
</ul>
</div>
<% end_if %>
</div>
</div>
</div>
<% end_control %>