Sha256: 005324993f8716c6e7257703842ed1b90e49c4ce664b4e0e50ad3ee8ce2d2585

Contents?: true

Size: 908 Bytes

Versions: 1

Compression:

Stored size: 908 Bytes

Contents

<% title 'Repositories' %>

<div class="page-header">
  <h1>Repositories <small><%= h Ginatra.config.description %></small></h1>
  <% if Ginatra.config.git_clone_enabled? && @repositories.any? %>
    <div class="text-muted clone-hint">
      To clone one of these repositories, install git, and run:
      git clone <%= url %><strong>repo-name</strong>
    </div>
  <% end %>
</div>

<% if @repositories.size > 10 %>
  <div class="row filter">
    <div class="col-md-12">
      <input type="text" class="form-control js-filter-query" placeholder="Filter...">
    </div>
  </div>
<% end %>

<div class="list-group repo-list js-repolist">
  <% @repositories.each do |repo| %>
    <a href="<%= prefix_url(repo.param) %>" class="list-group-item">
      <h2>
        <%= empty_description_hint_for(repo) %>
        <%= repo.name %> <small><%= h repo.description %></small>
      </h2>
    </a>
  <% end %>
</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ginatra-4.1.0 views/index.erb