Sha256: b4fc7b0995f5c791e3be0b3543e0d5f9b895242f11fa78b4e02276b6cbc71688
Contents?: true
Size: 553 Bytes
Versions: 2
Compression:
Stored size: 553 Bytes
Contents
<%= render_file('common/header.html.erb', title: 'Nodes') %> <h1 id="nodes">List all nodes for DC, sorted by name</h1> <ul> <% nodes.sort {|a,b| a['Node'] <=> b['Node'] }.each do |snode| %><li id="node_<%= snode['ID'] %>"><a href="ssh://<%= snode['Address']%>"><%= snode['Address'] %></a> <%= snode['Node'] %><% snode['Meta'].each do |k,v| if v && !v.empty? %><span class="badge badge-pill badge-primary float-right"><%= k %>: <%= v%></span><% end end if snode['Meta'] %></li> <% end %> </ul> <%= render_file 'common/footer.html.erb' %>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
consul-templaterb-1.0.9 | samples/nodes.html.erb |
consul-templaterb-1.0.8 | samples/nodes.html.erb |