Sha256: 181dfc1075bdfff2809f8bce8bef88e3e8b4b04c420521135aaac07b985de4df

Contents?: true

Size: 1.03 KB

Versions: 6

Compression:

Stored size: 1.03 KB

Contents

<html>
  <head>
    <meta charset='utf-8'>
    <title><%= @filename %></title>
    <link rel="stylesheet" href="css/coco.css" type="text/css" />
  </head>
  <body>
    <p class="menu">
      <a href="index.html">Index</a> <img src="img/coconut16.png" width="16" height="16" />
      <a href="https://github.com/lkdjiin/coco/wiki">Wiki</a> <img src="img/coconut16.png" width="16" height="16" />
      <a href="https://github.com/lkdjiin/coco">Source</a> <img src="img/coconut16.png" width="16" height="16" />
      <a href="http://lkdjiin.github.com/coco/">Web site</a>
    </p>
    <h2><%= @filename %></h2>
    <p class="date"><%= "#{Time.now}" %></p>
    
    <table class="source">
      
      <% @lines.each do |num, text, hit|%>
      <%   if hit.nil? %>
        <tr class="never">
      <%   elsif hit.zero? %>
        <tr class="miss">
      <%   elsif hit > 0 %>
        <tr class="hit" %>
      <%   end %>

      <%= "<td><pre>#{num} </pre></td><td><pre>#{text}</pre></td>" %>

        </tr>
      <% end%>
      
    </table>
  </body>
</html>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
coco-0.7.1 template/file.erb
coco-0.7 template/file.erb
coco-0.6 template/file.erb
coco-0.5.1 template/file.erb
coco-0.5 template/file.erb
coco-0.4.2 template/file.erb