<!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 "application" %>
  <%= javascript_include_tag "application" %>
  <%= csrf_meta_tag %>
</head>
<body>
<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>
    
  <div id="header">
      
      <h1>RulingSite Panel</h1>
      
      <ul id="nav">
          <li><%= link_to t('panel.home'), root_path %></li>
          <li><%= link_to t('panel.user'), panel_users_path %></li>
     </ul>
  </div>

  <div class="content">
    <div class="main"><%= yield %></div>
  	<div class="secondary"><%= yield :secondary %></div>
  	<div class="tertiary"><%= yield :tertiary %></div>
  </div>
  
  <div id="footer">
      <p>Rulingcom</p>
  </div>
</div>
<%= yield :page_specific_javascript %>
</body>
</html>
