Sha256: c4d48269a6d77824e5d8ef4e152311a5a778a6e3872d2114a37cf354e29a071c

Contents?: true

Size: 979 Bytes

Versions: 1

Compression:

Stored size: 979 Bytes

Contents

%div(data-role="page")
  %div(data-role="header")
    %h1
      Database:
      &=@database.name
    %div{:"data-role" => "navbar"}
      %div{:"data-role" => "controlgroup", :"data-type" => "horizontal"}
        %form(action="/database/#{@database.name}/delete" method="post" style="display: inline")
          %input(type="submit" data-role="button" value="Drop Database" data-theme="a")
        %form(action="/database/#{@database.name}/repair" method="post"  style="display: inline")
          %input(type="submit" data-role="button" value="Repair Database" data-theme="a")
  %div(data-role="content")
    %h1
      Info
    -normalize_stats(@database.stats).each do |k,v|
      %b
        &="#{k}="
      &=v
      %br

    %h1
      Collections
    %ul(data-role="listview" data-filter="true")
      -@collections.each do |collection|
        %li
          %a(href="/database/#{@database.name}/#{collection.name}")
            &=collection.name

  %div(data-role="footer")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mongobile-0.0.4 lib/mongobile/views/database/show.haml