Sha256: d96009830253428f812c67bb3e6ee4aee8a9eaaf5221fb55e0c4b647d9f1d361

Contents?: true

Size: 1.5 KB

Versions: 6

Compression:

Stored size: 1.5 KB

Contents

<div id="main-container" class="row-fluid">
  <div id="list-api-div" class="span5">
    <div class="div-container">
      <ul class="well nav nav-list">
        <% if @has_missing_definitions || @has_obsolete_definitions %>
          <li class="nav-header">Information</li>
          <% if @has_missing_definitions %>
            <%= render 'information_warning_li',
              :text => 'Missing Definitions Detected',
              :path => missing_definitions_routes_path
            %>
          <% end %>
          <% if @has_obsolete_definitions %>
            <%= render 'information_warning_li',
              :text => 'Obsolete Definitions Detected',
              :path => obsolete_definitions_routes_path
            %>
          <% end %>
        <% end %>
        <% @routes.each do |controller, routes| %>
          <li class="nav-header"><%= controller %></li>
          <% routes.each do |route| %>
            <li>
              <a 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

6 entries across 6 versions & 1 rubygems

Version Path
api_taster-0.8.4 app/views/api_taster/routes/index.html.erb
api_taster-0.8.3 app/views/api_taster/routes/index.html.erb
api_taster-0.8.2 app/views/api_taster/routes/index.html.erb
api_taster-0.8.1 app/views/api_taster/routes/index.html.erb
api_taster-0.7.0 app/views/api_taster/routes/index.html.erb
api_taster-0.6.0 app/views/api_taster/routes/index.html.erb