/usr/share/chef-server-webui/app/views/roles/_run_lists.html.erb 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 | <div class="runListWithControlsContainer <%= environment == @current_env ? 'active' : 'inactive' -%>" id="<%= environment %>">
<div class="sortable runListContainer">
<% run_list_class, empty_controls_class = run_list ? %w{active inactive} : %w{inactive active} -%>
<ul class="ui-sortable connectedSortable runListItemList <%= run_list_class -%>" id="<%= environment %>">
<% Array(run_list).each do |item| %>
<li id="<%=h(item)%>" class="<%= class_for_run_list_item(item) -%> runListItem"><%=h display_run_list_item(item)-%></li>
<% end %>
</ul>
<div class="emptyRunListControlsContainer <%= empty_controls_class -%>" id="<%=environment -%>">
<div class="cloneRunListTitle">This role has no environment specific run list for the (<%= environment -%>) environment.</div>
<div class="cloneRunListOption">
<a href="javascript:void(0)" class="createEmptyRunListControl" id="<%= environment -%>">Create a new empty run list</a>
</div>
<div class="cloneRunListOption">
Or, clone an existing run list: <%= select :environment_to_clone, :collection => @existing_run_list_environments, :id => environment, :class => 'environmentToClone' %>
</div>
</div>
</div>
<div class="runListAdditionalControls" id="<%= environment -%>">
<% if run_list && (environment != '_default')%>
<a href="javascript:void(0);" class="deleteEnvRunList" id="<%= environment -%>">Remove environment specific run list for <%= environment %></a>
<% end %>
</div>
</div>
|