Sha256: 120641ae757b3bd681b30e848f188294302005cd00037048bc8f6d92713afd0d

Contents?: true

Size: 1.24 KB

Versions: 22

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

22 entries across 22 versions & 1 rubygems

Version Path
fullstack-admin-0.2.1 app/views/layouts/admin.html.erb
fullstack-admin-0.1.56 app/views/layouts/admin.html.erb
fullstack-admin-0.1.55 app/views/layouts/admin.html.erb
fullstack-admin-0.1.54 app/views/layouts/admin.html.erb
fullstack-admin-0.1.53 app/views/layouts/admin.html.erb
fullstack-admin-0.1.52 app/views/layouts/admin.html.erb
fullstack-admin-0.1.51 app/views/layouts/admin.html.erb
fullstack-admin-0.1.50 app/views/layouts/admin.html.erb
fullstack-admin-0.1.49 app/views/layouts/admin.html.erb
fullstack-admin-0.1.48 app/views/layouts/admin.html.erb
fullstack-admin-0.1.47 app/views/layouts/admin.html.erb
fullstack-admin-0.1.46 app/views/layouts/admin.html.erb
fullstack-admin-0.1.45 app/views/layouts/admin.html.erb
fullstack-admin-0.1.44 app/views/layouts/admin.html.erb
fullstack-admin-0.1.43 app/views/layouts/admin.html.erb
fullstack-admin-0.1.42 app/views/layouts/admin.html.erb
fullstack-admin-0.1.41 app/views/layouts/admin.html.erb
fullstack-admin-0.1.40 app/views/layouts/admin.html.erb
fullstack-admin-0.1.39 app/views/layouts/admin.html.erb
fullstack-admin-0.1.38 app/views/layouts/admin.html.erb