lib/resque/server/views/layout.erb in resque-1.0.0 vs lib/resque/server/views/layout.erb in resque-1.1.0

- old
+ new

@@ -1,43 +1,41 @@ <!DOCTYPE html> <html> <head> <title>Resque.</title> + <link href="<%=u 'reset.css' %>" media="screen" rel="stylesheet" type="text/css"> <link href="<%=u 'style.css' %>" media="screen" rel="stylesheet" type="text/css"> - <link href="<%=u 'tabs.css' %>" media="screen" rel="stylesheet" type="text/css"> <script src="<%=u 'jquery-1.3.2.min.js' %>" type="text/javascript"</script> <script src="<%=u 'jquery.relatize_date.js' %>" type="text/javascript"</script> <script src="<%=u 'ranger.js' %>" type="text/javascript"></script> </head> <body> - -<div class="navigation" id="top"> - <div class="tabs"> - <div id="logo"> - Resque - </div> - <ul> + <div class="header"> + <ul class='nav'> <%= tab "Overview" %> <%= tab "Working" %> <%= tab "Failed" %> <%= tab "Queues" %> <%= tab "Workers" %> <%= tab "Stats" %> </ul> </div> + <% if @subtabs %> - <div class="tabs"> - <ul> - <% for subtab in @subtabs %> - <li <%= class_if_current "#{current_section}/#{subtab}" %>><a href="<%= current_section %>/<%= subtab %>"><span><%= subtab %></span></a></li> - <% end %> - </ul> - </div> + <ul class='subnav'> + <% for subtab in @subtabs %> + <li <%= class_if_current "#{current_section}/#{subtab}" %>><a href="<%= current_section %>/<%= subtab %>"><span><%= subtab %></span></a></li> + <% end %> + </ul> <% end %> -</div> - + <div id="main"> <%= yield %> +</div> + +<div id="footer"> + <p>Powered by <a href="http://github.com/defunkt/resque">Resque</a> v<%=Resque::Version%></p> + <p>Connected to Redis on <%=Resque.redis.server%></p> </div> </body> </html> \ No newline at end of file