lib/masterview/extras/app/views/layouts/masterview_admin.rhtml in masterview-0.2.5 vs lib/masterview/extras/app/views/layouts/masterview_admin.rhtml in masterview-0.3.0

- old
+ new

@@ -1,59 +1,60 @@ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" - "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> -<head> - <title>MasterView Admin</title> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + <head> + <title>Masterview Admin</title> + <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> + + <%= stylesheet_link_tag 'masterview/style' %> + <%= stylesheet_link_tag 'masterview/sidebox' %> + <%= stylesheet_link_tag 'masterview/color-scheme' %> + <%= javascript_include_tag :defaults %> + + </head> + <body> - <%= stylesheet_link_tag 'masterview/style' %> - <%= stylesheet_link_tag 'masterview/sidebox' %> - <%= stylesheet_link_tag 'masterview/color-scheme' %> - <%= javascript_include_tag :defaults %> -</head> + <!-- ###### Header ###### --> -<body> - - <!-- ###### Header ###### --> - <div id="header"> <span class="headerTitle">Admin</span> <div class="menuBar"> <%= link_to 'Home', :action => :index %> <!-- | <a href="">Another link</a> --> </div> </div> - - + <div class="main"> <div class="mv_admin_list sidebar LHS"> <h2>Tasks:</h2> <ul> <li><%= link_to 'View Configuration', :action => 'configuration' %></li> - <li><%= link_to 'View Loaded Features', :action => 'features' %></li> - <li style="margin-top: 6px; padding-top: 4px; border-top: 1px dashed;"><%= link_to 'Rebuild all outdated templates', :action => 'rebuild_all' %></li> + <li><%= link_to 'View Features', :action => 'features' %></li> + <li><%= link_to 'View Directives', :action => 'directives' %></li> + <li class="subsection_start"><%= link_to 'Interactive Render', :action => 'interact' %></li> + <li class="subsection_start"><%= link_to 'Rebuild all outdated templates', :action => 'rebuild_all' %></li> </ul> </div> - - <div class="mv_admin_list content"> + + <div class="mv_admin_list content"> <h1>MasterView Admin</h1> <% if @flash[:notice] %> <div class="messages" id="admin_messages"> <%= h @flash[:notice] %> </div> <% end %> - + <%= @content_for_layout %> - </div> + </div> - </div> + </div> <!-- end main --> <!-- ###### Footer ###### --> <div id="footer"> <div class="footerLHS"> @@ -67,7 +68,7 @@ <div> <a href="http://masterview.org">Powered by MasterView</a> </div> </div> -</body> + </body> </html>