Advertisement
Guest User

Untitled

a guest
Feb 23rd, 2020
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  3. <!--
  4. ================================= COPYRIGHT NOTICE =================================
  5.     Copyright (C) 2001-2010 eSchool Solutions, Inc.
  6.  
  7.     This source code software is the property of eSchool Solutions, Inc.
  8.     Possession, use, replication, sale, distribution or the performance
  9.     of any other acts involving this software without a license explicitly
  10.     granted by eSchool Solutions, Inc. is illegal.
  11. ====================================================================================
  12. -->
  13.  
  14. <!-- SmartFindExpress Version 20.1.0.1 -->
  15.      
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27. <html lang="en-US">
  28. <head>
  29.     <meta http-equiv="Pragma" content="no-cache">
  30.     <meta http-equiv="Cache-Control" content="no-cache">
  31.  
  32.    
  33.        
  34.        
  35.    
  36.        
  37.        
  38.        
  39.    
  40.         <title>
  41.             eSchool Solutions&nbsp;&nbsp;&nbsp;SmartFindExpress&nbsp;-&nbsp;
  42.            
  43.            
  44.                
  45.                
  46.            
  47.             Available Jobs
  48.         </title>
  49.        
  50.    
  51.         <link rel="stylesheet" type="text/css" href="css/openScans.css">
  52.         <link rel="stylesheet" type="text/css" href="css/main.css" />
  53.  
  54.    
  55.         <script type="text/javascript" src="js/yahoo-dom-event.js"></script>
  56.        
  57.    
  58.         <script type="text/javascript" src="js/element-min.js"></script>
  59.         <script type="text/javascript" src="js/button-min.js"></script>
  60.         <script type="text/javascript" src="js/datasource-min.js"></script>
  61.         <script type="text/javascript" src="js/autocomplete-min.js"></script>
  62.  
  63.    
  64.         <script type="text/javascript" src="js/autocomplete_location-min.js"></script>
  65.  
  66.    
  67.         <script type="text/javascript" src="js/main-min.js"></script>
  68.        
  69.    
  70.         <script type="text/javascript" src="js/container_core-min.js"></script>
  71.         <script type="text/javascript" src="js/menu-min.js"></script>
  72.        
  73.    
  74.         <script type="text/javascript" src="js/simpleDropDownMenu.js"></script>
  75.        
  76.    
  77.         <script type="text/javascript" src="js/jquery-1.7.2.min.js"></script>
  78.        
  79.    
  80.         <script type="text/javascript" src="js/jquery.timeentry.pack.js"></script>
  81.        
  82.         <script type="text/javascript">
  83.             $( function () {
  84.                 $( '.timeEntry' ).timeEntry({
  85.                     ampmPrefix: ' ',
  86.                     spinnerImage: ''
  87.                 });
  88.             });
  89.         </script>
  90.  
  91.    
  92.         <script type="text/javascript" src="js/jquery.blockUI.min.js"></script>
  93.    
  94.    
  95.         <script type="text/javascript" src="js/jquery.cookie.min.js"></script>
  96.  
  97. </head>
  98. <body style="background-image:url('IMAGES/backgroundGradient.jpg');">
  99.     <table class="pageContainer" align="center" border="0" cellspacing="0" cellpadding="0">
  100.        
  101.         <tr valign="top" align="left">
  102.             <td style="height:80px;">
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111. <script language="JavaScript1.2" type="text/javascript" src="common/browserDetect.js"></script>
  112. <script type="text/javascript" src="js/modalBox.js"></script>
  113. <script type="text/javascript" src="js/newwin.js"></script>
  114. <link rel="stylesheet" type="text/css" href="css/modalBox.css">
  115.  
  116.  
  117.  
  118. <script language="JavaScript1.2" type="text/javascript">
  119.     checkBrowser();
  120.    
  121.     var newWindow = false;
  122.     function checkNewWindow( fname )
  123.     {
  124.         if ( newWindow )
  125.         {
  126.             fname.target = '_blank';
  127.         }
  128.         else
  129.         {
  130.             fname.target = '_self';
  131.         }
  132.         newWindow = false;
  133.     }
  134.  
  135.     var submitcount = 0;
  136.     function stopDblSubmit()
  137.     {
  138.         if ( submitcount == 0 )
  139.         {
  140.             //  Submit form
  141.             submitcount++;
  142.             return true;
  143.         }
  144.         else
  145.         {
  146.             return false;
  147.         }
  148.     }
  149.     </script>
  150.  
  151.  
  152.  
  153.     <style>
  154.         ._pendo-launcher-badge_ {
  155.             display: none !important;
  156.         }
  157.     </style>
  158. <script>
  159.     (function(p,e,n,d,o){var v,w,x,y,z;o=p[d]=p[d]||{};o._q=[];
  160.         v=['initialize','identify','updateOptions','pageLoad'];for(w=0,x=v.length;w<x;++w)(function(m){
  161.             o[m]=o[m]||function(){o._q[m===v[0]?'unshift':'push']([m].concat([].slice.call(arguments,0)));};})(v[w]);
  162.         y=e.createElement(n);y.async=!0;y.src='https://cdn.pendo.io/agent/static/dcea6fc8-6e40-41ad-79ae-5d8b73b8ad84/pendo.js';
  163.         z=e.getElementsByTagName(n)[0];z.parentNode.insertBefore(y,z);})(window,document,'script','pendo');
  164.  
  165.     // Call this whenever information about your visitors becomes available
  166.     // Please use Strings, Numbers, or Bools for value types.
  167.     pendo.initialize({
  168.         apiKey: 'dcea6fc8-6e40-41ad-79ae-5d8b73b8ad84',
  169.         visitor: {
  170.             id: 'michael.h.tang@gmail.com',
  171.             first_name:'Michael',
  172.             last_name:'Tang',
  173.             email:'michael.h.tang@gmail.com'
  174.         },
  175.         account: {
  176.             id: '10167',
  177.            
  178.             districtName:'edmontonps',
  179.             districtId:'10167',
  180.            
  181.             districtURL:''
  182.         }
  183.     });
  184. </script>
  185.  
  186.  
  187. <script language="JavaScript1.2" type="text/javascript" src="common/webcenter.js"></script>
  188. <script language="JavaScript1.2" type="text/javascript" src="common/multifile.js"></script>
  189.  
  190.  
  191.    
  192.  
  193. <div id="sidious.personRole" class="sidious" data-sidious="3" ></div>
  194.  
  195. <div style="height:0px;"><img src="IMAGES/shim.png" height="0px" width="750px"/></div>
  196. <table border="0" height="80px" cellspacing="0" cellpadding="0" align="left" width="100%">
  197.     <tr>
  198.         <td class="base" valign="middle" align="left" rowspan="2">
  199.            
  200.            
  201.            
  202.                 <a href="https://www.talentedk12.com" target="_blank">
  203.                     <img src="IMAGES/SmartFindExpress_Logo_en.png" border="0" align="middle" />
  204.                 </a>
  205.            
  206.            
  207.            
  208.            
  209.            
  210.         </td>
  211.        
  212.         <td class="base" valign="middle" align="left" rowspan="2">
  213.            
  214.                     <a href="http://www.epsb.ca/" target="_blank">
  215.                         <img src="customimage?id=1" border="0" align="middle" height="70px"/>
  216.                     </a>
  217.                
  218.         </td>
  219.        
  220.        
  221.        
  222.         <td class="base" align="right" valign="middle">
  223.             <script type="text/javascript">
  224.                 YAHOO.util.Event.onContentReady("headermenu", function () {
  225.                     /*
  226.                         Instantiate a MenuBar:  The first argument passed to the constructor
  227.                         is the id for the Menu element to be created, the second is an
  228.                         object literal of configuration properties.
  229.                     */
  230.                     var oMenuBar = new YAHOO.widget.MenuBar("headermenu", {
  231.                         autosubmenudisplay: true,
  232.                         hidedelay: 750,
  233.                         lazyload: true });
  234.                     oMenuBar.render();
  235.                 });
  236.             </script>
  237.             <div class="yui-skin-sam">
  238.                 <div id="headermenu" class="yuimenubar yuimenubarnav">
  239.                     <div class="bd">
  240.                         <ul class="first-of-type">
  241.                        
  242.                        
  243.                        
  244.                            
  245.                            
  246.  
  247.  
  248.  
  249.  
  250.        
  251. <li class="yuimenubaritem first-of-type">
  252.     <a href="#" id="sidious.menu.title.Profile" class="yuimenubaritemlabel noLine">Profile</a>
  253.  
  254.     <div id="Profile" class="yuimenu"><div class="bd"><ul class="first-of-type">
  255.    
  256.        
  257.  
  258.  
  259.  
  260.  
  261.            
  262. <li class="yuimenuitem"><a href="profileModifyInitAction.do" id="sidious.prompt.header.information" class="yuimenuitemlabel noLine">Personal Information</a>
  263. </li>
  264.  
  265.    
  266.        
  267.  
  268.  
  269.  
  270.  
  271.            
  272. <li class="yuimenuitem"><a href="viewMyAcknowledgedNotificationsInitAction.do" id="sidious.prompt.all.viewAcknowledgedNotifications" class="yuimenuitemlabel noLine">My Acknowledged Notifications</a>
  273. </li>
  274.  
  275.    
  276.        
  277.  
  278.  
  279.  
  280.  
  281.            
  282. <li class="yuimenuitem"><a href="substituteNotificationPreferencesInitAction.do" id="sidious.prompt.header.notificationPreferences" class="yuimenuitemlabel noLine">Notification Preferences</a>
  283. </li>
  284.  
  285.    
  286.     </ul></div></div>
  287. </li>
  288.  
  289.                        
  290.                            
  291.                            
  292.  
  293.  
  294.  
  295.  
  296.        
  297. <li class="yuimenubaritem first-of-type">
  298.     <a href="#" id="sidious.prompt.header.help" class="yuimenubaritemlabel noLine">Help</a>
  299.  
  300.     <div id="Help" class="yuimenu"><div class="bd"><ul class="first-of-type">
  301.    
  302.        
  303.  
  304.  
  305.  
  306.  
  307.            
  308. <li class="yuimenuitem"><a href="javascript:showPopDocument('https://video.eschoolsolutions.com/docs/v250/S/2500001S.pdf',null,null,null);" id="sidious.help.substitute.UserGuide" class="yuimenuitemlabel noLine">Substitute User Guide</a>
  309. </li>
  310.  
  311.    
  312.        
  313.  
  314.  
  315.  
  316.  
  317.            
  318. <li class="yuimenuitem"><a href="javascript:showPopVideo('common/video.jsp','https://video.eschoolsolutions.com/secured/20000000',705,505,null);" id="sidious.help.AccessingSFEWeb" class="yuimenuitemlabel noLine">Video: Logging in on the Web</a>
  319. </li>
  320.  
  321.    
  322.        
  323.  
  324.  
  325.  
  326.  
  327.            
  328. <li class="yuimenuitem"><a href="javascript:showPopVideo('common/video.jsp','https://video.eschoolsolutions.com/secured/S/2000001S',705,505,null);" id="sidious.help.ScreenNavigationAndUpdatingProfile" class="yuimenuitemlabel noLine">Video: Navigating and Profile Updates</a>
  329. </li>
  330.  
  331.    
  332.        
  333.  
  334.  
  335.  
  336.  
  337.            
  338. <li class="yuimenuitem"><a href="javascript:showPopVideo('common/video.jsp','https://video.eschoolsolutions.com/secured/S/2000002S',705,505,null);" id="sidious.help.SubSchedule" class="yuimenuitemlabel noLine">Video: Schedule</a>
  339. </li>
  340.  
  341.    
  342.        
  343.  
  344.  
  345.  
  346.  
  347.            
  348. <li class="yuimenuitem"><a href="javascript:showPopVideo('common/video.jsp','https://video.eschoolsolutions.com/secured/S/2000003S',705,505,null);" id="sidious.help.SubAvailableJobs" class="yuimenuitemlabel noLine">Video: Available Jobs</a>
  349. </li>
  350.  
  351.    
  352.        
  353.  
  354.  
  355.  
  356.  
  357.            
  358. <li class="yuimenuitem"><a href="javascript:showPopVideo('common/video.jsp','https://video.eschoolsolutions.com/secured/S/2000004S',705,505,null);" id="sidious.help.SubReviewAssign" class="yuimenuitemlabel noLine">Video: Review Assignments</a>
  359. </li>
  360.  
  361.    
  362.     </ul></div></div>
  363. </li>
  364.  
  365.                        
  366.                            
  367.                            
  368.  
  369.  
  370.  
  371.  
  372.        
  373. <li class="yuimenubaritem first-of-type">
  374.     <a href="logOffAction.do" id="sidious.prompt.header.signOut" class="yuimenubaritemlabel noLine">Sign Out</a>
  375. </li>
  376.  
  377.                        
  378.                        
  379.                         </ul>
  380.                     </div>
  381.                 </div>
  382.             </div>
  383.         </td>
  384.     </tr>
  385.     <tr>
  386.         <td class="base" valign="bottom" align="right">
  387.        
  388.         </td>
  389.        
  390.     </tr>
  391. </table>
  392. </td>
  393.         </tr>
  394.        
  395.         <tr valign="top" align="right">
  396.             <td style="height:24px;">
  397.  
  398.  
  399.  
  400.  
  401.  
  402. <script type="text/javascript">
  403.     YAHOO.util.Event.onContentReady("menubar", function () {
  404.         /*
  405.             Instantiate a MenuBar:  The first argument passed to the constructor
  406.             is the id for the Menu element to be created, the second is an
  407.             object literal of configuration properties.
  408.         */
  409.         var oMenuBar = new YAHOO.widget.MenuBar("menubar", {
  410.             autosubmenudisplay: true,
  411.             hidedelay: 750,
  412.             lazyload: true });
  413.         oMenuBar.render();
  414.     });
  415.  
  416.     var loadServer = true;
  417.     var timeDifference;
  418.     setInterval(function(){currentDateTime()},10000);
  419.     function currentDateTime() {
  420.         var languageName = 'English';
  421.         var locale = getLanguageLocale(languageName);
  422.         if(loadServer){
  423.             var serverDate = 'February 23, 2020 10:41 PM';
  424.             var serverDateTime = new Date(serverDate);
  425.             var currentDateTime = new Date();
  426.             timeDifference = currentDateTime.getTime() - serverDateTime.getTime();
  427.             loadServer = false;
  428.         }
  429.         var updateServerDateTime = new Date(new Date().getTime() - timeDifference);
  430.         var formatedServerDateTime = formatDate(updateServerDateTime, locale);
  431.  
  432.         document.getElementById("currentDateTimeDisplay").innerHTML = formatedServerDateTime;
  433.     }
  434.     function getLanguageLocale(name) {
  435.         switch (name) {
  436.             case 'English':
  437.                 return 'en-us';
  438.             case 'French':
  439.                 return 'fr-ca';
  440.             case 'Spanish':
  441.                 return 'es-mx';
  442.         }
  443.     }
  444.     function formatDate(dateTime, locale) {
  445.         if(locale == 'fr-ca') {
  446.               var monthNames = [
  447.                     "janvier", "février", "mars", "avril", "mai", "juin", "juillet", "août", "septembre", "octobre", "novembre", "décembre"
  448.                   ];
  449.               var date = dateTime.getDate();
  450.               var month = monthNames[dateTime.getMonth()];
  451.               var year = dateTime.getFullYear();
  452.               var hours = dateTime.getHours();
  453.               var minutes = dateTime.getMinutes();
  454.  
  455.               return date + ' ' + month + ' ' + year + ' ' + hours + ' h ' + minutes;
  456.  
  457.         } else {
  458.             var formatOptions = { year: 'numeric', month: 'long', day: 'numeric', hour: 'numeric', minute: 'numeric', hour12: true };
  459.             return dateTime.toLocaleString(locale, formatOptions);
  460.         }
  461.     }
  462. </script>
  463. <div class="yui-skin-sam">
  464.     <div id="menubar" class="yuimenubar yuimenubarnav">
  465.         <div class="bd">
  466.             <ul class="first-of-type">
  467.                
  468.                    
  469.                    
  470.  
  471.  
  472.  
  473.  
  474.        
  475. <li class="yuimenubaritem first-of-type">
  476.     <a href="homeAction.do" id="sidious.menu.title.Home" class="yuimenubaritemlabel noLine">Home</a>
  477. </li>
  478.  
  479.                
  480.                    
  481.                    
  482.  
  483.  
  484.  
  485.  
  486.        
  487. <li class="yuimenubaritem first-of-type">
  488.     <a href="#" id="sidious.menu.title.Schedule" class="yuimenubaritemlabel noLine">Schedule</a>
  489.  
  490.     <div id="Scheduling" class="yuimenu"><div class="bd"><ul class="first-of-type">
  491.    
  492.        
  493.  
  494.  
  495.  
  496.  
  497.            
  498. <li class="yuimenuitem"><a href="substituteDailyAvailInitAction.do" id="sidious.menu.title.General" class="yuimenuitemlabel noLine">General</a>
  499. </li>
  500.  
  501.    
  502.        
  503.  
  504.  
  505.  
  506.  
  507.            
  508. <li class="yuimenuitem"><a href="profileModifyInitAction.do" id="sidious.prompt.subProfileDailyAvailability.temporaryDNC" class="yuimenuitemlabel noLine">Temporary Do Not Call</a>
  509. </li>
  510.  
  511.    
  512.        
  513.  
  514.  
  515.  
  516.  
  517.            
  518. <li class="yuimenuitem"><a href="substituteClassfInitAction.do" id="sidious.menu.title.Classifications" class="yuimenuitemlabel noLine">Classifications</a>
  519. </li>
  520.  
  521.    
  522.        
  523.  
  524.  
  525.  
  526.  
  527.            
  528. <li class="yuimenuitem"><a href="substituteLocInitAction.do" id="sidious.menu.title.Locations" class="yuimenuitemlabel noLine">Locations</a>
  529. </li>
  530.  
  531.    
  532.        
  533.  
  534.  
  535.  
  536.  
  537.            
  538. <li class="yuimenuitem"><a href="substituteUnavailInitAction.do" id="sidious.menu.title.UnavailDates" class="yuimenuitemlabel noLine">Unavail Dates</a>
  539. </li>
  540.  
  541.    
  542.     </ul></div></div>
  543. </li>
  544.  
  545.                
  546.                    
  547.                    
  548.  
  549.  
  550.  
  551.  
  552.        
  553. <li class="yuimenubaritem first-of-type">
  554.     <a href="substituteAvailableJobInitAction.do" id="sidious.menu.title.AvailableJobs" class="yuimenubaritemlabel noLine">Available Jobs</a>
  555. </li>
  556.  
  557.                
  558.                    
  559.                    
  560.  
  561.  
  562.  
  563.  
  564.        
  565. <li class="yuimenubaritem first-of-type">
  566.     <a href="substituteCalendarInitAction.do" id="sidious.menu.title.ReviewAssignments" class="yuimenubaritemlabel noLine">Review Assignments</a>
  567. </li>
  568.  
  569.                
  570.                 <b>&nbsp;&nbsp;<span id="currentDateTimeDisplay" style="color: #FFFFFF;"></span>&nbsp;</b>
  571.             </ul>
  572.         </div>
  573.     </div>
  574. </div>
  575. <script type="text/javascript">currentDateTime();</script>
  576. </td>
  577.         </tr>          
  578.        
  579.         <tr valign="top" align="left">
  580.            
  581.             <!--[if IE 6]>
  582.             <td style="height:100%">
  583.             <![endif]-->
  584.             <![if (gt IE 6)|(!IE)]>
  585.             <td style="height:expression(document.body.clientHeight - 202);">
  586.             <![endif]>
  587.                 <table class="contentBorder" border="0" cellspacing="0" cellpadding="0">
  588.                     <tr width="100%" valign="top" align="left">
  589.                         <td class="contentBorder">
  590.                            
  591.                            
  592.                                
  593.                                
  594.                            
  595.                             Available Jobs
  596.                         </td>
  597.                     </tr>
  598.                     <tr width="100%" valign="top" align="center">
  599.                         <td>
  600.                             <font class="error" id="sidious.error">No jobs found for the date range.<br></font>
  601.                         </td>
  602.                     </tr>
  603.                     <tr width="100%" valign="top" align="left">
  604.                         <td>
  605.  
  606. </td>
  607.                     </tr>
  608.                     <tr height="100%" width="100%" valign="top" align="left">
  609.                         <td><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  610.     "http://www.w3.org/TR/html4/strict.dtd">
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626. <!-- Dependency for event-min.js -->
  627. <script type="text/javascript" src="js/yahoo-min.js"></script>
  628.  
  629. <!-- Event source file - for onDOMReady function used on this page -->
  630. <script type="text/javascript" src="js/event-min.js"></script>
  631.  
  632. <html>
  633. <script language="JavaScript1.2" type="text/javascript">
  634.  
  635.     function disableButton( buttonName, clicked, debug )
  636.     {
  637.         if ( document.getElementById( buttonName ) != null )
  638.         {
  639.             if ( false == false )
  640.             {
  641.                 document.getElementById( buttonName ).disabled = true;
  642.             }
  643.    
  644.             if ( clicked == true )
  645.             {
  646.                 var el = document.createElement( "input" );
  647.                 el.type = "hidden";
  648.                 el.name = buttonName;
  649.                 el.value = buttonName;
  650.                 document.forms[0].appendChild( el );
  651.             }
  652.         }      
  653.     }  
  654.  
  655.     function disableSearch()
  656.     {
  657.         disableButton( "searchPrev", false );
  658.         disableButton( "searchNext", false );
  659.         disableButton( "9aa143de-747c-4444-893f-2f82d02338aa", true );
  660.     }
  661.  
  662.     function disablePrev()
  663.     {
  664.         disableButton( "searchPrev", true );
  665.         disableButton( "searchNext", false );
  666.         disableButton( "9aa143de-747c-4444-893f-2f82d02338aa", false );
  667.     }
  668.  
  669.     function disableNext()
  670.     {
  671.         disableButton( "searchPrev", false );
  672.         disableButton( "searchNext", true );
  673.         disableButton( "9aa143de-747c-4444-893f-2f82d02338aa", false );
  674.     }      
  675.  
  676.     $(document).ready(function () {
  677.         [].slice.call(document.querySelectorAll('table')).map(function (elem, index) {
  678.             return elem.id = 'substituteAvailableJobActionTable-'+index;
  679.         });
  680.         $("#"+"9aa143de-747c-4444-893f-2f82d02338aa,#searchPrev,#searchNext").click(function () {
  681.           blockUIForSearch("jobSearchToken","jobSearchCookie");
  682.           document.forms[0].submit();
  683.         });
  684.       });
  685. </script>
  686.  
  687. <table border="0" cellspacing="0" cellpadding="0" align="left">
  688. <form name="reviewAssignForm" method="post" action="/substituteAvailableJobAction.do">
  689.     <tr>
  690.         <td align="left">
  691.             <table border="0" cellspacing="0" cellpadding="0" align="left" width="300">
  692.                 <tr><td height="5" colspan="6"></td></tr>
  693.                
  694.                    
  695.                         <tr>
  696.                             <td align="right" nowrap valign="top"><font class="header" >* Search From:</font></td>
  697.                             <td align="left" nowrap>
  698.                                
  699.  
  700.  
  701.  
  702.  
  703.  
  704. <link rel="stylesheet" type="text/css" href="css/calendar.css"></link>
  705. <script type="text/javascript" src="js/calendar-min.js"></script>
  706. <script type="text/javascript" src="js/dateUtil.js"></script>
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715. <script type="text/javascript">
  716.    
  717.     // This function will update the end date box if the start date box is after the end date
  718.     function updateEndDate(startBoxName, endBoxName) {
  719.         var Dom = YAHOO.util.Dom;
  720.         var dFmt = "MM/dd/yyyy";
  721.         var startBox = Dom.get(startBoxName);
  722.         var endBox = Dom.get(endBoxName);
  723.         var endDt = Date.parseString(endBox.value, dFmt);
  724.         var startDt = Date.parseString(startBox.value, dFmt);
  725.         if(endDt != null && startDt != null && endDt.isBefore(startDt)) {
  726.             endBox.value = startBox.value;
  727.         }
  728.         else if ( endDt == null && startDt != null ) {
  729.             endBox.value = startBox.value;
  730.         }
  731.     };
  732.    
  733.    
  734.     YAHOO.util.Event.onDOMReady(function(){
  735.  
  736.         var Event = YAHOO.util.Event,
  737.             Dom = YAHOO.util.Dom,
  738.             calendar;
  739.  
  740.         var dFmt = "MM/dd/yyyy";
  741.         var showBtn = Dom.get("showstartDate");
  742.         var startDateDisplayed = 0; // Used to track if this cal is being displayed to toggle state
  743.        
  744.         calendar = new YAHOO.widget.Calendar("k","divstartDate", {
  745.             iframe:false,          // Turn iframe off, since container has iframe support.
  746.             hide_blank_weeks:true,
  747.             navigator:true,
  748.             close:false
  749.         });
  750.  
  751.        
  752.        
  753.         calendar.render();
  754.         calendar.hide();
  755.  
  756.         // Assign an event handler for selecting a date on the calendar
  757.         calendar.selectEvent.subscribe(function() {
  758.             if (calendar.getSelectedDates().length > 0) {
  759.                 var selDate = calendar.getSelectedDates()[0];
  760.                 var dFmt = "MM/dd/yyyy";
  761.                 Dom.get("startDate").value =  selDate.format(dFmt);
  762.                
  763.                 updateEndDate("startDate", "endDate");
  764.                
  765.             } else {
  766.                 Dom.get("startDate").value = "";
  767.             }
  768.             calendar.hide();
  769.             startDateDisplayed = 0;
  770.         });
  771.  
  772.         // Assign an event handler for clicking on the show calendar button
  773.         Event.on(showBtn, "click", function() {
  774.             if( startDateDisplayed == 0 ) {
  775.                 var txtDate = Dom.get("startDate").value;
  776.                 if (txtDate != '') {
  777.                     newDate = Date.parseString( txtDate, dFmt);
  778.                     if(newDate != null) calendar.select(newDate);
  779.                     else {
  780.                         // there was a problem parsing the date, reset the calendar and the text box
  781.                         calendar.reset();
  782.                         Dom.get("startDate").value = new Date().format(dFmt);
  783.                     }
  784.                 }
  785.    
  786.                 var seldate = calendar.getSelectedDates();
  787.                 if (seldate.length > 0) {
  788.                     // Set the pagedate to show the selected date if it exists
  789.                     calendar.cfg.setProperty("pagedate", seldate[0]);
  790.                     calendar.render();
  791.                 }
  792.                 calendar.show();
  793.                 startDateDisplayed = 1;
  794.             } else {
  795.                 calendar.hide();
  796.                 startDateDisplayed = 0;
  797.             }
  798.         });
  799.  
  800.        
  801.         var dateBox = Dom.get("startDate");
  802.         Event.on(dateBox, "blur", function() {
  803.             updateEndDate("startDate", "endDate");
  804.         });      
  805.        
  806.     });
  807. </script>
  808. <span class="datePicker" style="z-index:2;">
  809.     <input type="text" id="startDate" name="startDate"
  810.         value="02/23/2020"
  811.     />
  812.     <button type="button" id="showstartDate" title="Show Calendar" >
  813.         <img src="IMAGES/show-calendar.gif" width="22px" height="22px" alt="Calendar" >
  814.     </button>
  815.     <br/>
  816.    
  817.    
  818.    
  819.         <font class="dateFormat">(mm/dd/yyyy)</font>
  820.    
  821.    
  822.     <span id="divstartDate" class="calendarBox"></span>
  823. </span>
  824.  
  825.  
  826.                             </td>
  827.                             <td align="right" nowrap valign="top">&nbsp;&nbsp;<font class="header" >* To:</font></td>
  828.                             <td align="left" nowrap>
  829.                                
  830.  
  831.  
  832.  
  833.  
  834.  
  835. <link rel="stylesheet" type="text/css" href="css/calendar.css"></link>
  836. <script type="text/javascript" src="js/calendar-min.js"></script>
  837. <script type="text/javascript" src="js/dateUtil.js"></script>
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846. <script type="text/javascript">
  847.    
  848.    
  849.     YAHOO.util.Event.onDOMReady(function(){
  850.  
  851.         var Event = YAHOO.util.Event,
  852.             Dom = YAHOO.util.Dom,
  853.             calendar;
  854.  
  855.         var dFmt = "MM/dd/yyyy";
  856.         var showBtn = Dom.get("showendDate");
  857.         var endDateDisplayed = 0; // Used to track if this cal is being displayed to toggle state
  858.        
  859.         calendar = new YAHOO.widget.Calendar("k","divendDate", {
  860.             iframe:false,          // Turn iframe off, since container has iframe support.
  861.             hide_blank_weeks:true,
  862.             navigator:true,
  863.             close:false
  864.         });
  865.  
  866.        
  867.        
  868.         calendar.render();
  869.         calendar.hide();
  870.  
  871.         // Assign an event handler for selecting a date on the calendar
  872.         calendar.selectEvent.subscribe(function() {
  873.             if (calendar.getSelectedDates().length > 0) {
  874.                 var selDate = calendar.getSelectedDates()[0];
  875.                 var dFmt = "MM/dd/yyyy";
  876.                 Dom.get("endDate").value =  selDate.format(dFmt);
  877.                
  878.             } else {
  879.                 Dom.get("endDate").value = "";
  880.             }
  881.             calendar.hide();
  882.             endDateDisplayed = 0;
  883.         });
  884.  
  885.         // Assign an event handler for clicking on the show calendar button
  886.         Event.on(showBtn, "click", function() {
  887.             if( endDateDisplayed == 0 ) {
  888.                 var txtDate = Dom.get("endDate").value;
  889.                 if (txtDate != '') {
  890.                     newDate = Date.parseString( txtDate, dFmt);
  891.                     if(newDate != null) calendar.select(newDate);
  892.                     else {
  893.                         // there was a problem parsing the date, reset the calendar and the text box
  894.                         calendar.reset();
  895.                         Dom.get("endDate").value = new Date().format(dFmt);
  896.                     }
  897.                 }
  898.    
  899.                 var seldate = calendar.getSelectedDates();
  900.                 if (seldate.length > 0) {
  901.                     // Set the pagedate to show the selected date if it exists
  902.                     calendar.cfg.setProperty("pagedate", seldate[0]);
  903.                     calendar.render();
  904.                 }
  905.                 calendar.show();
  906.                 endDateDisplayed = 1;
  907.             } else {
  908.                 calendar.hide();
  909.                 endDateDisplayed = 0;
  910.             }
  911.         });
  912.  
  913.        
  914.     });
  915. </script>
  916. <span class="datePicker" style="z-index:2;">
  917.     <input type="text" id="endDate" name="endDate"
  918.         value="03/31/2020"
  919.     />
  920.     <button type="button" id="showendDate" title="Show Calendar" >
  921.         <img src="IMAGES/show-calendar.gif" width="22px" height="22px" alt="Calendar" >
  922.     </button>
  923.     <br/>
  924.    
  925.    
  926.    
  927.         <font class="dateFormat">(mm/dd/yyyy)</font>
  928.    
  929.    
  930.     <span id="divendDate" class="calendarBox"></span>
  931. </span>
  932.  
  933.  
  934.                             </td>
  935.                         </tr>
  936.                         <tr>
  937.                             <td align="left">
  938.                                 <input type="button" name="9aa143de-747c-4444-893f-2f82d02338aa" value="Search" onclick="disableSearch();" id="9aa143de-747c-4444-893f-2f82d02338aa" class="submitButton">                             
  939.                             </td>
  940.                             <td align="left" colspan="5">
  941.                                 <div id="cooldownMessage" style="display: none;">
  942.                                     <b><font class="heading" color="red">Next search allowed in&nbsp;<span id="cooldownValue"></span>&nbsp;second(s)</font></b>                        
  943.                                 </div>
  944.                             </td>
  945.                         </tr>
  946.                      
  947.                                            
  948.                
  949.             </table>           
  950.         </td>
  951.     </tr>
  952.    
  953.     <tr><td><hr size="1"/></td></tr>
  954.    
  955.    
  956.         <tr>
  957.             <td>
  958.                 <table cellpadding="0" cellspacing="0" align="left">
  959.                     <tr>
  960.                         <td align="left" nowrap><font class="heading" >Action</font></td>
  961.                         <td align="left" nowrap><font class="heading" >Start Date/Time</font></td>
  962.                         <td align="left" nowrap><font class="heading" >Location</font></td>
  963.                         <td align="left" nowrap><font class="heading" >Employee in for</font>&nbsp;&nbsp;&nbsp;&nbsp;</td>
  964.                         <td align="left" nowrap><font class="heading" >Instructions</font></td>
  965.                     </tr>    
  966.                     <tr>
  967.                         <td>&nbsp;</td>
  968.                         <td align="left" nowrap><font class="heading" >End Date/Time</font></td>
  969.                         <td align="left" nowrap><font class="heading" >Classification</font></td>
  970.                         <td align="left" nowrap><font class="heading" >Work Days</font></td>
  971.                         <td align="left" nowrap><font class="heading" >Is Requested</font></td>
  972.                     </tr>
  973.                     <tr><td colspan="5"><hr size="1"/></td></tr>
  974.                    
  975.                    
  976.                 </table>
  977.             </td>
  978.         </tr>
  979.         <tr><td align="right" colspan="7">&nbsp;</td></tr>
  980.         <tr>
  981.             <td align="left" colspan="7">
  982.                
  983.                
  984.             </td>
  985.         </tr>
  986.    
  987.    
  988.  
  989.  
  990.  
  991.  
  992.  
  993.  
  994.  
  995.  
  996.  
  997. <script type="text/javascript">
  998. var searchCheckTimer;
  999. function blockUIForSearch(hiddenTokenProperty, cookieName) {
  1000.   var token = new Date().getTime();
  1001.   $("#" + hiddenTokenProperty).val(token);
  1002.   $.blockUI({ message: $('#progressMessage') });
  1003.   searchCheckTimer = window.setInterval(function () {
  1004.     var cookieValue = $.cookie(cookieName);
  1005.     if (cookieValue == token)
  1006.       finishSearch();
  1007.   }, 1000);
  1008. }
  1009.      
  1010. function finishSearch() {
  1011.  window.clearInterval(searchCheckTimer);
  1012.  $.cookie(cookieName, null);
  1013.  $.unblockUI();
  1014. }
  1015. </script>
  1016.  
  1017.        
  1018. <input type="hidden" name="jobSearchToken" value="1582522873398" id="jobSearchToken">
  1019. <div id="progressMessage" style="display:none; cursor: default">
  1020.       <h1><img src="IMAGES/busy.gif" height="20" width="20"/>&nbsp;Search in progress...<br>  Please be patient...</h1>
  1021. </div>
  1022.  
  1023.  
  1024. </form>
  1025. </table>
  1026.  
  1027. <script language="JavaScript1.2" type="text/javascript">
  1028.  
  1029. var cooldown = 15;
  1030. var timer = null;
  1031.  
  1032. function init()
  1033. {
  1034.     if ( cooldown > 0 )
  1035.     {
  1036.         document.getElementById( "9aa143de-747c-4444-893f-2f82d02338aa" ).disabled = true;
  1037.         document.getElementById( "cooldownMessage" ).style.display = "block";
  1038.         document.getElementById( "cooldownValue" ).innerHTML = cooldown;
  1039.  
  1040.         timer = YAHOO.lang.later ( 1000, this, "timerEvent", 1, true );
  1041.     }
  1042.     else
  1043.     {
  1044.         document.getElementById( "9aa143de-747c-4444-893f-2f82d02338aa" ).disabled = false;
  1045.         document.getElementById( "cooldownMessage" ).style.display = "none";
  1046.     }  
  1047. }
  1048.  
  1049. function timerEvent( unused )
  1050. {
  1051.     cooldown = cooldown - 1;
  1052.  
  1053.     if ( cooldown > 0 )
  1054.     {
  1055.         document.getElementById( "cooldownValue" ).innerHTML = cooldown;
  1056.     }
  1057.     else
  1058.     {      
  1059.         document.getElementById( "9aa143de-747c-4444-893f-2f82d02338aa" ).disabled = false;
  1060.         document.getElementById( "cooldownMessage" ).style.display = "none";
  1061.         timer.cancel();
  1062.     }
  1063. }
  1064.  
  1065. YAHOO.util.Event.onDOMReady( init );
  1066.  
  1067. </script>
  1068. </html>
  1069. </td>
  1070.                     </tr>
  1071.                 </table>
  1072.             </td>
  1073.         </tr>
  1074.        
  1075.         <tr valign="bottom" align="left">
  1076.             <td style="height:50px;">
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089. <style>
  1090. .showMobileLink {
  1091.     display:none;
  1092. }
  1093.     .popupacknw {
  1094.         width:100%;
  1095.         height:100%;
  1096.         display:none;
  1097.         position:fixed;
  1098.         top:0px;
  1099.         left:0px;
  1100.         background:rgba(0,0,0,0.75);
  1101.     }
  1102.  
  1103.     /* Inner */
  1104.     .popupacknw-inner {
  1105.         max-width:700px;
  1106.         width:90%;
  1107.         padding:40px;
  1108.         position:absolute;
  1109.         top:50%;
  1110.         left:50%;
  1111.         -webkit-transform:translate(-50%, -50%);
  1112.         transform:translate(-50%, -50%);
  1113.         box-shadow:0px 2px 6px rgba(0,0,0,1);
  1114.         border-radius:3px;
  1115.         background:#fff;
  1116.         overflow-x: hidden;
  1117.         overflow-y: scroll;
  1118.         max-height: 70%;
  1119.         min-height: 30%;
  1120.     }
  1121.  
  1122.     /* Close Button */
  1123.     .popupacknw-close {
  1124.         width:30px;
  1125.         height:30px;
  1126.         padding-top:4px;
  1127.         display:inline-block;
  1128.         position:absolute;
  1129.         top:18px;
  1130.         right:15px;
  1131.         -webkit-transform:translate(50%, -50%);
  1132.         transform:translate(50%, -50%);
  1133.         border-radius:1000px;
  1134.         /*background:rgba(0,0,0,0.8);*/
  1135.         font-family:'Open Sans',Arial, Sans-Serif;
  1136.         font-size:20px;
  1137.         text-align:center;
  1138.         line-height:100%;
  1139.         color:#fff;
  1140.     }
  1141.  
  1142.     .popupacknw-close:hover {
  1143.         -webkit-transform:translate(50%, -50%) rotate(180deg);
  1144.         transform:translate(50%, -50%) rotate(180deg);
  1145.         background:rgba(0,0,0,1);
  1146.         text-decoration:none;
  1147.         color: white;
  1148.     }
  1149.    
  1150.     a {
  1151.         color: #000;
  1152.     }
  1153. </style>
  1154. <script type="text/javascript">
  1155.     $(function() {
  1156.         //----- OPEN
  1157.         $('[data-popup-open]').on('click', function(e)  {
  1158.             var targeted_popup_class = jQuery(this).attr('data-popup-open');
  1159.             $('[data-popup="' + targeted_popup_class + '"]').fadeIn(350);
  1160.  
  1161.             e.preventDefault();
  1162.         });
  1163.  
  1164.         //----- CLOSE
  1165.         $('[data-popup-close]').on('click', function(e)  {
  1166.             var targeted_popup_class = jQuery(this).attr('data-popup-close');
  1167.             $('[data-popup="' + targeted_popup_class + '"]').fadeOut(350);
  1168.  
  1169.             e.preventDefault();
  1170.         });
  1171.     });
  1172.  
  1173.     function bindNotification(){
  1174.         $("#acknwannouncement").html("");
  1175.         var acknwannouncementText=jQuery( 'textarea[name=notificationMsg]').val();
  1176.         $("#acknwannouncement").html(acknwannouncementText);
  1177.     }
  1178.    
  1179.     $( document ).ready(function() {
  1180.         if($("#submitAcknowledge").length){
  1181.             footerDisabledEnabledFN();
  1182.         }
  1183.         if($("#acknwMsgBtn").length){
  1184.             $('#acknwMsgBtn').click();
  1185.         }
  1186.     });
  1187.    
  1188.     function footerDisabledEnabledFN()
  1189.     {
  1190.         if ($("#acknwContinueBtn").is(':checked')) {
  1191.             $('#submitAcknowledge').attr('disabled', false);
  1192.         }else{
  1193.             $('#submitAcknowledge').attr('disabled', true);
  1194.         }
  1195.     }
  1196. </script>
  1197. <html lang="en-US">
  1198.      
  1199.        
  1200.     <table class="footer" background="IMAGES/footerBar.gif" border="0" cellspacing="0" cellpadding="0" width="100%" height="50">
  1201.         <tr>
  1202.             <td>&nbsp;</td>
  1203.             <td class="baseFooter" align="left" valign="bottom" width="100%" colspan=2>
  1204.                 <a onClick="window.open('term.jsp', '', 'height=600, width=750, toolbar=no,status=no, '
  1205.                     + 'menubar=no, scrollbars=yes, location=no, directories=no, resizable=yes, '
  1206.                     + 'screenX=0, screenY=0');" style="cursor: pointer;">
  1207.                     <u><font class="textFooter" >Terms of Use</font></u>
  1208.                 </a>
  1209.                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  1210.                 <a onClick="window.open('privacy.jsp', '', 'height=600, width=750, toolbar=no,status=no, '
  1211.                     + 'menubar=no, scrollbars=yes, location=no, directories=no, resizable=yes, '
  1212.                     + 'screenX=0, screenY=0');" style="cursor: pointer;">
  1213.                     <u><font class="textFooter" >Privacy</font></u>
  1214.                 </a>
  1215.                 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
  1216.                
  1217.                    
  1218.                                            
  1219.                             <font class="textFooter">
  1220.                             <a class="showMobileLink" href="homeActionDiv.do?uiNew=1">Mobile</a>
  1221.                             </font>                        
  1222.                        
  1223.                        
  1224.                                        
  1225.                
  1226.             </td>
  1227.         </tr>
  1228.         <tr>
  1229.             <td>&nbsp</td>
  1230.             <td class="baseFooter" align="left" valign="top" width="100%" colspan="2">             
  1231.                 <font class="textFooter" >Copyright A9 2005-</font>
  1232.                
  1233.                 2020
  1234.                 <font class="textFooter" >PowerSchool Group LLC and/or its affiliates. All trademarks are either owned or licensed by PowerSchool group LLC or its affiliates.</font>
  1235.             </td>
  1236.         </tr>
  1237.  
  1238.     </table>
  1239.     <div id="helpAbout" style="display: none;"><font class="textFooter" >About</font></div>
  1240.    
  1241.    
  1242.            
  1243.    
  1244.    
  1245.    
  1246.     <!--  Below code is for displaying notification to users -->
  1247.    
  1248.         <div class="popupacknw" data-popup="popupNotify-1">
  1249.         <form name="operatorAnnouncementsForm" method="post" action="/recordAknowledgeDetailAction.do">
  1250.             <div class="popupacknw-inner">
  1251.                 <div id="acknwannouncement">
  1252.                 </div>
  1253.                 <br><br>
  1254.                 <div align="left" >
  1255.                         <input type="checkbox" name="deleteList" value="1" onclick="footerDisabledEnabledFN();" id="acknwContinueBtn">Acknowledge Message
  1256.                        
  1257.                         <input class="submitButton" type="submit" name="submitAcknowledge" value="Continue" disabled="disabled" id="submitAcknowledge" style="position: absolute; right: 40px;" class="submitButton">  
  1258.                 </div>
  1259.                 <br><br>
  1260.             </div>
  1261.         </form>
  1262.         </div>
  1263.        
  1264.    
  1265. </html>
  1266. </td>
  1267.         </tr>
  1268.     </table>
  1269. </body>
  1270. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement