Sha256: 98920e3e63d3094fec35b1efba9351aecb52ac5baafd14a117bf28a73197b034

Contents?: true

Size: 955 Bytes

Versions: 44

Compression:

Stored size: 955 Bytes

Contents

.block#block-tables
  .content
    %h2.title Environments 
    .inner
      = partial('navigation', :active => 'index')
    .content
      .inner
        %table.table
          %tr
            %th.first{:colspan => 2} Name
            %th  
            %th.last  
          - even = false;
          - @environment_list.each do |env|
            %tr{ :class => even ? "even" : "odd" }
              %td{:colspan => 2}= link_to(env[0], url(:environment, env[0]))
              %td
                - if session[:environment] != env[0]
                  = link_to('Select', url(:environment_select, env[0]))
                - else
                  Select
                |
                = link_to('Edit', url(:edit_environment, env[0])) 
                |
                = link_to('Delete', url(:environment, env[0]), :method => "delete", :confirm => "Really delete Environment #{env[0]}?  there is no undo.")
              - even = (not even)

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
chef-server-webui-10.14.0.beta.3 app/views/environments/index.html.haml
chef-server-webui-10.14.0.beta.2 app/views/environments/index.html.haml
chef-server-webui-10.14.0.beta.1 app/views/environments/index.html.haml
chef-server-webui-10.12.0 app/views/environments/index.html.haml
chef-server-webui-10.12.0.rc.1 app/views/environments/index.html.haml
chef-server-webui-0.10.10 app/views/environments/index.html.haml
chef-server-webui-0.10.10.rc.4 app/views/environments/index.html.haml
chef-server-webui-0.10.10.rc.3 app/views/environments/index.html.haml
chef-server-webui-0.10.10.rc.2 app/views/environments/index.html.haml
chef-server-webui-0.10.10.rc.1 app/views/environments/index.html.haml
chef-server-webui-0.10.10.beta.1 app/views/environments/index.html.haml
chef-server-webui-0.10.8 app/views/environments/index.html.haml
chef-server-webui-0.10.6 app/views/environments/index.html.haml
chef-server-webui-0.10.6.rc.5 app/views/environments/index.html.haml
chef-server-webui-0.10.6.rc.4 app/views/environments/index.html.haml
chef-server-webui-0.10.6.rc.3 app/views/environments/index.html.haml
chef-server-webui-0.10.6.rc.2 app/views/environments/index.html.haml
chef-server-webui-0.10.6.rc.1 app/views/environments/index.html.haml
chef-server-webui-0.10.6.beta.3 app/views/environments/index.html.haml
chef-server-webui-0.10.6.beta.2 app/views/environments/index.html.haml