<h2>Listing builds</h2>

<table class="table">
  <thead>
    <tr>
      <th>Project</th>
      <th>Number</th>
      <th>Log</th>
      <th>Coordinate</th>
      <th>Config</th>

      <th></th>
    </tr>
  </thead>
  <tbody>
<%= for build <- @builds do %>
    <tr>
      <td><%= build.project_id %></td>
      <td><%= build.number %></td>
      <td><%= build.log %></td>
      <td><%= build.coordinate %></td>
      <td><%= build.config %></td>

      <td class="text-right">
        <%= link "Show", to: build_path(@conn, :show, build), class: "btn btn-default btn-xs" %>
        <%= link "Edit", to: build_path(@conn, :edit, build), class: "btn btn-default btn-xs" %>
        <%= link "Delete", to: build_path(@conn, :delete, build), method: :delete, data: [confirm: "Are you sure?"], class: "btn btn-danger btn-xs" %>
      </td>
    </tr>
<% end %>
  </tbody>
</table>

<%= link "New build", to: build_path(@conn, :new) %>

<h2>Listing builds</h2>

<table class="table">
  <thead>
    <tr>
      <th>Project</th>
      <th>Number</th>
      <th>Log</th>
      <th>Coordinate</th>
      <th>Config</th>

      <th></th>
    </tr>
  </thead>
  <tbody>
<%= for build <- @builds do %>
    <tr>
      <td><%= build.project_id %></td>
      <td><%= build.number %></td>
      <td><%= build.log %></td>
      <td><%= build.coordinate %></td>
      <td><%= build.config %></td>

      <td class="text-right">
        <%= link "Show", to: build_path(@conn, :show, build), class: "btn btn-default btn-xs" %>
      </td>
    </tr>
<% end %>
  </tbody>
</table>

<div id="msg-container">
</div>

<script type="test/JavaScript">Build.init(socket, "lobby")</script>

Remove invalid links and add a message box.
Remove invalid links and add a message box.
