Sha256: 713d67b8bd9e73ba5f7d78e55fae26da420f065912f9cf79a9a2dfd4f1bfc2aa

Contents?: true

Size: 1.76 KB

Versions: 6

Compression:

Stored size: 1.76 KB

Contents

<div class="page-header">
  <h1><a href="/">Organizations</a> &rang; <a href="/orgs/<%=h @repo.organization.id %>"><%=h @repo.organization.name %></a> &rang; <%=h @repo.full_name %></h1>
</div>

<div class="pull-right"><a href="<%=h @repo.url %>" target="_blank">View repository on GitHub</a></div>
<table id="blob_table" class="table table-condensed table-hover">
  <thead>
    <tr>
      <th colspan="2">
        <form class="form-inline" role="quick-filter">
          <div class="checkbox">
            <label>
              <input type="checkbox" checked="checked" id="only_with_findings"> Show only files with findings
            </label>
          </div>
          <div class="form-group" style="display:block;float:right">
            <div class="input-group">
              <div class="input-group-addon input-sm"><span class="glyphicon glyphicon-search" aria-hidden="true"></span></div>
              <input type="search" class="form-control input-sm" id="quick_filter" placeholder="Quick filter...">
            </div>
          </div>
        </form>
      </th>
    </tr>
    <tr>
      <th>Path</th>
      <th style="width:100px;text-align:right">Size</th>
    </tr>
  </thead>
  <tbody>
    <% @repo.blobs.all.each do |blob| %>
      <% if blob.findings.count.zero? %>
        <tr data-blob-id="<%=h blob.id %>">
      <% else %>
        <tr class="warning" data-blob-id="<%=h blob.id %>">
      <% end %>
        <td><%=format_path(blob.path) %></td>
        <td style="text-align:right"><%=h number_to_human_size(blob.size) %></td>
      </tr>
    <% end %>
  </tbody>
</table>

<div id="blob_modal" class="modal fade" role="dialog" aria-hidden="true">
  <div class="modal-dialog modal-lg">
    <div class="modal-content">
      <div class="modal-body"></div>
    </div>
  </div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gitrob-0.0.6 views/repository.erb
gitrob-0.0.5 views/repository.erb
gitrob-0.0.4 views/repository.erb
gitrob-0.0.3 views/repository.erb
gitrob-0.0.2 views/repository.erb
gitrob-0.0.1 views/repository.erb