Sha256: b6c9986b9b9627426b6bd6a38f948f6ad0f317cc728b20e09354523a5f43cdb1

Contents?: true

Size: 1.21 KB

Versions: 4

Compression:

Stored size: 1.21 KB

Contents

.ui.pointing.menu
  .header.item
    = "#{database.group.name} > #{database.name}"
  = link_to "Databases", databases_path(database: database.name.parameterize), class: "item #{is_active('databases')}"
  = link_to "Stats", stats_path(database: database.name.parameterize), class: "item #{is_active('stats')}"
  = link_to "Pools", pools_path(database: database.name.parameterize), class: "item #{is_active('pools')}"
  = link_to "Clients", clients_path(database: database.name.parameterize), class: "item #{is_active('clients')}"
  = link_to "Configuration", conf_path(database: database.name.parameterize), class: "item #{is_active('conf')}"
  .right.menu
    .item
      = link_to 'Reload', reload_path(database: database.name.parameterize), remote: :true, method: :post, class: 'ui button basic positive button', data: { confirm: 'Are you sure?' }
    .item
      = link_to 'Suspend', suspend_path(database: database.name.parameterize), remote: :true, method: :post, class: 'ui button basic primary button', data: { confirm: 'Are you sure?' }
    .item
      = link_to 'Shutdown', shutdown_path(database: database.name.parameterize), remote: :true, method: :post, class: 'ui button basic negative button', data: { confirm: 'Are you sure?' }

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pgbouncerhero-1.0.1 app/views/pg_bouncer_hero/database/_menu.html.haml
pgbouncerhero-1.0.0 app/views/pg_bouncer_hero/database/_menu.html.haml
pgbouncerhero-0.1.1 app/views/pg_bouncer_hero/database/_menu.html.haml
pgbouncerhero-0.1.0 app/views/pg_bouncer_hero/database/_menu.html.haml