From 4b72b29ea2bb58622c9d414e773cbb61ebf976ef Mon Sep 17 00:00:00 2001 From: luccioman Date: Thu, 29 Jun 2017 11:36:47 +0200 Subject: Added an informative title on the crawl start robots.txt status icon --- htroot/js/IndexCreate.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'htroot/js') diff --git a/htroot/js/IndexCreate.js b/htroot/js/IndexCreate.js index 21a16854c..f2b7dae65 100644 --- a/htroot/js/IndexCreate.js +++ b/htroot/js/IndexCreate.js @@ -66,6 +66,7 @@ function handleResponse(){ if (docrobotsOK == "1"){ var img=document.createElement("img"); img.setAttribute("src", "env/grafics/ok.png"); + img.setAttribute("title", "Crawl is allowed by the website robots.txt rules (or no robots.txt file is provided)."); img.setAttribute("width", "32px"); img.setAttribute("height", "32px"); img.setAttribute("alt", "robots.txt - OK"); @@ -73,6 +74,7 @@ function handleResponse(){ } else if(docrobotsOK == "0"){ var img=document.createElement("img"); img.setAttribute("src", "env/grafics/bad.png"); + img.setAttribute("title", "Crawl is disallowed by the website robots.txt rules."); img.setAttribute("width", "32px"); img.setAttribute("height", "32px"); img.setAttribute("alt", "robots.txt - Bad"); -- cgit v1.2.3