diff options
| author | reger <reger18@arcor.de> | 2015-03-24 00:13:05 +0100 |
|---|---|---|
| committer | reger <reger18@arcor.de> | 2015-03-24 00:13:05 +0100 |
| commit | 7fcf0d0b7181655fdf2e7ec00306e88714611d31 (patch) | |
| tree | f7a6f515867df1ce083a2dc88eb0f631a4c26f6b /htroot | |
| parent | 796770e070daf38289b594f4cbdc65b9ce0ca2b1 (diff) | |
fix missing display of CrawlerMonitor -> robots.txt Monitor
revert delete of file api/table_p.html see https://gitorious.org/yacy/rc1/commit/3ffe19b85cb6f2c1d26922eb61ca73a42096e8e9
(still used in this menu)
Diffstat (limited to 'htroot')
| -rw-r--r-- | htroot/Table_RobotsTxt_p.html | 6 | ||||
| -rw-r--r-- | htroot/api/table_p.html | 41 |
2 files changed, 44 insertions, 3 deletions
diff --git a/htroot/Table_RobotsTxt_p.html b/htroot/Table_RobotsTxt_p.html index 78f849d53..ae76bec34 100644 --- a/htroot/Table_RobotsTxt_p.html +++ b/htroot/Table_RobotsTxt_p.html @@ -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>
diff --git a/htroot/api/table_p.html b/htroot/api/table_p.html new file mode 100644 index 000000000..0d1e76b66 --- /dev/null +++ b/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>
|
