discourse/app/views/layouts/no_js.html.erb

54 lines
1.4 KiB
Text
Raw Normal View History

2013-02-05 14:16:51 -05:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title><%=SiteSetting.title%></title>
2013-02-05 14:16:51 -05:00
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<meta content="" name="description">
<meta content="" name="author">
<link rel="icon" type="image/png" href=<%=SiteSetting.favicon_url%>>
<%- if mini_profiler_enabled? %>
2013-02-25 11:42:20 -05:00
<%- Rack::MiniProfiler.step "stylsheet" do%>
2013-02-05 14:16:51 -05:00
<%=stylesheet_link_tag "application"%>
<%- end %>
<%- if current_user.try(:admin) %>
<%- Rack::MiniProfiler.step "stylsheet" do%>
2013-02-25 11:42:20 -05:00
<%= stylesheet_link_tag "admin"%>
2013-02-05 14:16:51 -05:00
<%-end%>
<%- end %>
<%- else %>
<%=stylesheet_link_tag "application"%>
<%- if current_user.try(:admin) %>
2013-02-25 11:42:20 -05:00
<%= stylesheet_link_tag "admin"%>
2013-02-05 14:16:51 -05:00
<%- end %>
<%- end %>
<%=csrf_meta_tags%>
</head>
<body>
<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>
2013-02-25 11:42:20 -05:00
</div>
2013-02-05 14:16:51 -05:00
</div>
</div>
</div>
</header>
<div id="main-outlet" class="container">
<%= yield %>
</div>
</section>
<footer id='bottom'>
</footer>
</body>
</html>