orbit-basic/app/views/layouts/admin.html.erb

48 lines
1.6 KiB
Plaintext
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>R4</title>
<link rel="shortcut icon" href="/favicon.ico">
<%= yield :page_specific_link %>
2010-01-08 08:05:58 +00:00
<%= stylesheet_link_tag "easy", "main", :media => "screen, projection" %>
<%= stylesheet_link_tag "easyprint", :media => "print" %>
<!--[if IE]>
2010-01-08 08:05:58 +00:00
<%= stylesheet_link_tag "ie", :media => "screen, projection" %>
<![endif]-->
<%= yield :page_specific_css %>
</head>
<body>
2010-01-08 08:05:58 +00:00
<div id="container">
<div id="header">
<h1>RulingSite</h1>
<ul id="nav">
<li><%= link_to t(:home, :scope => :admin), root_path %></li>
<li><%= link_to t(:page, :scope => :admin), admin_pages_path %></li>
<li><%= link_to t(:snippet, :scope => :admin), admin_snippets_path %></li>
<li><%= link_to t(:layout, :scope => :admin), admin_layouts_path %></li>
2010-01-11 09:53:44 +00:00
<li><%= link_to t(:announcement, :scope => :admin), panel_announcements_path( :entry_name => 'news' ) %></li>
2010-01-08 08:05:58 +00:00
</ul>
</div>
<div class="content">
<div class="main"><%= yield %></div>
<div class="secondary"><%= yield :secondary %></div>
<div class="tertiary"><%= yield :tertiary %></div>
</div>
2010-01-08 08:05:58 +00:00
<div id="footer">
<p>Rulingcom</p>
</div>
</div>
<%= javascript_include_tag "jquery",
"jquery-ui",
"jrails",
2010-01-08 08:05:58 +00:00
"easy",
"application", :cache => 'all' %>
<%= yield :page_specific_javascript %>
</body>
</html>