Sha256: a74e092b013732b0d3f681d215b1784880885fcca62d6ab683c6af6f091670e5

Contents?: true

Size: 1.52 KB

Versions: 86

Compression:

Stored size: 1.52 KB

Contents

<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>

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
chef-server-webui-10.30.4 app/views/roles/_run_lists.html.erb
chef-server-webui-10.30.2 app/views/roles/_run_lists.html.erb
chef-server-webui-10.30.2.rc.0 app/views/roles/_run_lists.html.erb
chef-server-webui-10.30.0.rc.2 app/views/roles/_run_lists.html.erb
chef-server-webui-10.30.0.rc.1 app/views/roles/_run_lists.html.erb
chef-server-webui-10.30.0.rc.0 app/views/roles/_run_lists.html.erb
chef-server-webui-10.28.0 app/views/roles/_run_lists.html.erb
chef-server-webui-10.28.0.rc.0 app/views/roles/_run_lists.html.erb
chef-server-webui-10.26.0 app/views/roles/_run_lists.html.erb
chef-server-webui-10.26.0.beta.0 app/views/roles/_run_lists.html.erb
chef-server-webui-10.24.4 app/views/roles/_run_lists.html.erb
chef-server-webui-10.24.0 app/views/roles/_run_lists.html.erb
chef-server-webui-10.24.0.rc.2 app/views/roles/_run_lists.html.erb
chef-server-webui-10.24.0.rc.1 app/views/roles/_run_lists.html.erb
chef-server-webui-10.24.0.rc.0 app/views/roles/_run_lists.html.erb
chef-server-webui-10.22.0 app/views/roles/_run_lists.html.erb
chef-server-webui-10.22.0.rc.0 app/views/roles/_run_lists.html.erb
chef-server-webui-10.20.0 app/views/roles/_run_lists.html.erb
chef-server-webui-10.18.4.rc.2 app/views/roles/_run_lists.html.erb
chef-server-webui-10.18.4.rc.1 app/views/roles/_run_lists.html.erb