2013-02-06 03:16:51 +08:00
|
|
|
<!DOCTYPE html>
|
2013-07-05 02:32:16 +08:00
|
|
|
<html lang="<%= SiteSetting.default_locale %>">
|
2013-02-06 03:16:51 +08:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
2013-03-31 06:16:59 +08:00
|
|
|
<title><%=SiteSetting.title%></title>
|
2014-06-20 06:17:52 +08:00
|
|
|
<meta name="description" content="">
|
|
|
|
<%= render partial: "layouts/head" %>
|
2014-01-02 23:22:04 +08:00
|
|
|
<%= raw SiteContent.content_for(:head) %>
|
2014-07-16 02:07:19 +08:00
|
|
|
<%= yield(:no_js_head) %>
|
2013-02-06 03:16:51 +08:00
|
|
|
</head>
|
|
|
|
<body>
|
2013-11-14 23:41:16 +08:00
|
|
|
<%- unless customization_disabled? %>
|
2013-11-13 01:13:17 +08:00
|
|
|
<%= SiteCustomization.custom_header(session[:preview_style]) %>
|
|
|
|
<%- end %>
|
2013-02-06 03:16:51 +08:00
|
|
|
<section id='main'>
|
2013-11-13 01:13:17 +08:00
|
|
|
<header class="d-header">
|
|
|
|
<div class="container">
|
|
|
|
<div class="contents">
|
|
|
|
<div class="row">
|
|
|
|
<div class="title span13">
|
|
|
|
<a href="/"><img src="<%=SiteSetting.logo_url%>" alt="<%=SiteSetting.title%>" id="site-logo"></a>
|
|
|
|
</div>
|
2014-02-19 06:18:42 +08:00
|
|
|
<% unless current_user %>
|
|
|
|
<div class='panel clearfix'>
|
2014-05-23 16:01:09 +08:00
|
|
|
<a href="/login" class='btn btn-primary btn-small'><i class="fa fa-user"></i><%= I18n.t('log_in') %></a>
|
2014-02-19 06:18:42 +08:00
|
|
|
</div>
|
|
|
|
<% end %>
|
2013-02-26 00:42:20 +08:00
|
|
|
</div>
|
2013-02-06 03:16:51 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-11-13 01:13:17 +08:00
|
|
|
</header>
|
|
|
|
<div id="main-outlet" class="container">
|
|
|
|
<%= yield %>
|
2013-02-06 03:16:51 +08:00
|
|
|
</div>
|
|
|
|
</section>
|
2014-06-20 05:32:26 +08:00
|
|
|
<footer id='bottom' class="container">
|
2013-02-06 03:16:51 +08:00
|
|
|
</footer>
|
|
|
|
</body>
|
|
|
|
</html>
|