more stable layout and String Constant (for translation)

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1560 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 19 years ago
parent 63a7b61f52
commit 2f188d3fa8

@ -12,14 +12,14 @@
<h2>Watch Crawler</h2> <h2>Watch Crawler</h2>
<p /> <p />
Indexing Queue:<br /> Indexing Queue:<br />
<table border="0" cellpadding="2" cellspacing="1" id="indexingTable"> <table border="0" cellpadding="2" cellspacing="1" id="indexingTable" width="100%">
<tbody> <tbody>
<tr class="TableHeader"> <tr class="TableHeader">
<th class="small">Initiator</th> <th class="small">Initiator</th>
<th class="small">Depth</th> <th class="small">Depth</th>
<th class="small">Modified Date</th> <th class="small">Modified Date</th>
<th class="small">Anchor Name</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">Size</th>
<th class="small">Delete</th> <th class="small">Delete</th>
</tr> </tr>

@ -1,3 +1,4 @@
DELETE_STRING="delete"
function handleResponse(){ function handleResponse(){
if(http.readyState == 4){ if(http.readyState == 4){
var response = http.responseXML; var response = http.responseXML;
@ -87,13 +88,12 @@ function createRow(initiator, depth, modified, anchor, url, size, hash){
row.appendChild(createCol(anchor)); row.appendChild(createCol(anchor));
row.appendChild(createCol(url)); row.appendChild(createCol(url));
row.appendChild(createCol(size)); row.appendChild(createCol(size));
//'<a href="IndexCreateIndexingQueue_p.html?deleteEntry='+hash+'">Delete</a>'
//create delete link //create delete link
col=document.createElement("td"); col=document.createElement("td");
link=document.createElement("a"); link=document.createElement("a");
link.setAttribute("href", "IndexCreateIndexingQueue_p.html?deleteEntry="+hash); link.setAttribute("href", "IndexCreateIndexingQueue_p.html?deleteEntry="+hash);
text=document.createTextNode("Delete"); text=document.createTextNode(DELETE_STRING);
link.appendChild(text); link.appendChild(text);
col.appendChild(link) col.appendChild(link)
row.appendChild(col); row.appendChild(col);

Loading…
Cancel
Save