Sha256: 294fa3fc7676a4775a86e821e18d0a96c01e1af823024050714fee695dec48e1

Contents?: true

Size: 1.24 KB

Versions: 13

Compression:

Stored size: 1.24 KB

Contents

<!DOCTYPE html>
<html lang="it">
<head>
  <%= csrf_meta_tags %>
  <title><%= ( @title ? "#{@title} - " : "" ) + "#{app_name} Admin" %></title>

  <%= stylesheet_link_tag 'admin/admin' %>
  <%= yield :stylesheets %>
</head>

<body>
  <%= render :partial => 'admin/nav' %>

  <%= navbar :fluid => true, :fixed => :top do %>
    <%= brand "#{app_name} Admin", admin_root_path %>
    <%= yield :menu %>
  <% end %>

  <%= yield :crumbs %>
  
  <%= container :fluid => true, :class => "main" do %>
    <%= row do %>
      
      <%= span(2, :id => "left-aside") do %>
          <%= yield :nav %>
      <% end %>
      
      <%= span(content_for?(:aside) ? 6 : 10, :id => "center") do %>
          <%= yield %>
      <% end %>
      
      <% if content_for?(:aside) %>
        <%= span(4, :id => "left-aside") do %>
            <%= yield :aside %>
        <% end %>
      <% end %>
    
    <% end %>
  <% end %>

  <%= javascript_include_tag 'admin/admin' %>
  <%= yield :javascripts %>

  <% [:notice, :error, :alert].each do |sym| %>

      <% if flash[sym].present? %>
        <%= javascript_tag do %>
          $.notify.<%= "#{sym}" %>('<%= j "#{flash[sym]}" %>');
        <% end %>

        <% flash.discard(sym) %>
      <% end %>
  
  <% end %>
  
</body>
</html>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fullstack-admin-0.1.35 app/views/layouts/admin.html.erb
fullstack-admin-0.1.34 app/views/layouts/admin.html.erb
fullstack-admin-0.1.33 app/views/layouts/admin.html.erb
fullstack-admin-0.1.32 app/views/layouts/admin.html.erb
fullstack-admin-0.1.30 app/views/layouts/admin.html.erb
fullstack-admin-0.1.29 app/views/layouts/admin.html.erb
fullstack-admin-0.1.28 app/views/layouts/admin.html.erb
fullstack-admin-0.1.27 app/views/layouts/admin.html.erb
fullstack-admin-0.1.26 app/views/layouts/admin.html.erb
fullstack-admin-0.1.25 app/views/layouts/admin.html.erb
fullstack-admin-0.1.24 app/views/layouts/admin.html.erb
fullstack-admin-0.1.23 app/views/layouts/admin.html.erb
fullstack-admin-0.1.20 app/views/layouts/admin.html.erb