Sha256: 69b3e83348292a11e9f44c1d335f26d6ef8fb3038e913b5f5c0113e1e5907b28

Contents?: true

Size: 1.93 KB

Versions: 2

Compression:

Stored size: 1.93 KB

Contents

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <% hook :admin_inside_head do %>
  	<%= render :partial => "shared/admin_head" %>
	<% end %>
</head>
<body class='yui-skin-sam admin'>
<!--[if IE 7]>
<div id='IE7'>
<![endif]-->
<div id='wrapper'>

  <div id="header">
    <% if current_user -%>
    <ul id="login-nav">
      <li><%= t('logged_in_as') %>: <%= current_user.email %></li>
      <li><%= link_to t('account'), user_path(current_user) %></li>
      <li><%= link_to t('logout'), logout_path %></li>
      <li><%= link_to t('store'), products_path %></li>
    </ul>
    <% end -%>
    <a href="<%= admin_path %>"><%= image_tag 'admin/bg/spree_50.png', :id => 'logo' %></a>
    <h1><%= link_to t("administration"), admin_path %></h1>
    <div id="progress"><%= image_tag 'progress.gif' %> <%= t('loading') %>...</div>
  </div>

  <div id="admin-menu">
    <ul>
      <% hook :admin_tabs do %>
        <%= render 'admin/shared/tabs' %>
      <% end %>
    </ul>
    <br class="clear" />
  </div>

  <div id="sub-menu">
    <%= yield :sub_menu %>
    <br class="clear" />
  </div>

  <div class="<%= 'with-sidebar ' unless @content_for_sidebar.blank? %> clear tile_bg" id="content">


    <% if flash[:error] %>
    <div class="flash error"><%= flash[:error] %></div>
    <% end %>
    <% if self.notice %>
    <div class="flash notice"><%= self.notice %></div>
    <% end %>


    <%= yield %>

    <% unless @content_for_sidebar.blank? %>
      <br class='clear' />
      <div id="sidebar">
          <%= yield :sidebar %>
      </div>
    <% end %>

  </div>

  <div id="footer">
    <p><%= t("icons_by") %> <a href='http://pinvoke.com'>pInvoke</a></p>
  </div>


</div>
<!--[if IE]>
</div>
<![endif]-->

<% hook :admin_footer_scripts do -%>
  <%= javascript_include_tag 'admin/unobtrusive_handlers' %>
<% end -%>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree-0.11.2 vendor/extensions/theme_default/app/views/layouts/admin.html.erb
spree-0.11.1 vendor/extensions/theme_default/app/views/layouts/admin.html.erb