Sha256: bcff38f7311449c96ee34e36d9c88630b8f1c6b3fa4786b564fbde7be3d7dd92

Contents?: true

Size: 1.5 KB

Versions: 11

Compression:

Stored size: 1.5 KB

Contents

<div id="main-container" class="row">
  <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

11 entries across 11 versions & 1 rubygems

Version Path
api_taster-0.5.1 app/views/api_taster/routes/index.html.erb
api_taster-0.5.0 app/views/api_taster/routes/index.html.erb
api_taster-0.4.8 app/views/api_taster/routes/index.html.erb
api_taster-0.4.7 app/views/api_taster/routes/index.html.erb
api_taster-0.4.6 app/views/api_taster/routes/index.html.erb
api_taster-0.4.5 app/views/api_taster/routes/index.html.erb
api_taster-0.4.4 app/views/api_taster/routes/index.html.erb
api_taster-0.4.3 app/views/api_taster/routes/index.html.erb
api_taster-0.4.2 app/views/api_taster/routes/index.html.erb
api_taster-0.4.1 app/views/api_taster/routes/index.html.erb
api_taster-0.4.0 app/views/api_taster/routes/index.html.erb