aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/layouts/no_chrome.rhtml
blob: 74c79b701fa6a411598368fbbb339e42aeb57f4d (plain)
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="<%= I18n.locale %>">
    <head>
        <title>
        <% if @title %>
            <%=@title%> - <%= site_name %>
        <% else %>
            <%= site_name %> - <%= _('Make and browse Freedom of Information (FOI) requests') %>
        <% end %>
        </title>

        <script type="text/javascript" src="/javascripts/jquery.js"></script>

    	<%= stylesheet_link_tag 'main', :title => "Main", :rel => "stylesheet" %>
    	<%= stylesheet_link_tag 'fonts', :rel => "stylesheet" %>
    	<%= stylesheet_link_tag 'theme', :rel => "stylesheet" %>
        <!--[if LT IE 7]> 
        <style type="text/css">@import url("/stylesheets/ie6.css");</style> 
        <![endif]-->
        <!--[if LT IE 7]> 
        <style type="text/css">@import url("/stylesheets/ie6-custom.css");</style> 
        <![endif]-->
        <%= stylesheet_link_tag 'custom', :title => "Main", :rel => "stylesheet"  %>
    </head>
    <body>
        <div class="entirebody">            
            <div id="content">
                <% if flash[:notice] %>
                    <div id="notice"><%= flash[:notice] %></div>
                <% end %>
                <% if flash[:error] %>
                    <div id="error"><%= flash[:error] %></div>
                <% end %>

                <div id="<%= controller.controller_name + "_" + controller.action_name %>" class="controller_<%= controller.controller_name %>">
                <%= yield :layout %>
                </div>
            </div>
        </div>
    </body>
</html>