aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/layouts/application.html.erb
blob: 620bc650060eb85472f1d4ff79a1b8f8e317122e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<%#
  This file is part of hmnoweb, a RefineryCMS based Webapp for heavymetal.no
  Copyright (C) 2018  Harald Eilertsen <haraldei@anduin.net>

  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU Affero General Public License version 3
  as published by the Free Software Foundation.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU Affero General Public License for more details.

  You should have received a copy of the GNU Affero General Public License
  along with this program.  If not, see <https://www.gnu.org/licenses/>.
%>
<!DOCTYPE html>
<%= render '/refinery/html_tag' %>
  <% site_bar = render('refinery/site_bar', :head => true) -%>
  <%= render 'refinery/head' %>
  <body>
    <%= site_bar -%>
    <%= render 'refinery/ie6check' if request.env['HTTP_USER_AGENT'] =~ /MSIE/ -%>
    <div id="page_container">
      <header id="header">
        <%= render 'refinery/header' -%>
      </header>
      <section id="page">
        <%= render 'common/left_sidebar' %>
        <%= render :partial => 'refinery/banners/shared/banners' %>
        <%= yield %>
        <%= render 'common/right_sidebar' %>
      </section>
      <footer>
        <%= render 'refinery/footer' -%>
      </footer>
    </div>
    <%= render 'refinery/javascripts' %>
    <%= piwik_tracking_tag %>
  </body>
</html>