Sha256: fcd4849c4471e1e9ee075ba3603021ac6d15dab80d48c980ce001793c279d8ba

Contents?: true

Size: 933 Bytes

Versions: 2

Compression:

Stored size: 933 Bytes

Contents

<div id="main-container" class="row">
  <div id="list-api-div" class="span5">
    <div class="div-container">
      <ul class="well nav nav-list">
        <% @routes.each do |controller, routes| %>
          <li class="nav-header"><%= controller %></li>
          <% routes.each do |route| %>
            <li>
              <a class="show-api" href="<%= route_path(route[:id]) %>">
                <div class="label-api label-api-full">
                  <span class="label label-important"><%= route[:verb] %></span>
                </div>
                <strong><%= route[:path] %></strong>
              </a>
            </li>
          <% end %>
        <% end %>
      </ul>
    </div>
  </div>
  <div id="show-api-div" class="span7">
    <div class="div-container">
      <div class="alert alert-block alert-info">
        <h3>Select an API endpoint on the left to get started. :)</h3>
      </div>
    </div>
  </div>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
api_taster-0.2.2 app/views/api_taster/routes/index.html.erb
api_taster-0.2.1 app/views/api_taster/routes/index.html.erb