Sha256: b6cb8392fdddcebdfec574f93a7871283ee7a88e7df518bf82744d2b546d2f19

Contents?: true

Size: 988 Bytes

Versions: 7

Compression:

Stored size: 988 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}="
      &=humanize 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

7 entries across 7 versions & 1 rubygems

Version Path
mongobile-0.1.5 lib/mongobile/views/database/show.haml
mongobile-0.1.4 lib/mongobile/views/database/show.haml
mongobile-0.1.3 lib/mongobile/views/database/show.haml
mongobile-0.1.2 lib/mongobile/views/database/show.haml
mongobile-0.1.1 lib/mongobile/views/database/show.haml
mongobile-0.1.0 lib/mongobile/views/database/show.haml
mongobile-0.0.5 lib/mongobile/views/database/show.haml