Sha256: d853d8ef4119782072cf72f8d2f4ad432f02e6e313374a0308d698711f10ee9a

Contents?: true

Size: 695 Bytes

Versions: 3

Compression:

Stored size: 695 Bytes

Contents

%p
  -#%h6 database users
  -unless users.count == 0
    %table.table.table-striped.table-condensed
      %thead
        %tr
          %th(width='75%' valign='top') 
            User name
          %th(width='15%')
            r/o
          %th(width='10%')
            
      %tbody
        -users.each do |u|
          %tr
            %td
              %a{:href => "#"}
                =u['user']
            %td
              %span.pull-right
              =u['readOnly'] ? '✓': '-'  
            %td(nowrap)
              %a.delete-user(href="#" data-db-name="#{h db_name}"data-id="#{h u['_id']}" data-user-name="#{h u['user']}")
                %i.icon-remove
  -else
    %h4 no users
   

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mongo_fe-0.1.2 lib/mongo_fe/views/databases/_list_users.haml
mongo_fe-0.1.1 lib/mongo_fe/views/databases/_list_users.haml
mongo_fe-0.1.0 lib/mongo_fe/views/databases/_list_users.haml