Sha256: 9989c8d351baaad0dc18ff92302cdb8159eccda3be9f3544a50fbd9621a990e1

Contents?: true

Size: 793 Bytes

Versions: 7

Compression:

Stored size: 793 Bytes

Contents

.block#block-tables
  .content
    %h2.title Databags
    .inner
      = partial('navigation', :active => 'index')
    .content
      .inner
        %table.table
          %tr
            %th.first{:colspan => 2} Databag Name
            %th  
            %th.last  
            - @databags.sort.each_with_index do |databag, index|
              %tr{:class => "#{index % 2 == 1 ? 'odd' : 'even'}"}
                %td{:colspan => 2}= link_to databag[0], slice_url(:databag, { :id => databag[0] })
                %td
                  = link_to('Edit', slice_url(:databag, :id => databag[0])) 
                  |
                  = link_to('Delete', slice_url(:databag, :id => databag[0]), :method => "delete", :confirm => "Really delete Databag #{databag[0]}?  There is no undo.")

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
chef-server-webui-0.8.16 app/views/databags/index.html.haml
chef-server-webui-0.8.14 app/views/databags/index.html.haml
chef-server-webui-0.8.10 app/views/databags/index.html.haml
chef-server-webui-0.8.8 app/views/databags/index.html.haml
chef-server-webui-0.8.6 app/views/databags/index.html.haml
chef-server-webui-0.8.4 app/views/databags/index.html.haml
chef-server-webui-0.8.2 app/views/databags/index.html.haml