Sha256: 2d643793be7501011b29f933419eff0d6ffee01b4e9355c06c2f4fc705917f9f

Contents?: true

Size: 1.98 KB

Versions: 7

Compression:

Stored size: 1.98 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
              %tr
                %th.first Position
                %th Name
                %th.last Type
                - 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", "#")
            - full_recipe_list, default_attrs, override_attrs = @node.run_list.expand()
            %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
                  - full_recipe_list.each_index do |i|
                    %tr
                      %td.position= i
                      %td= full_recipe_list[i]
            
          .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

7 entries across 7 versions & 1 rubygems

Version Path
chef-server-webui-0.9.0.a91 app/views/nodes/show.html.haml
chef-server-webui-0.9.0.a90 app/views/nodes/show.html.haml
chef-server-webui-0.9.0.a10 app/views/nodes/show.html.haml
chef-server-webui-0.9.0.a8 app/views/nodes/show.html.haml
chef-server-webui-0.9.0.a6 app/views/nodes/show.html.haml
chef-server-webui-0.9.0.a4 app/views/nodes/show.html.haml
chef-server-webui-0.9.0.a3 app/views/nodes/show.html.haml