Sha256: 0b738a6a4de255bceebc33483d1eecfeea49c4be26bf0d5949d52f2ab8c573c1

Contents?: true

Size: 1.63 KB

Versions: 2

Compression:

Stored size: 1.63 KB

Contents

<div class="eight wide column" id="segment_href_<%= database.group.name.parameterize %>_<%= database.name.parameterize %>" data-href="<%= summary_path(group: database.group.name.parameterize, database: database.name.parameterize) %>">
  <%= link_to databases_path(group: database.group.name.parameterize, database: database.name.parameterize), style: 'text-decoration: none !important; color: inherit !important' do %>
    <div class="ui segments" style="margin-bottom: 10px;">
      <div class="ui segment" style="height: 60px;">
        <div style="float: left;">
          <div style="font-size: 16px; font-weight: bold;">
            <%= database.name %>
          </div>
          <div style="font-size: 12px; color: grey">
            <%= database.host %>
          </div>
        </div>
        <button class="grey ui button basic button" id="segment_status_<%= database.group.name.parameterize %>_<%= database.name.parameterize %>" style="float: right;">
          <%= 'N/A' %>
        </button>
      </div>
      <%= render partial: partial, locals: {database: database, id: "segment_content_#{database.group.name.parameterize}_#{database.name.parameterize}"} %>
      <div class="ui segment" id="segment_refreshed_<%= database.group.name.parameterize %>_<%= database.name.parameterize %>" style="height: 35px; display: none;">
        <span class="right floated" id="segment_refreshed_span_<%= database.group.name.parameterize %>_<%= database.name.parameterize %>" style="float:right; margin-top: -6px; color: grey">
          Last refresh:
          <%= Time.now.strftime("%H:%M:%S GMT%z (%Z)") %>
        </span>
      </div>
    </div>
  <% end %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pgbouncerhero-2.0.0 app/views/pg_bouncer_hero/home/_card.html.erb
pgbouncerhero-1.0.3 app/views/pg_bouncer_hero/home/_card.html.erb