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