Sha256: 94e1ad386496d9a5ef0cf819e73d859fac6b6b98bf74f31e7924bbf32f9abf48

Contents?: true

Size: 1.4 KB

Versions: 2

Compression:

Stored size: 1.4 KB

Contents

.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
    .ui.segments{style: 'margin-bottom: 10px;'}
      .ui.segment{style: 'height: 60px;'}
        %div{style: 'float: left;'}
          %div{style: 'font-size: 16px; font-weight: bold;'}= database.name
          %div{style: 'font-size: 12px; color: grey'}= database.host
        %button.ui.button.basic.button{id: "segment_status_#{database.group.name.parameterize}_#{database.name.parameterize}", style: 'float: right;', class: 'grey'}= 'N/A'
      = render partial: partial, locals: {database: database, id: "segment_content_#{database.group.name.parameterize}_#{database.name.parameterize}"}
      .ui.segment{id: "segment_refreshed_#{database.group.name.parameterize}_#{database.name.parameterize}", style: 'height: 35px; display: none;'}
        %span.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)") # Same as new Date().toTimeString() in JS

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pgbouncerhero-1.0.1 app/views/pg_bouncer_hero/home/_card.html.haml
pgbouncerhero-1.0.0 app/views/pg_bouncer_hero/home/_card.html.haml