Sha256: 497ff5bddc65384c3e40566cfcc075694d5fd74603f4be6c64f9c2ee74d7c00f

Contents?: true

Size: 1.65 KB

Versions: 2

Compression:

Stored size: 1.65 KB

Contents

<!DOCTYPE html>
<html>
<head>
  <title><%= content_for?(:title) ? yield(:title) : "Rails Marketplace" %> </title>

<% if @current_seller %>
  <%= stylesheet_link_tag    'rails_marketplace/application', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'rails_marketplace/application', 'data-turbolinks-track' => true %>
<% else %>
  <%= stylesheet_link_tag    'rails_marketplace/marketplace', media: 'all', 'data-turbolinks-track' => true %>
  <%= javascript_include_tag 'rails_marketplace/marketplace', 'data-turbolinks-track' => true %>
<% end %>
  <%= csrf_meta_tags %>
  <meta name="viewport" content="width=device-width, initial-scale=1">

</head>

<% if @current_seller %>
<body class="nav-md">
  <div class="container body">
  <% flash.each do |key, value| %>
      <div align="center" id="flash" class="alert alert-<%= key %>"><%= value %></div>
  <% end %>

  <%= render "rails_marketplace/partials/sidenav" %>
  <%= render "rails_marketplace/partials/topnav" %>

  <%= yield %>

  <%= render "rails_marketplace/partials/footer" %>
  <%= javascript_include_tag 'rails_marketplace/footermanifest', 'data-turbolinks-track' => true %>

</body>
<% else %>
<body>

<div class="container body">

<%= render "rails_marketplace/partials/menu" %>


  <% flash.each do |key, value| %>
      <div align="center" id="flash" class="alert alert-<%= key %>">
        <a href="#" data-dismiss="alert" class="close">×</a>
        <ul style="text-align: center">
          <l>
          <b> <%= value %>  </b>
          </l>
        </ul>
      </div>
  <% end %>


  <%= yield %>

</body>
<% end %>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_marketplace-0.0.2 app/views/layouts/rails_marketplace/seller_central.html.erb
rails_marketplace-0.0.1 app/views/layouts/rails_marketplace/seller_central.html.erb