Skip to content

Commit

Permalink
fix missing display of CrawlerMonitor -> robots.txt Monitor
Browse files Browse the repository at this point in the history
revert delete of file api/table_p.html see https://gitorious.org/yacy/rc1/commit/3ffe19b85cb6f2c1d26922eb61ca73a42096e8e9
(still used in this menu)
  • Loading branch information
reger committed Mar 23, 2015
1 parent 796770e commit 7fcf0d0
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 3 deletions.
6 changes: 3 additions & 3 deletions htroot/Table_RobotsTxt_p.html
Expand Up @@ -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">
Expand All @@ -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>
Expand All @@ -23,7 +23,7 @@
</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>
Expand Down
41 changes: 41 additions & 0 deletions htroot/api/table_p.html
@@ -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>

0 comments on commit 7fcf0d0

Please sign in to comment.