Sha256: f7278b849ad84e53c66f9c65fd86d18ed3d2aef549a9b4661a45c6370bb98e46

Contents?: true

Size: 921 Bytes

Versions: 8

Compression:

Stored size: 921 Bytes

Contents

<% if @connections.empty? %>
<p>There are currently no connections.</p>
<% else %>
<table class="list">
  <thead>
    <tr>
      <th>Name</th>
      <th>Adapter</th>
      <th>Host</th>
      <th>Port</th>
      <th>Username</th>
      <th>Database</th>
      <th></th>
    </tr>
  </thead>
  <tbody>
  <% @connections.each do |connection| %>
    <tr<%= cycle('', ' class="alt"') %>>
      <td><a href="/connections/<%= connection.id %>"><%= connection.name %></a></td>
      <td><%= connection.adapter %></td>
      <td><%= connection.host %></td>
      <td><%= connection.port %></td>
      <td><%= connection.username %></td>
      <td><%= connection.database_name %></td>
      <td>
        <%- if connection.deletable? -%>
          <%= delete_link("<span class='ui-icon ui-icon-trash'></span>", "/connections/#{connection.id}") %>
        <%- end -%>
      </td>
    </tr>
  <% end %>
  </tbody>
</table>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
coupler-0.0.9-java webroot/views/connections/list.erb
coupler-0.0.8-java webroot/views/connections/list.erb
coupler-0.0.7-java webroot/views/connections/list.erb
coupler-0.0.6-java webroot/views/connections/list.erb
coupler-0.0.4-java webroot/views/connections/list.erb
coupler-0.0.3-java webroot/views/connections/list.erb
coupler-0.0.2-java webroot/views/connections/list.erb
coupler-0.0.1-java webroot/views/connections/list.erb