summaryrefslogtreecommitdiff
path: root/htroot/IndexCreateQueues_p.html
blob: ec865db0669694cf9213496cf848a9f013d666f2 (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<!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="fullcontent">
    #(embed)#
    #%env/templates/header.template%#
    #%env/templates/submenuCrawlMonitor.template%#
    <h2>'#[queuename]#' Crawl Queue</h2>
    ::#(/embed)#
<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>
    
    #(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">
      <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>
      #(showtable)#
      <tr class="TableHeader">
        <th #(sortedByCount)#::aria-sort="#(asc)#descending::ascending#(/asc)#"#(/sortedByCount)#>
                <a class="sortTableLink" href="IndexCreateQueues_p.html?stack=#[queuename]#&amp;sort=#(sortedByCount_asc)#::-#(/sortedByCount_asc)#count" target="_self" title="Sort #(sortedByCount_asc)#ascending::descending#(/sortedByCount_asc)#">Count</a>
                #(sortedByCount)#::<span class="glyphicon glyphicon-chevron-#(asc)#down::up#(/asc)#"></span>#(/sortedByCount)#
        </th>
        <th>Delta/ms</th>
        <th #(sortedByHost)#::aria-sort="#(asc)#descending::ascending#(/asc)#"#(/sortedByHost)#>
                <a class="sortTableLink" href="IndexCreateQueues_p.html?stack=#[queuename]#&amp;sort=#(sortedByHost_asc)#::-#(/sortedByHost_asc)#host" target="_self" title="Sort #(sortedByHost_asc)#ascending::descending#(/sortedByHost_asc)#">Host</a>
                #(sortedByHost)#::<span class="glyphicon glyphicon-chevron-#(asc)#down::up#(/asc)#"></span>#(/sortedByHost)#
        </th>
        <th>Initiator</th>
        <th>Profile</th>
        <th>Depth</th>
        <th>Modified Date</th>
        <th>Anchor Name</th>
        <th>URL</th>
      </tr>
      #(/showtable)#
    #{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;#[hostnameport]#</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]#" target="_blank">#[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>