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

35 lines
1.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">
<link rel="icon" type="image/png" href="/favicon.png" />
2014-04-06 14:14:03 +00:00
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tag %>
</head>
<body>
2014-04-06 14:14:03 +00:00
<div id="container">
<%= render partial: "header" %>
2014-04-18 00:07:07 +00:00
<%= render partial: "navigation" %>
2014-04-06 14:14:03 +00:00
<div class="wrapper">
<div id="content">
<div id="main">
<%= render partial: "messages" %>
<%= yield %>
</div>
2014-04-06 14:14:03 +00:00
<div id="sidebar">
<% ['calendar', 'shoutbox', 'highlights', 'posts', 'poll'].each do |widget| %>
<%= render partial: "widgets/#{widget}" %>
<% end %>
</div>
2014-04-06 14:14:03 +00:00
<%= render partial: "gather" %>
</div>
</div>
2014-04-06 14:14:03 +00:00
<%= render partial: "footer" %>
</div>
</body>
</html>