2015-02-26 00:35:47 +08:00
|
|
|
<header class="d-header">
|
|
|
|
<div class="container">
|
|
|
|
<div class="contents">
|
|
|
|
<div class="row">
|
|
|
|
<div class="title span13">
|
2015-05-01 00:46:19 +08:00
|
|
|
<a href="<%= path "/" %>">
|
2015-02-26 00:35:47 +08:00
|
|
|
<%- if application_logo_url.present? %>
|
|
|
|
<img src="<%= application_logo_url %>" alt="<%= SiteSetting.title %>" id="site-logo">
|
|
|
|
<%- else %>
|
|
|
|
<h2 id='site-text-logo'><%= SiteSetting.title %></h2>
|
|
|
|
<%- end %>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<% unless current_user %>
|
|
|
|
<div class='panel clearfix'>
|
2015-07-06 20:42:37 +08:00
|
|
|
<a href="<%= path "/login"%>" class='btn btn-primary btn-small login-button'><i class="fa fa-user"></i> <%= I18n.t('log_in') %></a>
|
2015-02-26 00:35:47 +08:00
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</header>
|