Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

more stable layout and String Constant (for translation)

allo2f188d3fa846
diff --git a/htroot/WatchCrawler.html b/htroot/WatchCrawler.html
index b45494458..f4bd0cf75 100644
--- a/htroot/WatchCrawler.html
+++ b/htroot/WatchCrawler.html
@@ -12,14 +12,14 @@
<h2>Watch Crawler</h2>
<p />
Indexing Queue:<br />
-<table border="0" cellpadding="2" cellspacing="1" id="indexingTable">
+<table border="0" cellpadding="2" cellspacing="1" id="indexingTable" width="100%">
<tbody>
<tr class="TableHeader">
<th class="small">Initiator</th>
<th class="small">Depth</th>
<th class="small">Modified Date</th>
<th class="small">Anchor Name</th>
-<th class="small">URL</th>
+<th class="small" width="100%">URL</th>
<th class="small">Size</th>
<th class="small">Delete</th>
</tr>
diff --git a/htroot/js/WatchCrawler.js b/htroot/js/WatchCrawler.js
index 88b966f6e..3bebb50cc 100644
--- a/htroot/js/WatchCrawler.js
+++ b/htroot/js/WatchCrawler.js
@@ -1,3 +1,4 @@
+DELETE_STRING="delete"
function handleResponse(){
if(http.readyState == 4){
var response = http.responseXML;
@@ -87,13 +88,12 @@ function createRow(initiator, depth, modified, anchor, url, size, hash){
row.appendChild(createCol(anchor));
row.appendChild(createCol(url));
row.appendChild(createCol(size));
- //'<a href="IndexCreateIndexingQueue_p.html?deleteEntry='+hash+'">Delete</a>'
//create delete link
col=document.createElement("td");
link=document.createElement("a");
link.setAttribute("href", "IndexCreateIndexingQueue_p.html?deleteEntry="+hash);
- text=document.createTextNode("Delete");
+ text=document.createTextNode(DELETE_STRING);
link.appendChild(text);
col.appendChild(link)
row.appendChild(col);