Sha256: 062b0f490cffa8b5163657b7c4947475f1d795775cd60f09dcbfb7aa1b6f6cd5
Contents?: true
Size: 1.36 KB
Versions: 9
Compression:
Stored size: 1.36 KB
Contents
<html> <head> <title><%= title %></title> <style> body { margin: 0; padding: 0; font-size: 0.8em; } .main { width: 800px; margin: 0 auto; border: 0px solid #ccc; padding: 0 20px 20px 20px; } h1 { margin: 25px 0; font-size: 3em; } h2,h3,h4 { margin: 5px 0; padding: 0; color: #444; } h2 { letter-spacing: 2px; border-top: 4px solid #ddd; padding: 5px 0; } ul { margin: 0; padding: 0; text-align: left; } li { margin: 0; padding: 0; text-align: left; } a { color: #4488ff; } sup { font-size: 0.8em; } </style> <link rel="stylesheet" href="notes.css" type="text/css"> </head> <body> <div class="main"> <h1><%= title %></h1> <div class="notes"> <% notes.by_label_file.each do |label, per_file| %> <h2 class="<%= label %>"><%= label %></h2> <ol class="set <%= label.downcase %>"> <% per_file.each do |file, line_notes| %> <li><h3><a href="<%= file %>"><%= file %></a></h3><ol class="file" href="<%= file %>"> <% line_notes.sort!{ |a,b| a.line <=> b.line } %> <% line_notes.each do |note| %> <li class="note <%= label.downcase %>" ref="<%= note.line %>"> <%= h note.text %> <sup><a href="<%= note.url %>"><%= note.line %></a></sup> <% if note.code? %> <pre> <%= note.code %> </pre> <% end %> </li> <% end %> </ol></li> <% end %> </ol> <% end %> </div> </div> </body> </html>
Version data entries
9 entries across 9 versions & 2 rubygems