Subversion Repositories DevTools

Rev

Rev 5590 | Rev 5638 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5590 Rev 5636
Line 462... Line 462...
462
          ' If user has not entered a scheduled time, set the scheduled date/time to now
462
          ' If user has not entered a scheduled time, set the scheduled date/time to now
463
          ScheduledDateTime = Request("scheduled_time")
463
          ScheduledDateTime = Request("scheduled_time")
464
          If IsNull(ScheduledDateTime) OR ScheduledDateTime = "" Then
464
          If IsNull(ScheduledDateTime) OR ScheduledDateTime = "" Then
465
             ScheduledDateTime = ORA_SYSDATETIME
465
             ScheduledDateTime = ORA_SYSDATETIME
466
          Else
466
          Else
467
             ScheduledDateTime = "TO_DATE( '"& ScheduledDateTime &"','DD-MM-YYYY HH24:MI:SS' )"
467
             ScheduledDateTime = "TO_DATE( '"& ScheduledDateTime &"','DY DD-MM-YYYY HH24:MI' )"
468
          End If
468
          End If
469
 
469
 
470
          ' nullify parPv_id for the SQL, if the instruction op-code does not require one
470
          ' nullify parPv_id for the SQL, if the instruction op-code does not require one
471
          If bHidePackages Then
471
          If bHidePackages Then
472
             parPv_id = "NULL"
472
             parPv_id = "NULL"
Line 634... Line 634...
634
      <link rel="shortcut icon" href="<%=FavIcon%>"/>
634
      <link rel="shortcut icon" href="<%=FavIcon%>"/>
635
      <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
635
      <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
636
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
636
      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
637
      <link href="images/release_manager_style.css" rel="stylesheet" type="text/css">
637
      <link href="images/release_manager_style.css" rel="stylesheet" type="text/css">
638
      <script language="JavaScript" src="scripts/common.js"></script>
638
      <script language="JavaScript" src="scripts/common.js"></script>
-
 
639
      <%bJqueryTimePicker = TRUE%>
639
      <script language="JavaScript" src="images/ts_picker.js"></script>
640
      <!--#include file="_jquery_includes.asp"-->
-
 
641
    <script>
-
 
642
    $(document).ready(function(){
-
 
643
    	var myDateTimePicker = null;
-
 
644
        $('#scheduled_time').datetimepicker({
-
 
645
    		timeFormat: "HH:mm",
-
 
646
            dateFormat: "D dd-M-yy",
-
 
647
    		controlType: 'select',
-
 
648
    		oneLine: true,
-
 
649
    		timeInput: true,
-
 
650
            constrainInput: true,
-
 
651
            showOn: 'both',
-
 
652
            buttonImageOnly : true,
-
 
653
            buttonImage: "images/cal.gif",
-
 
654
            buttonText: "Select Date and Time",
-
 
655
            minDate : 0,
-
 
656
    		onClose : function(p1,p2){
-
 
657
    			 //console.log("scheduled_time", p1 );
-
 
658
    			},
-
 
659
    	    });
-
 
660
    	})
-
 
661
    </script>
-
 
662
    <style>
-
 
663
        #ui-datepicker-div {
-
 
664
            position: absolute !important;
-
 
665
            top: 0px !important;
-
 
666
            left: 0px !important;
-
 
667
            }
-
 
668
    </style>
640
   </head>
669
   </head>
641
 
670
 
642
   <body background="images/bg_bage_0.gif" leftmargin="0" topmargin="0" >
671
   <body background="images/bg_bage_0.gif" leftmargin="0" topmargin="0" >
643
      <table class="full_table">
672
      <table class="full_table">
644
         <%
673
         <%
Line 697... Line 726...
697
                  <tr><td>&nbsp;</td></tr>
726
                  <tr><td>&nbsp;</td></tr>
698
                  <tr>
727
                  <tr>
699
                     <td>
728
                     <td>
700
                        <td class="nowrap">Scheduled Time</td>
729
                        <td class="nowrap">Scheduled Time</td>
701
                        <td>
730
                        <td>
702
                           <input type="text" id="scheduled_time" name="scheduled_time" size="20" class="form_ivalue" value="<%=parSchDateTime%>">
731
                           <input type="text" id="scheduled_time" name="scheduled_time" size="25" class="form_ivalue" value="<%=DisplayDateTime(parSchDateTime)%>">
703
                           <a href="javascript:show_calendar('document.DaemonInstruction.scheduled_time', document.DaemonInstruction.scheduled_time.value);">
-
 
704
                              <img src="images/cal.gif" width="16" height="16" border="0" alt="Click Here to select the (future) time at which to carry out the instruction">
-
 
705
                           </a>
-
 
706
                        </td>
732
                        </td>
707
                     </td>
733
                     </td>
708
                  </tr>
734
                  </tr>
709
 
735
 
710
                  <%If NOT bHideRepeat Then%>
736
                  <%If NOT bHideRepeat Then%>
Line 716... Line 742...
716
                              <input type="radio" name="repeat_inst" id="repeat_inst_24hrs"  value="24Hrs"<%If parRepeat = "86400" Then%>checked<%End If%> onchange='Refresh_Repeat(86400)' >24 Hrs
742
                              <input type="radio" name="repeat_inst" id="repeat_inst_24hrs"  value="24Hrs"<%If parRepeat = "86400" Then%>checked<%End If%> onchange='Refresh_Repeat(86400)' >24 Hrs
717
                           </td>
743
                           </td>
718
                        </td>
744
                        </td>
719
                     </tr>
745
                     </tr>
720
                  <%End If%>
746
                  <%End If%>
-
 
747
                  <tr>
-
 
748
                    <td style="height:100px">
-
 
749
                    </td>
-
 
750
                  </tr>
721
                 <tr>
751
                 <tr>
722
                    <td background="images/bg_login.gif" colspan=3>
752
                    <td background="images/bg_login.gif" colspan=3>
723
                       <table class="full_table">
753
                       <table class="full_table">
724
                          <tr>
754
                          <tr>
725
                             <td><%=ProgressBar()%></td>
755
                             <td><%=ProgressBar()%></td>
726
                             <td align="right">
756
                             <td align="right" >
727
                                <%
757
                                <%
728
                                Dim disableText : disableText = ""
758
                                Dim disableText : disableText = ""
729
                                If NOT (ReleasesAvailable(parProj_id) AND DaemonsAvailable(parRtag_id) AND NOT bPreventSubmit AND IsNull(sMessage)) Then
759
                                If NOT (ReleasesAvailable(parProj_id) AND DaemonsAvailable(parRtag_id) AND NOT bPreventSubmit AND IsNull(sMessage)) Then
730
                                    disableText = "disabled=""disabled"""
760
                                    disableText = "disabled=""disabled"""
731
                                End If
761
                                End If