lib/flapjack/gateways/web/views/entities.html.erb in flapjack-0.7.35 vs lib/flapjack/gateways/web/views/entities.html.erb in flapjack-0.8.0

- old
+ new

@@ -1,39 +1,20 @@ -<!DOCTYPE html> -<html lang="en"> - <head> - <% nav = render_erb('_nav.html.erb', binding) %> - <% head = render_erb('_head.html.erb', binding) %> - <% foot = render_erb('_foot.html.erb', binding) %> - <title>Flapjack - <%= h @adjective.capitalize %> Entities</title> - <%= head %> - </head> - <body> - <div id="wrap"> - <div class="container"> - <div class="page-header"> - <%= nav %> - <h2><%= h @adjective.capitalize %> Entities</h2> - </div> +<% page_title "#{@adjective.capitalize} Entities" %> - <p><%= h @count_failing_entities %> failing out of <%= h @count_all_entities %></p> +<div class="page-header"> + <h2><%= h @adjective.capitalize %> Entities</h2> +</div> - <% if @entities.length > 0 %> - <table class="table table-bordered table-hover table-condensed"> - <% @entities.sort.each do |entity| %> - <tr> - <td><a href="/entity/<%= CGI.escape(entity) %>"><%= h entity %></a> - </td> - </tr> - <% end %> - </table> - <% else %> - <p>No check output has been processed yet, so there are no entities we can show you here.</p> - <% end %> - </div> - <div id="push"></div> - </div> - <div id="footer"> - <%= foot %> - </div> - </body> -</html> +<p><%= h @count_failing_entities %> failing out of <%= h @count_all_entities %></p> + +<% if @entities.length > 0 %> +<table class="table table-bordered table-hover table-condensed"> + <% @entities.sort.each do |entity| %> + <tr> + <td><a href="/entity/<%= CGI.escape(entity) %>"><%= h entity %></a> + </td> + </tr> + <% end %> +</table> +<% else %> + <p>No check output has been processed yet, so there are no entities we can show you here.</p> +<% end %>