Sha256: 22a5e9edc0841ec2c864c5209e8f8bed0b8146b7575f619f5359bf0b49171e31

Contents?: true

Size: 1.78 KB

Versions: 21

Compression:

Stored size: 1.78 KB

Contents

<table class="table table-striped table-hover table-condensed table-bordered datatable table">
  <thead>
    <tr>
      <th class="text-center cluster-id"><%=t('klastera.cluster_id')%></th>
      <th class="text-center cluster-order"><%=t('klastera.cluster_order')%></th>
      <th class="text-center cluster-color"><%=t('klastera.cluster_color')%></th>
      <th class="text-center cluster-name"><%=t('klastera.cluster_name')%></th>
      <th class="text-center cluster-nid"><%=t('klastera.cluster_nid')%></th>
      <th class="cogs-actions two-icons"><span class="fa fa-cogs"></span></th>
    </tr>
  </thead>
  <tbody>
    <% @clusters.each do |cluster| %>
      <tr class="middle-align-rows">
        <td class="text-center cluster-id"><%= cluster.id %></td>
        <td class="text-center cluster-order"><%= cluster.order %></td>
        <td class="text-center cluster-color">
          <i style='<%="color:#{cluster.color}" if cluster.color.present?%>' class="fa fa-square fa-2x<%=' colorless' if cluster.color.blank?%>" aria-hidden="true"></i>
        </td>
        <td class="text-center cluster-name"><%= cluster.name %></td>
        <td class="text-center cluster-nid"><%= cluster.nid %></td>
        <td class="cogs-actions two-icons">
          <%= link_to edit_cluster_path(cluster), class:'btn btn-primary btn-xs', title: t('shared.actions.edit'), "data-toggle": "modal", "data-target": "#remote-modal-block" do %>
            <span class="fa fa-pencil-square-o"></span>
          <% end %>
          <%= link_to transfer_cluster_path(cluster), class:'btn btn-danger btn-xs', title: t('shared.actions.archive'), "data-toggle": "modal", "data-target": "#remote-modal-block" do %>
            <span class="fa fa-trash"></span>
          <% end %>
        </td>
      </tr>
    <% end %>
  </tbody>
</table>

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
klastera-1.5.4 app/views/klastera/clusters/_table.html.erb
klastera-1.5.2.4 app/views/klastera/clusters/_table.html.erb
klastera-1.4.4.5 app/views/klastera/clusters/_table.html.erb
klastera-1.5.1.0 app/views/klastera/clusters/_table.html.erb
klastera-1.5 app/views/klastera/clusters/_table.html.erb
klastera-1.4.4.3.1 app/views/klastera/clusters/_table.html.erb
klastera-1.4.4.4 app/views/klastera/clusters/_table.html.erb
klastera-1.4.4.3 app/views/klastera/clusters/_table.html.erb
klastera-1.4.4.2 app/views/klastera/clusters/_table.html.erb
klastera-1.4.4.1 app/views/klastera/clusters/_table.html.erb
klastera-1.4.4 app/views/klastera/clusters/_table.html.erb
klastera-1.4.3 app/views/klastera/clusters/_table.html.erb
klastera-1.4.2 app/views/klastera/clusters/_table.html.erb
klastera-1.4.1 app/views/klastera/clusters/_table.html.erb
klastera-1.4.0.3 app/views/klastera/clusters/_table.html.erb
klastera-1.4.0.2 app/views/klastera/clusters/_table.html.erb
klastera-1.4.0.1 app/views/klastera/clusters/_table.html.erb
klastera-1.4 app/views/klastera/clusters/_table.html.erb
klastera-1.3.3.1 app/views/klastera/clusters/_table.html.erb
klastera-1.3.2 app/views/klastera/clusters/_table.html.erb