Sha256: b5f3da45cfd6781e904369de3674d1f02f7d8963010c8fab76ba542afc40cf8e
Contents?: true
Size: 1.36 KB
Versions: 3
Compression:
Stored size: 1.36 KB
Contents
<%= render partial: 'kafka_command/shared/title', locals: { title: 'Clusters', subtitle: 'Manage multiple clusters' } %> <div class="level"a> <%= render( partial: 'kafka_command/shared/search_bar', locals: { resources: @clusters, resource_name: 'cluster', resource_path: clusters_path, filter_property: :name } ) %> </div> <table class="table is-striped is-fullwidth is-bordered"> <thead> <th>Name</th> <th>Description</th> <th>Brokers</th> <th>Protocol</th> <th>Connection Status</th> </thead> <tbody> <% @clusters.each do |cluster| %> <tr> <td><%= link_to cluster.name, cluster_topics_path(cluster) %></td> <td><%= cluster.description %></td> <td><%= cluster.brokers.count %></td> <td> <% if cluster.ssl? %> SSL <% elsif cluster.sasl? %> SASL/SCRAM <% else %> PLAINTEXT <% end %> </td> <td> <% if cluster.connected? %> <span class="icon has-text-success"> <i class="fas fa-check-circle"></i> </span> <% else %> <span class="icon has-text-danger"> <i class="fas fa-times-circle"></i> </span> <% end %> </td> </tr> <% end %> </tbody> </table>
Version data entries
3 entries across 3 versions & 1 rubygems