Sha256: 635576db0f6965ecd887bccde90f61c00863e73050950bf6b42a4bdca6b497d3

Contents?: true

Size: 2 KB

Versions: 15

Compression:

Stored size: 2 KB

Contents

.block#block-tables
  .content
    %h2.title= "Node #{h @node.name}"
    .inner
      = partial('navigation', :active => 'show')

      .content
        .inner
          .left
            %h3 Run List
            %table.table
              %thead
                %tr
                  %th.first Position
                  %th Name
                  %th.last Type
              %tbody
                - if @node.run_list.empty?
                  %tr
                    %td{:colspan => 2} This node has no roles or recipes applied.
                - else
                  -@node.run_list.each_with_index do |run_list_item, i|
                    %tr
                      %td.position= i
                      %td= run_list_item.name
                      %td= run_list_item.type
          .left.accordion
            %h3.head= link_to("Recipes", "#")
            - recipes = @node.run_list.expand('server').recipes
            %div
              %span.description.form.help
                This is the list of recipes, fully expanded, as they will be applied to the node in question.  
              %table#recipes.table
                %tr
                  %th.first Position
                  %th.last Name
                - if @node.run_list.empty?
                  %tr
                    %td{:colspan => 2} This node has no recipes applied.
                - else
                  - @node.run_list.each_with_index do |recipe, i|
                    %tr
                      %td.position= i
                      %td= recipe
            
          .left
            %h3 Tags 
            %table#recipes.table
              %tr
                %th.first Tags
                %th.last  
              %tr
                - if (@node.attribute?(:tags) == false) || @node[:tags].empty?
                  %td{:colspan => 2} This node has no tags applied.
                - else
                  %td{:colspan => 2}= @node[:tags].join(", ")
            
          .left
            %h3 Attributes
            = build_tree('attrs', @node)

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
chef-server-webui-0.9.18 app/views/nodes/show.html.haml
chef-server-webui-0.9.16 app/views/nodes/show.html.haml
chef-server-webui-0.9.14 app/views/nodes/show.html.haml
chef-server-webui-0.9.14.rc.1 app/views/nodes/show.html.haml
chef-server-webui-0.9.14.beta.1 app/views/nodes/show.html.haml
chef-server-webui-0.9.12 app/views/nodes/show.html.haml
chef-server-webui-0.9.10 app/views/nodes/show.html.haml
chef-server-webui-0.9.10.rc.3 app/views/nodes/show.html.haml
chef-server-webui-0.9.10.rc.2 app/views/nodes/show.html.haml
chef-server-webui-0.9.10.rc.1 app/views/nodes/show.html.haml
chef-server-webui-0.9.10.rc.0 app/views/nodes/show.html.haml
chef-server-webui-0.9.8 app/views/nodes/show.html.haml
chef-server-webui-0.9.8.rc.0 app/views/nodes/show.html.haml
chef-server-webui-0.9.8.beta.2 app/views/nodes/show.html.haml
chef-server-webui-0.9.8.beta.1 app/views/nodes/show.html.haml