views/layout.erb
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>Coverband: <%= Coverband::VERSION %></title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script src='<%= assets_path('dependencies.js') %>' type='text/javascript'></script>
<script src='<%= assets_path('application.js') %>' type='text/javascript'></script>
<link href='<%= assets_path('application.css') %>' media='screen, projection, print' rel='stylesheet' type='text/css'>
<link rel="shortcut icon" type="image/png" href="<%= assets_path("favicon_#{coverage_css_class(result.source_files.covered_percent)}.png") %>" />
<link rel="icon" type="image/png" href="<%= assets_path('favicon.png') %>" />
</head>
<body>
<div id="loading">
<img src="<%= assets_path('loading.gif') %>" alt="loading"/>
</div>
<div id="wrapper" style="display:none;">
<%= display_nav %>
<div id="content">
<%= formatted_file_list("Coverage", result, result.source_files) %>
</div>
<div id="footer">
Generated by <a href="http://github.com/danmayer/coverband">Coverband</a> v<%= Coverband::VERSION %>
</div>
<div class="source_files">
<div class="shared_source_table">
<div class='loader'>
loading source data...
<br/>
<img src="<%= assets_path('loading.gif') %>" alt="loading"/>
</div>
</div>
</div>
</div>
</body>
</html>