Sha256: ceb881506a21a6bb221d5bf6aced944fc9237eabf8a29fa2b71dca2f17fd41d4

Contents?: true

Size: 958 Bytes

Versions: 8

Compression:

Stored size: 958 Bytes

Contents

<%= turbo_frame_tag dom_id(@project, [@hostname, :memory_usage].join('-')) do %>
  <div class="progress-bar bg-gray-300" style="height: 5px; width: 100%;">
    <div class="progress bg-blue-500" data-refresh-target="progressBar" style="height: 100%; width: 100%;"></div>
  </div>
  <div class="flex flex-col bg-gray-400/5 p-8">
    <dt class="text-sm font-semibold leading-6 text-gray-600">
      <canvas data-controller="pie-chart"
        data-pie-chart-label-value="Memory Usage"
        data-pie-chart-idle-value="<%= @service.mem_free %>"
        data-pie-chart-idle-label-value="Idle"
        data-pie-chart-idle-color-value="rgb(235, 235, 235)"
        data-pie-chart-used-value="<%= @service.mem_used %>"
        data-pie-chart-used-label-value="Active"
        data-pie-chart-used-color-value="rgb(54, 162, 235)"></canvas>
    </dt>
    <dd class="order-first text-3xl font-semibold tracking-tight text-gray-900">Memory Usage</dd>
  </div>
<% end %>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mission_control-servers-0.1.3 app/views/mission_control/servers/dashboards/memory_usages/show.html.erb
mission_control-servers-0.1.2 app/views/mission_control/servers/dashboards/memory_usages/show.html.erb
mission_control-servers-0.1.1 app/views/mission_control/servers/dashboards/memory_usages/show.html.erb
mission_control-servers-0.1.0 app/views/mission_control/servers/dashboards/memory_usages/show.html.erb
mission_control-servers-0.0.5 app/views/mission_control/servers/dashboards/memory_usages/show.html.erb
mission_control-servers-0.0.4 app/views/mission_control/servers/dashboards/memory_usages/show.html.erb
mission_control-servers-0.0.3 app/views/mission_control/servers/dashboards/memory_usages/show.html.erb
mission_control-servers-0.0.2 app/views/mission_control/servers/dashboards/memory_usages/show.html.erb