Sha256: 50850492010e9ffea71f6d14a84ae0b086d12ecb35938aa5aa90d3f793b08c9a

Contents?: true

Size: 1.04 KB

Versions: 5

Compression:

Stored size: 1.04 KB

Contents

<html>
<head>
  <title><%= title %></title>
  <style>
    body { margin: 0; padding: 0; }
    .main {
      width: 800px;
      margin: 0 auto;
      border: 1px solid #ccc;
      padding: 0 20px 20px 20px;
    }
    h1 { margin: 25px 0; }
    h2,h3,h4 { margin: 5px 0; padding: 0; color: 880044; }
    h3 { color: 004488; }
    h4 { color: 888844; }
    ul { margin: 0; padding: 0; text-align: left; }
    li { margin: 0; padding: 0; text-align: left; }
  </style>
  <link rel="stylesheet" href="notes.css" type="text/css">
</head>
<body>
<div class="main">
  <h1><%= title %></h1>
  <div class="notes">
<% notes.by_file_label.each do |file, per_label| %>
    <h2><a href="<%= file %>"><%= file %></a></h2>
    <ol class="file">
<% per_label.each do |label, lnotes| %>
      <li><h3><%= label %></h3><ol class="label">
<% lnotes.each do |note| %>
        <li class="note <%= label.downcase %>" ref="<%= note.line %>"><%= h note.textline %> <sup><%= note.line %></sup></li>
<% end %>
      </ol></li>
<% end %>
    </ol>
<% end %>
  </div>
</div>
</body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dnote-1.4.0 lib/dnote/templates/html/file.erb
dnote-1.3.1 lib/dnote/templates/html/file.erb
dnote-1.3.0 lib/dnote/templates/html/file.erb
dnote-1.2.1 lib/dnote/templates/html/file.erb
dnote-1.2.0 lib/dnote/templates/html/file.erb