Sha256: 29d9e56c0c9c85d207228c8b87e196e9f213cdfd221f341ad978fa1cbcf21a28

Contents?: true

Size: 1.22 KB

Versions: 24

Compression:

Stored size: 1.22 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 %>
  <a class="brand" href="/admin">
    <i class="icon-home icon-white"></i> <%= "#{app_name} Admin" %></a>
    <%= yield :menu %>
  <% end %>

  <%= yield :crumbs %>
  <%= yield :nav %>
  
  <%= container :fluid => true, :class => "main" do %>
     <%= row do %>
      
      <%= span(content_for?(:aside) ? 9 : 12, :id => "center") do %>
          <%= yield %>
      <% end %>
      
      <% if content_for?(:aside) %>
      <%= span(3, :id => "right-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

24 entries across 24 versions & 1 rubygems

Version Path
fullstack-admin-0.2.26 app/views/layouts/admin.html.erb
fullstack-admin-0.2.25 app/views/layouts/admin.html.erb
fullstack-admin-0.2.24 app/views/layouts/admin.html.erb
fullstack-admin-0.2.23 app/views/layouts/admin.html.erb
fullstack-admin-0.2.22 app/views/layouts/admin.html.erb
fullstack-admin-0.2.21 app/views/layouts/admin.html.erb
fullstack-admin-0.2.20 app/views/layouts/admin.html.erb
fullstack-admin-0.2.19 app/views/layouts/admin.html.erb
fullstack-admin-0.2.18 app/views/layouts/admin.html.erb
fullstack-admin-0.2.17 app/views/layouts/admin.html.erb
fullstack-admin-0.2.16 app/views/layouts/admin.html.erb
fullstack-admin-0.2.15 app/views/layouts/admin.html.erb
fullstack-admin-0.2.14 app/views/layouts/admin.html.erb
fullstack-admin-0.2.13 app/views/layouts/admin.html.erb
fullstack-admin-0.2.12 app/views/layouts/admin.html.erb
fullstack-admin-0.2.11 app/views/layouts/admin.html.erb
fullstack-admin-0.2.9 app/views/layouts/admin.html.erb
fullstack-admin-0.2.8 app/views/layouts/admin.html.erb
fullstack-admin-0.2.7 app/views/layouts/admin.html.erb
fullstack-admin-0.2.6 app/views/layouts/admin.html.erb