ensl.org/app/views/layouts/application.html.erb
Luke Barratt 8020b06f45 Updates to matches page
Tweaked layout for contest page
Various styling updates
2014-04-21 19:19:03 +01:00

35 lines
1.1 KiB
Text

<!doctype html>
<html>
<head>
<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" />
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tag %>
</head>
<body>
<div id="container">
<%= render partial: "header" %>
<%= render partial: "navigation" %>
<div class="wrapper">
<div id="content">
<div id="main">
<%= render partial: "messages" %>
<%= yield %>
</div>
<div id="sidebar">
<%= yield :sidebar %>
<% ['calendar', 'shoutbox', 'highlights', 'posts', 'poll'].each do |widget| %>
<%= render partial: "widgets/#{widget}" %>
<% end %>
</div>
<%= render partial: "gather" %>
</div>
</div>
<%= render partial: "footer" %>
</div>
</body>
</html>