Sha256: 62de47b0b5fed7daf1a5041bfc97513f4a007f96df48727ce6e63f32cbfa7eec
Contents?: true
Size: 1.56 KB
Versions: 3
Compression:
Stored size: 1.56 KB
Contents
!!! Strict %html{:xmlns => "http://www.w3.org/1999/xhtml"} %head %meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/ = csrf_meta_tag %title= Radmin::I18n.t(:admin_ui, :default => "Admin UI") = stylesheet_link_tag "admin/reset","admin/style", :cache => "admin/all" = yield(:head) %body #container - if admin_signed_in? #header %ul#navigation - nav_tabs.each do |tab| - if tab.visible?(current_admin) = content_tag :li, :class => ('current ' if current_tab?(tab)).to_s do = link_to tab.name, tab.first.relative_url if tab.first - if current_tab?(tab) %ul - tab.each do |sub_item| - if sub_item.visible?(current_admin) = nav_link_to sub_item.name, sub_item.relative_url .clear %span.nodisp #usernav = Radmin::I18n.t(:logged_in_as, :default => "Logged in as") = link_to current_admin.email, edit_admin_user_path(current_admin) (#{link_to Radmin::I18n.t(:logout, :default => "Logout"), destroy_admin_session_path}) - else .spacer40 #main - if show_title? %h1= yield(:title) - flash.each do |name, msg| = content_tag :div, :id => "#{name}" do = content_tag :p, msg #content = yield = javascript_include_tag "admin/jquery","admin/jquery.rails","admin/application", :cache => "admin/all" = yield(:script)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
radmin-0.3.3 | app/views/layouts/radmin.html.haml |
radmin-0.3.2 | app/views/layouts/radmin.html.haml |
radmin-0.3.1 | app/views/layouts/radmin.html.haml |