Sha256: 89f259c58e0bb6c8153d731f4bbb4441c4cda900df80f5f229fc5c01d5a120cb
Contents?: true
Size: 1.7 KB
Versions: 2
Compression:
Stored size: 1.7 KB
Contents
<!DOCTYPE html> <html> <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> <title><%%= "Área administrativa - #{ yield(:title) }" %></title> <%%= stylesheet_link_tag 'application' %> <%%= javascript_include_tag :defaults %> <%%= yield(:head) %> <%%= csrf_meta_tag %> </head> <body> <div class="top_nav"> <%% if logged_in? %> <%%= current_user.username %> | <%%= current_user.email %> | <%%= link_to "» Sair", logout_path, :class => 'logout' %> <%% else %> <%%= link_to "» Entrar", login_path, :class => 'login' %> <%% end %> </div> <div id="header"> <%%= link_to image_tag("logo.png"), admin_home_url %> </div> <div id="container"> <div id="sidenav"> <div class="menu"> <%%= menu do |m| %> <%% m.users admin_users_path do %> <%%= image_tag 'users.png' %> Usuários <%% end %> <%%= m.menu1 "#menu" do %> <%%= image_tag 'menu.png' %> Menu 1 <%% end %> <%%= m.menu2 "#menu" do %> <%%= image_tag 'menu.png' %> Menu 2 <%% end %> <%%= m.menu3 "#menu" do %> <%%= image_tag 'menu.png' %> Menu 3 <%% end %> <%%= m.menu4 "#menu" do %> <%%= image_tag 'menu.png' %> Menu 4 <%% end %> <%% end %> </div> </div> <div id="main"> <div class="box-header"> <%% if show_title? %> <h2><%%= yield(:title) %></h2> <%% end %> </div> <div class="box"> <%%= raw flash_messages %> <%%= yield %> </div> </div> </div> </body> </html>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
flexi_generators-0.2.1 | lib/generators/flexi_prepare/templates/application.html.erb |
flexi_generators-0.2.0 | lib/generators/flexi_prepare/templates/application.html.erb |