Sha256: fd26c776dbb4962269966d43b2d20c66ac797d5a3db5517ebd535b765f10f778

Contents?: true

Size: 536 Bytes

Versions: 1

Compression:

Stored size: 536 Bytes

Contents

<% if @nodes %>
  <table>
    <tr class="header"><th>UUID</th><th>Node Name</th><th>MAC Address</th></tr>
    <% even = true %>
    <% @nodes.each do |node| %>
      <tr class="<%= even ? "even":"odd" %>">
        <td class="guid"><a href="/node/<%= node.guid %>"><%= node.guid %></a></td>
        <td class="name"><a href="/node/<%= node.guid %>"><%= node.name %></a></td>
        <td class="macaddr"><a href="/node/<%= node.guid %>"><%= node.macaddr %></a></td>
      </tr>
      <% even = !even %>
    <% end %>
  </table>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
arnold-0.0.1 views/nodes.erb