Sha256: 1f616fa8038f3e7b63ee3e9d80e10c3f6da66b7b29d266f59432986de7572329

Contents?: true

Size: 824 Bytes

Versions: 6

Compression:

Stored size: 824 Bytes

Contents

<div class="page-header">
  <h1>Tomcat Applications</h1>
</div>

<% if @instances.empty? %>
<h2>No running Tomcat applications!</h2>
<% else %>
<form class="well" action="/tomcat/delete" method="post">
  <table class="table table-striped table-bordered table-condensed">
    <% @instances.each do |id,host| %>
        <tr>
          <th>Container ID</th>
          <th>IPAddress</th>
          <th>Port</th>
          <th>Delete?</th>
        </tr>
        <tr>
          <td><%= host['hostname'] %></td>
          <td><%= host['ip'] %></td>
          <td><%= host['port'] %></td>
          <td><input type="checkbox" name="id" value="<%= id %>" style="text-align:center; vertical-align: middle;"> </td>
        </tr>
    <% end %>
  </table>
  <br />
  <button type="submit" class="btn">Submit</button>
</form>

<% end %>

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
tprov-api-0.0.6 lib/tprov-api/views/instance_list.erb
tprov-0.0.6 lib/tprov/views/instance_list.erb
tprov-0.0.5 lib/tprov/views/instance_list.erb
tprov-0.0.4 lib/tprov/views/instance_list.erb
tprov-0.0.3 lib/tprov/views/instance_list.erb
tprov-0.0.2 lib/tprov/views/instance_list.erb