<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>YaCy '#[clientname]#': '#[queuename]#' Crawl Queue</title>
    #%env/templates/metas.template%#
  </head>
  <body id="IndexCreateQueues">
    
<div id="api">
<a href="/api/latency_p.xml" id="apilink"><img src="/env/grafics/api.png" width="60" height="40" alt="API"/></a>
<span>Click on this API button to see an XML with information about the crawler latency and other statistics.</span>
</div>
  
    <div id="fullcontent">
    #(embed)#
    #%env/templates/header.template%#
    #%env/templates/submenuCrawlMonitor.template%#
    <h2>'#[queuename]#' Crawl Queue</h2>
    ::#(/embed)#
    
    #(crawler)#
    <p>This crawler queue is empty</p>
    ::
    #(embed)#
    <form action="IndexCreateQueues_p.html" method="post" enctype="multipart/form-data" accept-charset="UTF-8">
      <fieldset>
        Delete Entries:
        <input type="text" name="pattern" value="#[deletepattern]#" size="40" maxlength="200" />
        <select name="option" size="1">
           <option value="5">Initiator</option>
           <option value="3">Profile</option>
           <option value="4">Depth</option>
           <option value="6">Modified Date</option>
           <option value="2">Anchor Name</option>
           <option value="1" selected="selected">URL</option>
        </select>
        <input type="hidden" name="stack" value="#[queuename]#" />
        <input type="submit" name="delete" value="Delete" />
      </fieldset>
    </form>
    ::#(/embed)#
    <table border="0" cellpadding="2" cellspacing="1">
      <colgroup>
        <col width="5" />
        <col width="10" />
        <col width="30" />
        <col width="10" />
        <col width="10" />
        <col width="10" />
        <col width="10" />
        <col width="10" />
        <col />
      </colgroup>
      <tr class="TableHeader">
        <th>Count</th>
        <th>Delta/ms</th>
        <th>Host</th>
        <th>Initiator</th>
        <th>Profile</th>
        <th>Depth</th>
        <th>Modified Date</th>
        <th>Anchor Name</th>
        <th>URL</th>
      </tr>
    #{host}#
      <tr class="TableCellDark">
        <td>#[hostcount]#</td>
        <td>#[hostdelta]#</td>
        <td><a href="IndexCreateQueues_p.html?#(embed)#::embed=&#(/embed)#delete=&stack=#[queuename]#&option=1&pattern=.*#[hostname]#.*&urlsPerHost=#[urlsPerHost]#"><img src="env/grafics/trash.gif"></a>&nbsp;#[hostname]#</td>
        <td colspan="6"></td>
      </tr>
      #{list}#
      <tr class="TableCellLight">
        <td colspan="3"></td>
        <td>#[initiator]#</td>
        <td>#[profile]#</td>
        <td>#[depth]#</td>
        <td>#[modified]#</td>
        <td>#[anchor]#</td>
        <td><a href="#[url]#">#[url]#</a></td>
      </tr>
      #{/list}#
      </td>
      </tr>
    #{/host}#
    #(/crawler)#
    #(embed)#
    #%env/templates/footer.template%#
    ::#(/embed)#
    </div>
    <script type="text/javascript">
    <!--
      parentPage = parent.document.getElementById('QueuesTable');
      if (parentPage != null) parentPage.height = document.getElementById('fullcontent').offsetHeight + 30;
    -->
    </script>
  </body>
</html>