/usr/share/chef-server-webui/app/views/databags/index.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 | .block#block-tables
.content
%h2.title Databags
.inner
= partial('navigation', :active => 'index')
.content
.inner
%table.table
%thead
%tr
%th.first{:colspan => 2} Databag Name
%th
%th.last
%tbody
- @databags.sort.each_with_index do |databag, index|
%tr{:class => "#{index % 2 == 1 ? 'odd' : 'even'}"}
%td{:colspan => 2}= link_to databag[0], url(:databag, { :id => databag[0] })
%td
= link_to('Edit', url(:databag, :id => databag[0]))
|
= link_to('Delete', url(:databag, :id => databag[0]), :method => "delete", :confirm => "Really delete Databag #{databag[0]}? There is no undo.")
|