fix missing display of CrawlerMonitor -> robots.txt Monitor

revert delete of file api/table_p.html see 3ffe19b85c
(still used in this menu)
pull/1/head
reger 10 years ago
parent 796770e070
commit 7fcf0d0b71

@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>YaCy '#[clientname]#': Table Viewer</title>
<link rel="alternate" type="application/xml" title="robots.txt Table" href="api/table_p.xml?table=robots&pk=" />
<link rel="alternate" type="application/xml" title="robots.txt Table" href="Tables_p.xml?table=robots&pk=" />
#%env/templates/metas.template%#
</head>
<body id="Tables">
@ -13,7 +13,7 @@
<div id="api">
<script type="text/javascript">
//<![CDATA[
document.write("\<a href=\"/api/table_p.xml?table=robots&pk=\"\>")
document.write("\<a href=\"Tables_p.xml?table=robots&pk=\"\>")
//]]>
</script>
<img src="env/grafics/api.png" width="60" height="40" alt="API"/></a>
@ -23,7 +23,7 @@ To see a list of all APIs, please visit the <a href="http://www.yacy-websuche.de
</div>
<h2>robots.txt table</h2>
<iframe src="api/table_p.html?table=robots&row=hostname,modDate,date,disallow,crawlDelayMillis,etag,sitemap" width="100%" height="600" frameborder="0" scrolling="auto"></iframe><br />
<iframe src="api/table_p.html?table=robots&count=15&row=hostname,modDate,date,disallow,crawlDelayMillis,etag,sitemap" width="100%" height="600" frameborder="0" scrolling="auto"></iframe><br />
#%env/templates/footer.template%#
</body>

@ -0,0 +1,41 @@
<!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]#': Table Viewer</title>
#(showtable)#::
<link rel="alternate" type="application/xml" title="Table" href="table_p.xml?table=#[table]#&pk=" />
#(/showtable)#
#%env/templates/metas.template%#
</head>
<script type="text/javascript" src="/js/sorttable.js"></script>
<body id="Table">
#(showtable)#::
<form action="/Tables_p.html" method="post" target="_parent" enctype="multipart/form-data" accept-charset="UTF-8" name="tablelisting">
<fieldset>
<legend><label for="table">Table: '#[table]#'</label></legend>
<table class="sortable" border="0">
<tr class="TableHeader" valign="bottom">
#(showpk)#::<td>PK</td>#(/showpk)#
#{columns}#
<td>#[header]#</td>
#{/columns}#
</tr>
#{list}#
<tr class="TableCell#(dark)#Light::Dark::Summary#(/dark)#">
#(showpk)#::<td>#[pk]#</td>#(/showpk)#
#{columns}#
<td align="left">#[cell]#</td>
#{/columns}#
</tr>
#{/list}#
</table>
<p>
<input type="hidden" name="table" value="#[table]#" />
<input type="hidden" name="num" value="#[num]#" />
<input type="submit" name="edittable" value="Edit Table" class="btn btn-primary"/>
</p>
</fieldset>
</form>
#(/showtable)#
</body>
</html>
Loading…
Cancel
Save