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

68 lines
1.9 KiB
Plaintext

<!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 "admin", :media => "screen, projection" %>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= yield :page_specific_css %>
<%= csrf_meta_tag %>
</head>
<body>
<div id="panel_banner_link" >
<div id="orbit">
<ul id="orblist">
<li><%= link_to t('homepage'), root_path, :class => 'orblink' %></li>
<li><%= link_to t('admin.item'), admin_items_path, :class => 'orblink' %></li>
<li><%= link_to t('admin.design'), admin_designs_path, :class => 'orblink' %></li>
<li><%= link_to t('admin.purchase'), admin_purchases_path, :class => 'orblink' %></li>
<li><%= link_to t('admin.asset'), admin_assets_path, :class => 'orblink' %></li>
<li><%= link_to t('admin.user_info'), admin_user_info_models_path, :class => 'orblink' %></li>
<li><%= link_to t('admin.user_role'), admin_user_role_models_path, :class => 'orblink' %></li>
<li><%= link_to t('admin.translation'), admin_translations_path, :class => 'orblink' %></li>
<li><%= link_to t('admin.site'), admin_sites_path, :class => 'orblink' %></li>
</ul>
</div>
<div class="hmenu">
<div class="lang">
<%= render 'layouts/lang_menu' %>
</div>
<%= render 'devise/menu/login_items' %>
</div>
</div>
<div id="panel_container">
<div id="panel_content">
<div class="secondary">
<div class="secondary2">
<%= yield :secondary %>
</div>
</div>
<div class="main">
<div class="main2">
<%= yield %>
</div>
</div>
<div class="tertiary"><%= yield :tertiary %></div>
</div>
<div id="panel_footer">
<p>Rulingcom</p>
</div>
</div>
<%= yield :page_specific_javascript %>
</body>
</html>