silverstripe-webpack/app/templates/Includes/Header.ss
2019-11-08 01:26:33 +07:00

36 lines
1.3 KiB
Scheme

<div class="element">
<div class="row">
<div class="col-sm-4">
<a id="Logo" href="/"><img src="{$ResourcesURL('logo.png')}" alt="{$SiteConfig.Title}" /></a>
</div>
<div class="col-sm-8 text-right">
<div class="btn-group btn-group-lg" role="group">
<a href="#" class="btn btn-success">Contact</a>
<a href="#" class="btn btn-warning">Donate</a>
<a href="#" class="btn btn-secondary">
<i class="fas fa-search"></i>
<span class="sr-only">Search</span>
</a>
</div>
<% with $SiteConfig %>
<% if $PhoneNumber %>
<span class="phone-number">
$PhoneNumber
</span>
<% end_if %>
<% if $PublicEmail %>
<span class="public-email">
$PublicEmail
</span>
<% end_if %>
<% end_with %>
<%-- if $SearchForm %>
<div id="SearchFormContainer">$SearchForm</div>
<% end_if --%>
<% if $SiteConfig.Navigation %>
<% include Navigation Navigation=$SiteConfig.Navigation, NavID="Navigation" %>
<% end_if %>
</div>
</div>
</div>