Ejemplo n.º 1
0
<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;
   }
}
</script>
<script src="/js/calendar1.js"></script>
<script src="/js/calendar2.js"></script>
<script src="/js/SortableTable.js"></script>
Ejemplo n.º 2
0
<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;
   }
}
</script>
<script src="/js/calendar1.js"></script>
<script src="/js/calendar2.js"></script>
<script src="/js/SortableTable.js"></script>