Permalink
Browse files

Added an informative title on the crawl start robots.txt status icon

  • Loading branch information...
luccioman committed Jun 29, 2017
1 parent d08f31c commit 4b72b29ea2bb58622c9d414e773cbb61ebf976ef
Showing with 2 additions and 0 deletions.
  1. +2 −0 htroot/js/IndexCreate.js
@@ -66,13 +66,15 @@ 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");
robotsOKspan.appendChild(img);
} 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");

0 comments on commit 4b72b29

Please sign in to comment.