ensl.org/app/views/layouts/application.html.erb

35 lines
1 KiB
Text
Raw Normal View History

<!doctype html>
<html>
<head>
2014-04-06 14:14:03 +00:00
<title><%= full_title(yield(:title)) %></title>
<meta charset="utf-8">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<meta name="viewport" content="width=device-width,initial-scale=1">
2014-05-16 21:24:49 +00:00
<%= favicon_link_tag 'shared/favicon.ico' %>
2014-05-11 10:27:59 +00:00
<%= theme_stylesheet_link_tag %>
<%= javascript_include_tag 'application' %>
<%= csrf_meta_tag %>
</head>
<body>
2014-04-06 14:14:03 +00:00
<div id="container">
<%= render partial: "messages" %>
2014-04-06 14:14:03 +00:00
<%= render partial: "header" %>
2014-04-18 00:07:07 +00:00
<%= render partial: "navigation" %>
<div class="body wrapper">
<div id="content" class="<%= yield :main_class %>">
<div id="main">
2014-04-06 14:14:03 +00:00
<%= yield %>
</div>
2014-04-06 14:14:03 +00:00
<div id="sidebar">
<%= yield :sidebar %>
<% ['shoutbox', 'posts', 'poll'].each do |widget| %>
2020-03-14 19:10:24 +00:00
<%= render partial: "widgets/#{widget}" %>
<% end %>
</div>
</div>
</div>
2014-04-06 14:14:03 +00:00
<%= render partial: "footer" %>
</div>
</body>
</html>