/usr/share/chef-server-webui/app/views/nodes/show.html.haml is in chef-server-webui 10.12.0+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | .block#block-tables
.content
%h2.title= "Node #{h @node.name}"
.inner
= partial('navigation', :active => 'show')
.content
.inner
.left
%h3 Environment: #{@node.chef_environment}
%h3 Run List
%table.table
%thead
%tr
%th.first Position
%th Name
%th Version
%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.version
%td= run_list_item.type
.left.accordion
%h3.head= link_to("Recipes", "#")
- recipes = @node.run_list.expand(@node.chef_environment, '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 recipes.empty?
%tr
%td{:colspan => 2} This node has no recipes applied.
- else
- recipes.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)
|