fac_verify custenv.wsc iets duidelijker aangeven

svn path=/Website/trunk/; revision=30890
This commit is contained in:
Jos Groot Lipman
2016-09-28 07:25:26 +00:00
parent dc764ac1e4
commit 153f6e126c

View File

@@ -118,7 +118,7 @@ function zipfile(pathname, filename)
th { text-align: left }
table.inside td
{
padding: 0px;
padding: 0px 0px 0px 5px;
font-size: smaller;
}
</style>
@@ -776,6 +776,12 @@ if (this.settings) // (deze test werkt niet vanuit verify.asp.inc)
checker("Environment custenv SETTING overrules",
function ()
{
var found = [];
if (fso.FileExists(Server.MapPath("../../cust/custenv.wsc")))
found.push("Found: cust/custenv.wsc");
if (fso.FileExists(Server.MapPath("../../cust/" + custID + "/custenv.wsc")))
found.push("Found: cust/" + custID + "custenv.wsc");
var txt = [];
var sets = puostring.split(",");
for (var i in settings.overrule)
@@ -786,8 +792,9 @@ if (this.settings) // (deze test werkt niet vanuit verify.asp.inc)
if (txt.length)
result = { result:
resultcodes.warning,
message: "<table><tr><th>Name</th><th>Original</th><th>Overrule</th></tr><tr><td>"
+ txt.join("") + "</table>" };
message: found.join("<br>")
+ "<table><tr><th>Name</th><th>Original</th><th>Overrule</th></tr><tr><td>"
+ txt.join("") + "</table>" };
else
result= { result: resultcodes.ok, message: "No overrules" };
@@ -1436,8 +1443,8 @@ checker("Clocks", // deze zo laat mogelijk zodat als straks de clientside clock
var sysdate = new Date(oRs(0));
var webdate = new Date();
oRs.Close();
txt = "Oracle: " + toDateTimeString(sysdate) + "." + padout(Math.round(sysdate.getMilliseconds()/10)) + "<br>"
+ "Webserver: " + toDateTimeString(webdate) + "." + padout(Math.round(webdate.getMilliseconds()/10)) + "<br>"
txt = "Oracle: " + toDateTimeString(sysdate) + ".<small>" + padout(Math.round(sysdate.getMilliseconds()/10)) + "</small><br>"
+ "Webserver: " + toDateTimeString(webdate) + ".<small>" + padout(Math.round(webdate.getMilliseconds()/10)) + "</small><br>"
+ "<small>Difference ora-web: " + (Math.abs(sysdate - webdate) / 1000).toFixed(2) + "s</small><br>"
+ "Client: <span id='clienttime'></span>";