This repository has been archived on 2024-03-16. You can view files and clone it, but cannot push or open issues or pull requests.
orbit-4-1/app/views/layouts/admin.html.erb

63 lines
2.0 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 %>
<%= stylesheet_link_tag "easy", "main", "devise", :media => "screen, projection" %>
2010-01-08 08:05:58 +00:00
<%= stylesheet_link_tag "easyprint", :media => "print" %>
2011-05-02 04:07:31 +00:00
<%= javascript_include_tag :defaults %>
<!--[if IE]>
2010-01-08 08:05:58 +00:00
<%= stylesheet_link_tag "ie", :media => "screen, projection" %>
<![endif]-->
<%= yield :page_specific_css %>
<%= csrf_meta_tag %>
</head>
<body>
2010-01-08 08:05:58 +00:00
<div id="container">
<div id="banner_link" style='text-align:right'>
<ul class="hmenu">
<li>
<%= render 'layouts/lang_menu' %>
</li>
<%= render 'devise/menu/login_items' %>
</ul>
</div>
2010-01-08 08:05:58 +00:00
<div id="header">
<h1>RulingSite <%= t('admin.admin') %></h1>
2010-01-08 08:05:58 +00:00
<ul id="nav">
<li><%= link_to t('homepage'), root_path %></li>
<li><%= link_to t('admin.item'), admin_items_path %></li>
<li><%= link_to t('admin.layout'), admin_layouts_path %></li>
<li><%= link_to t('admin.asset'), admin_assets_path %></li>
2011-02-01 07:12:23 +00:00
<li><%= link_to t('admin.user_info'), admin_user_info_models_path %></li>
2011-02-01 02:46:26 +00:00
<li><%= link_to t('admin.user_role'), admin_user_role_models_path %></li>
<li><%= link_to t('admin.translation'), admin_translations_path %></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",
2010-03-08 08:04:05 +00:00
"rails",
2010-01-08 08:05:58 +00:00
"easy",
"application", :cache => 'all' %>
<%= yield :page_specific_javascript %>
</body>
</html>