Sha256: c10153ff55eefeb3b10b6cc5d9e33d6df6136038e65800929491cbe5d734e7ea

Contents?: true

Size: 1.52 KB

Versions: 3

Compression:

Stored size: 1.52 KB

Contents

<!DOCTYPE html>
<html>
  <head>
    <title>Swagger UI</title>

    <%= favicon_link_tag 'swaggard/favicon-32x32.png', sizes: '32x32' %>
    <%= favicon_link_tag 'swaggard/favicon-16x16.png', sizes: '16x16' %>

    <%= stylesheet_link_tag    'swaggard/application', media: :screen %>
    <%= stylesheet_link_tag    'swaggard/application_print', media: :print %>
    <%= javascript_include_tag 'swaggard/application' %>

    <%= javascript_tag do %>
        window.default_content_type = '<%= Swaggard.configuration.default_content_type %>';
    <% end %>

  </head>

  <body class='swagger-section'>
    <div id='header'>
      <div class='swagger-ui-wrap'>
        <a id='logo' href='http://swagger.io'>swagger</a>
        <%= form_tag '', id: :api_selector, data: { authentication_key: @authentication_key,
                                                    authentication_type: @authentication_type,
                                                    authentication_value: @authentication_value} do %>
          <div class='input'><input placeholder='http://example.com/api' id='input_baseUrl' name='baseUrl' type='text'/></div>
          <div class='input'><input placeholder='<%= @authentication_key %>' id='input_apiKey' name='apiKey' type='text'/></div>
          <div class='input'><a id='explore' href='#'>Explore</a></div>
        <% end %>

      </div>
    </div>

    <div id='message-bar' class='swagger-ui-wrap'>&nbsp;</div>
    <div id='swagger-ui-container' class='swagger-ui-wrap'></div>
  </body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
swaggard-0.3.0 app/views/swaggard/swagger/index.html.erb
swaggard-0.2.1 app/views/swaggard/swagger/index.html.erb
swaggard-0.2.0 app/views/swaggard/swagger/index.html.erb