Sha256: b3bc30565125d0fea0d5acda79b2187f2de25550b5682c603103906e1e97dc8c
Contents?: true
Size: 1.3 KB
Versions: 5
Compression:
Stored size: 1.3 KB
Contents
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <title>Admin</title> <%%= stylesheet_link_tag 'admin' %> <%%= javascript_include_tag :defaults %> <%%= javascript_include_tag 'file_browser' %> </head> <body> <div id="header"> <h1>Admin</h1> <div id="loginbox"><%% if logged_in? %>Welcome, <%%= current_user %> / <%%= link_to "Logout", '/logout' %><%% else %><%%= link_to "Login", '/login' %><%% end %></div> </div> <div id="main"> <div id="left_menu"> <h3>Panels</h3> <ul class="menu"> <%% simple_menu([]) do |name,controller| %> <li><%%= link_to(name.titleize, {:controller => controller}, :class => (like_current_page?(:controller => controller) ? 'selected' : '')) %></li> <%% end %> </ul> <h3>Quick Links</h3> <ul class="menu"> </ul> </div> <div id="content"> <%% if flash[:message] %> <div id="message_main" class="message"> <%%= h flash[:message] %> </div> <%% elsif flash[:warning] %> <div id="message_main" class="message warning"> <%%= h flash[:warning] %> </div> <%% end %> <%%= yield %> </div> </div> </body> </html>
Version data entries
5 entries across 5 versions & 2 rubygems