Sha256: 2add516c56939d5e0dd65f3f1e2b83c0cbbef806896059bec2da066c482445e2

Contents?: true

Size: 783 Bytes

Versions: 4

Compression:

Stored size: 783 Bytes

Contents

<code>
  <%= Deforest.prepare_file_for_render(@full_path).html_safe %>
</code>

<style>
  .method_call_count {
    padding: 2px 10px;
    background: rgba(242, 39, 39, 0.7);
    border: 1px solid red;
    border-radius: 55px;
    color: #fff;
  }
  .highlight-line {
    color: #fff;
    padding: 2px;
  }
  .highlight-red {
    background: rgba(245, 66, 72, 0.8);
  }
  .highlight-yellow {
    background: rgba(240, 240, 5, 0.8);
    color: #000;
  }
  .highlight-green {
    background: rgba(0, 227, 38, 0.8);
    color: #000;
  }
  .last_accessed {
    color: #999999;
    margin-left: 10px;
  }
</style>

<script>
  function scroll() {
    document.getElementById('<%= params[:line_no] %>').scrollIntoView();
  }
  document.addEventListener("DOMContentLoaded", scroll);
</script>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
deforest-1.0.2 app/views/deforest/files/show.html.erb
deforest-1.0.1 app/views/deforest/files/show.html.erb
deforest-1.0.0 app/views/deforest/files/show.html.erb
deforest-0.0.1 app/views/deforest/files/show.html.erb