print #print "Machines " + machinesString print """<html> <head> <meta name="Author" content="Daniel Lemay"> <meta name="Description" content="Queue repartition"> <meta name="Keywords" content=""> <title>Queue repartition </title> <link rel="stylesheet" type="text/css" href="/css/style.css"> <style> </style> <script type="text/javascript"> // Put data concerning the PDSs in a javascript array """ js.createJSArrayRepartition(clientDict, clientName) if (listingOn): listingDict = unarchiveListing(INPUT_RESULTS + "/" + clientName + "_listing") lenListingDict = len(listingDict) if ( lenListingDict <= TOOLONG ): # If listing is not too long, we will create a JS Array => we will be able to sort online js.createJSArrayListing(listingDict) listingTooLong = 0 print """ function confirmResend(){ if (confirm("Are you sure you want to resend this product?")) {
print #print "Machines " + machinesString print """<html> <head> <meta name="Author" content="Daniel Lemay"> <meta name="Description" content="Queue repartition"> <meta name="Keywords" content=""> <title>Queue repartition </title> <link rel="stylesheet" type="text/css" href="/css/style.css"> <style> </style> <script type="text/javascript"> // Put data concerning the PDSs in a javascript array """ js.createJSArrayRepartition(clientDict, clientName) if (listingOn): listingDict = unarchiveListing(INPUT_RESULTS + "/" + clientName + "_listing") lenListingDict = len(listingDict) if (lenListingDict <= TOOLONG): # If listing is not too long, we will create a JS Array => we will be able to sort online js.createJSArrayListing(listingDict) listingTooLong = 0 print """ function confirmResend(){ if (confirm("Are you sure you want to resend this product?")) { return true; } else { return false;