Sha256: 9a45420f8018ca6b85a38b5e9a71664de76c762e3162eec313d722b3649f0b21

Contents?: true

Size: 1.66 KB

Versions: 14

Compression:

Stored size: 1.66 KB

Contents

<div class="container">
  <%= render 'redis_web_manager/shared/status' %>
  <div class="row my-4">
    <div class="col-12">
      <div class="card">
        <div class="card-header">
          <h5 class="card-title mb-0">
            Clients
          </h5>
        </div>
        <div class="card-body p-0">
          <div class="table-responsive">
            <table class="table mb-0">
              <thead>
              <tr>
                <th>ID</th>
                <th>Name</th>
                <th>Address</th>
                <th>Age</th>
                <th>Flag</th>
                <th>Event</th>
                <th>Last command</th>
              </tr>
              </thead>
              <tbody>
              <% @clients.each do |c| %>
                <tr>
                  <td class="align-middle">
                    <%= c[:id] %>
                  </td>
                  <td class="align-middle">
                    <%= c[:name] %>
                  </td>
                  <td class="align-middle">
                    <%= c[:addr] %>
                  </td>
                  <td class="align-middle">
                    <%= age(c[:age].to_i) %>
                  </td>
                  <td class="align-middle">
                    <%= flags(c[:flags]) %>
                  </td>
                  <td class="align-middle">
                    <%= events(c[:events]) %>
                  </td>
                  <td class="align-middle">
                    <code><%= c[:cmd] %></code>
                  </td>
                </tr>
              <% end %>
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
redis_web_manager-0.4.0 app/views/redis_web_manager/clients/index.html.erb
redis_web_manager-0.3.9 app/views/redis_web_manager/clients/index.html.erb
redis_web_manager-0.3.8 app/views/redis_web_manager/clients/index.html.erb
redis_web_manager-0.3.6 app/views/redis_web_manager/clients/index.html.erb
redis_web_manager-0.3.5 app/views/redis_web_manager/clients/index.html.erb
redis_web_manager-0.3.4 app/views/redis_web_manager/clients/index.html.erb
redis_web_manager-0.3.3 app/views/redis_web_manager/clients/index.html.erb
redis_web_manager-0.3.2 app/views/redis_web_manager/clients/index.html.erb
redis_web_manager-0.3.1 app/views/redis_web_manager/clients/index.html.erb
redis_web_manager-0.3.0 app/views/redis_web_manager/clients/index.html.erb
redis_web_manager-0.2.1 app/views/redis_web_manager/clients/index.html.erb
redis_web_manager-0.2.0 app/views/redis_web_manager/clients/index.html.erb
redis_web_manager-0.1.8 app/views/redis_web_manager/clients/index.html.erb
redis_web_manager-0.1.6 app/views/redis_web_manager/clients/index.html.erb