Sha256: 2e018ed3a6173c41f1544fb0f9479033640fbc32a536211fb14a17b3277a56b1

Contents?: true

Size: 620 Bytes

Versions: 6

Compression:

Stored size: 620 Bytes

Contents

<!DOCTYPE html>
<html lang="en">
  <head>
    <link rel="stylesheet" href="styles.css">
    <title>SVG Demo</title>
  </head>
  <body>
    <% files_and_messages.each do |(filename, message)| %>
      <div class="lenses-container">
        <div class="filename"><%= filename %></div>

        <% if (svgs = message.to_svg).any? %>
          <% svgs.map do |svg| %>
            <div class="lens">
              <%= svg %>
            </div>
          <% end %>
        <% else %>
          <div>
            Could not recognize tracing data.
          </div>
        <% end %>
      </div>
    <% end %>
  </body>
</html>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lens_protocol-0.2.1 examples/views/index.erb
lens_protocol-0.2.0 examples/views/index.erb
lens_protocol-0.1.3 examples/views/index.erb
lens_protocol-0.1.2 examples/views/index.erb
lens_protocol-0.1.1 examples/views/index.erb
lens_protocol-0.1.0 examples/views/index.erb