Sha256: d3d31cdaf0656115930dd5744b5d9fdbe03c2ea71642a2f3297be1ad49738ad5
Contents?: true
Size: 500 Bytes
Versions: 4
Compression:
Stored size: 500 Bytes
Contents
<%= content_tag :div, class: "#{@chart.today? ? "w-1/2" : "w-full"}" do %> <%= line_chart @chart.render_chart %> <div class="flex justify-between"> <% RailsServerMonitor::ChartForServer::AVAILABLE_TIMELINES.each do |timeline| %> <%= link_to timeline.humanize, server_path(@server, timeline: timeline), class: "#{@chart.timeline == timeline ? "bg-blue-500 text-white" : "bg-gray-300 text-gray-800" } p-2 rounded hover:bg-blue-400" %> <% end %> </div> <% end %>
Version data entries
4 entries across 4 versions & 1 rubygems