Sha256: 732c15109eb7ef8578fdf145fb51d2c118477525497bc423de796921c2c18550

Contents?: true

Size: 1.25 KB

Versions: 29

Compression:

Stored size: 1.25 KB

Contents

<h1>List of worlds</h1>

<ul>
  <li><a href="<%= url("/worlds/check") %>" class="postlink">check status</a>: see potentially invalid worlds</li>
  <li><a href="<%= url("/worlds/check?invalidate=true") %>" class="postlink">check and invalidate</a>: invalidate the worlds that don't respond</li>
</ul>

<table class="table">
  <thead>
    <tr>
      <th>Id</th>
      <th>Meta</th>
      <th>Executor?</th>
      <th></th>
    </tr>
  </thead>

<% @worlds.each do |world| %>
  <tr>
    <td><%= h(world.id) %></td>
    <td><%= h(world.meta) %></td>
    <td><%= "true" if world.is_a? Dynflow::Coordinator::ExecutorWorld %></td>
    <td>
      <% validation_result = @validation_results[world.id] if @validation_results %>

      <% unless validation_result == :invalidated %>
        <a href="<%= url("/worlds/#{world.id}/check") %>" class="postlink">check</a>
      <% end %>

      <% if validation_result %>
        <% if validation_result == :invalid %>
          <a href="<%= url("/worlds/#{world.id}/check?invalidate=true") %>" class="postlink">invalidate</a>
        <% end %>

        <span class="label label-<%= validation_result_css_class(validation_result) %>">
          <%= h(validation_result) %>
        </span>
      <% end %>
    </td>
  </tr>
<% end %>
</table>

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
dynflow-0.8.30 web/views/worlds.erb
dynflow-0.8.29 web/views/worlds.erb
dynflow-0.8.28 web/views/worlds.erb
dynflow-0.8.27 web/views/worlds.erb
dynflow-0.8.26 web/views/worlds.erb
dynflow-0.8.25 web/views/worlds.erb
dynflow-0.8.24 web/views/worlds.erb
dynflow-0.8.23 web/views/worlds.erb
dynflow-0.8.22 web/views/worlds.erb
dynflow-0.8.21 web/views/worlds.erb
dynflow-0.8.20 web/views/worlds.erb
dynflow-0.8.19 web/views/worlds.erb
dynflow-0.8.18 web/views/worlds.erb
dynflow-0.8.17 web/views/worlds.erb
dynflow-0.8.16 web/views/worlds.erb
dynflow-0.8.15 web/views/worlds.erb
dynflow-0.8.14 web/views/worlds.erb
dynflow-0.8.13 web/views/worlds.erb
dynflow-0.8.12 web/views/worlds.erb
dynflow-0.8.11 web/views/worlds.erb