anchor.diff:          <% end %>
           </table>
           <% else %>
  +        <br/><br/>
           <span class="notice"> There are no running scans at the moment.</span>
           <% end %>
   
           <br/><br/>
   
           <% end %>
  +
  +            <script type="text/javascript">
  +                //<![CDATA[
  +
  +                function showDialog( id ){
  +                    $( id ).dialog({
  +                        height: 350,
  +                        width: 300,
  +                        modal: true
  +                    });
  +                }
  +             //]]>
  +            </script>
  
positive.code:         </div>
          <%= erb :flash, {:layout => false} %>
  
          <% stats.each_pair do |d_url, dispatcher_stats| %>
          <h2><%=show_dispatcher_line( dispatcher_stats )%></h2>
          <span class="notice"> <%=show_dispatcher_node_line( dispatcher_stats ) %></span>
          <br/><br/>
  
          <%if !dispatcher_stats['running_jobs'].empty? %>
          <form action="/dispatchers/<%=remove_proto( d_url.dup )%>/shutdown_all" method="post">
              <%= csrf_tag %>
              <input type="submit" value="Shutdown all" />
          </form>
          <%end%>
  
  
          <% if !dispatcher_stats['running_jobs'].empty? %>
          <table>
  
negative.code:                 <td><%=job['port']%></td>
                  <td><%=escape( job['owner'] )%></td>
  
                  <td><%=job['status']%></td>
  
                  <td><%=job['starttime'].to_time%></td>
                  <td><%=job['currtime'].to_time%></td>
  