mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
987504c6ab
While *sometimes* `no_js` was used for visitors without js (for example disabling it on your browser) it was also used for some pages that were disabled to JS capable browsers, including the 404 page. Even worse, sometimes it was used on pages that *had* Javascript, such as our `/activate-account` route. It has been renamed to `no_ember` to indicate what it really is, a layout for the site that doesn't load our Ember.js application.
43 lines
1.3 KiB
Text
43 lines
1.3 KiB
Text
<!DOCTYPE html>
|
|
<html lang="<%= SiteSetting.default_locale %>">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title><%=SiteSetting.title%></title>
|
|
<meta name="description" content="">
|
|
<%= render partial: "layouts/head" %>
|
|
<%= render partial: "common/special_font_face" %>
|
|
<%= render partial: "common/discourse_stylesheet" %>
|
|
<%= discourse_csrf_tags %>
|
|
|
|
<%- unless customization_disabled? %>
|
|
<%= raw SiteCustomization.custom_head_tag(session[:preview_style]) %>
|
|
<%- end %>
|
|
<%= yield(:no_ember_head) %>
|
|
</head>
|
|
<body>
|
|
<%- unless customization_disabled? %>
|
|
<%= SiteCustomization.custom_header(session[:preview_style]) %>
|
|
<%- end %>
|
|
<section id='main'>
|
|
<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>
|
|
<% unless current_user %>
|
|
<div class='panel clearfix'>
|
|
<a href="/login" class='btn btn-primary btn-small'><i class="fa fa-user"></i><%= I18n.t('log_in') %></a>
|
|
</div>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</header>
|
|
<div id="main-outlet" class="container">
|
|
<%= yield %>
|
|
</div>
|
|
</section>
|
|
</body>
|
|
</html>
|