aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/layouts/admin.rhtml
blob: 42ca5dbbbacb0ff8c7d23fce780cd904e50a23e9 (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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en-gb">
    <head>
      <meta http-equiv="content-type" content="text/html;charset=UTF-8" >
      <title><%= site_name %> admin<%= @title ? ":" : "" %> <%=@title%></title>
      
      <%= javascript_include_tag 'jquery.js', 'jquery-ui.min' %>

      <%= stylesheet_link_tag 'admin-theme/jquery-ui-1.8.15.custom.css', :rel => 'stylesheet'%>
      <%= stylesheet_link_tag 'admin', :title => "Main", :rel => "stylesheet"  %>
    </head>
    <body>

    <p>
    <strong><%= link_to 'Alaveteli', main_url('/') %> admin:</strong> 
    <%= link_to 'Summary', admin_general_index_path %>
    | <%= link_to 'Timeline', admin_timeline_path %>
    | <%= link_to 'Stats', admin_stats_path %>
    | <%= link_to 'Debug', admin_debug_path %>
    <strong>View:</strong>
    <%= link_to 'Authorities', admin_body_list_path %>
    | <%= link_to 'Requests', admin_request_list_path %>
    | <%= link_to 'Users', admin_user_list_path %>
    | <%= link_to 'Tracks', admin_track_list_path %>
    </p>
    <%= render :partial => 'general/locale_switcher' %>

    <% if flash[:error] %>
        <p id="error"><%= flash[:error] %></p>
    <% end %>

    <% if flash[:notice] %>
        <p id="notice"><%= flash[:notice] %></p>
    <% end %>

    <%= yield  %>
    
    </body>
</html>