Subversion Repositories DevTools

Rev

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

Rev 5560 Rev 5590
Line 506... Line 506...
506
         '  If an error has occured, then an error message will be displayed within the iframe
506
         '  If an error has occured, then an error message will be displayed within the iframe
507
         ' via the _msg_inline.asp processing when the page is re-displayed
507
         ' via the _msg_inline.asp processing when the page is re-displayed
508
         '
508
         '
509
         If objEH.Finally Then
509
         If objEH.Finally Then
510
            If parRfile = "admin_daemon_instructions.asp" Then
510
            If parRfile = "admin_daemon_instructions.asp" Then
511
               Call OpenInParentWindowFromIFrame (parRfile & "?sort=" & parSortOrder)
511
               Call OpenInParentWindow (parRfile & "?sort=" & parSortOrder)
512
            Else
512
            Else
513
               Call OpenInParentWindowFromIFrame (parRfile & "?rtag_id=" & parRtag_id & "&pv_id=" & parPv_id)
513
               Call OpenInParentWindow (parRfile & "?rtag_id=" & parRtag_id & "&pv_id=" & parPv_id)
514
            End If
514
            End If
-
 
515
            Call CloseWindow
515
         End If
516
         End If
516
       End If
517
       End If
517
    End If
518
    End If
518
End Sub
519
End Sub
519
%>
520
%>
Line 634... Line 635...
634
      <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
635
      <meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
635
      <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">
636
      <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">
637
      <script language="JavaScript" src="scripts/common.js"></script>
638
      <script language="JavaScript" src="scripts/common.js"></script>
638
      <script language="JavaScript" src="images/ts_picker.js"></script>
639
      <script language="JavaScript" src="images/ts_picker.js"></script>
639
      <!--#include file="_jquery_includes.asp"-->
-
 
640
      <script language="javascript">
-
 
641
        $(document).ready(function () {
-
 
642
            //  Cancel button must close this iFrame using a function provided by the parent
-
 
643
            $('#btn_cancel').on('click', function (e) {parent.closeIFrame()});
-
 
644
        });
-
 
645
      </script>
-
 
646
   </head>
640
   </head>
647
 
641
 
648
   <body background="images/bg_bage_0.gif" leftmargin="0" topmargin="0" >
642
   <body background="images/bg_bage_0.gif" leftmargin="0" topmargin="0" >
649
      <table class="full_table">
643
      <table class="full_table">
650
         <tr>
-
 
651
            <td bgcolor="#FFFFFF" class="body_txt">
-
 
652
                <span class="body_h1">
-
 
653
                    <img src="icons/i_linkarrow_black.gif" width="11" height="11" align="absmiddle">&nbsp;Add/Update Daemon Instruction
-
 
654
                </span>
-
 
655
                <br>Add a new Daemon Instruction or edit an existing Daemon Instruction.
-
 
656
            </td>
-
 
657
         </tr>
-
 
658
         <%
644
         <%
659
         '-- FROM START --------------------------------------------------------------------------------------------------------------
645
         '-- FROM START --------------------------------------------------------------------------------------------------------------
660
         objFormComponent.FormName = "DaemonInstruction"
646
         objFormComponent.FormName = "DaemonInstruction"
-
 
647
         objFormComponent.FormClass = "form_tight"
661
         objFormComponent.Action = ScriptName &_
648
         objFormComponent.Action = ScriptName &_
662
                                   "?inst_id="& parInst_id &_
649
                                   "?inst_id="& parInst_id &_
663
                                   "&op_code="& parOp_code &_
650
                                   "&op_code="& parOp_code &_
664
                                   "&proj_id="& parProj_id &_
651
                                   "&proj_id="& parProj_id &_
665
                                   "&rtag_id="& parRtag_id &_
652
                                   "&rtag_id="& parRtag_id &_
666
                                   "&pv_id="&   parPv_id &_
653
                                   "&pv_id="&   parPv_id &_
667
                                   "&sort="&    parSortOrder &_
654
                                   "&sort="&    parSortOrder &_
668
                                   "&rfile="& parRfile
655
                                   "&rfile="& parRfile
669
         objFormComponent.OnSubmit = "ShowProgress();"
656
         objFormComponent.OnSubmit = "ShowProgress();"
670
         Call objFormComponent.FormStart()
657
         Call objFormComponent.FormStart()
671
 
-
 
672
 
-
 
673
         %>
658
         %>
674
         <tr>
659
         <tr>
675
            <td background="images/bg_login.gif">
-
 
676
               <table class="full_table">
-
 
677
                  <tr>
-
 
678
                     <td><%=ProgressBar()%></td>
-
 
679
                  </tr>
-
 
680
               </table>
-
 
681
            </td>
-
 
682
         </tr>
-
 
683
         <tr>
-
 
684
            <td>
660
            <td>
685
               <!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++ -->
661
               <!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++ -->
686
               <%Call Messenger ( sMessage , sMessageType, "100%" )%>
662
               <%Call Messenger ( sMessage , sMessageType, "100%" )%>
687
               <!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
663
               <!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
688
               <!--#include file="messages/_msg_inline.asp"-->
664
               <!--#include file="messages/_msg_inline.asp"-->
Line 744... Line 720...
744
                  <%End If%>
720
                  <%End If%>
745
                 <tr>
721
                 <tr>
746
                    <td background="images/bg_login.gif" colspan=3>
722
                    <td background="images/bg_login.gif" colspan=3>
747
                       <table class="full_table">
723
                       <table class="full_table">
748
                          <tr>
724
                          <tr>
-
 
725
                             <td><%=ProgressBar()%></td>
749
                             <td align="right">
726
                             <td align="right">
750
                                <%
727
                                <%
751
                                Dim disableText : disableText = ""
728
                                Dim disableText : disableText = ""
752
                                If NOT (ReleasesAvailable(parProj_id) AND DaemonsAvailable(parRtag_id) AND NOT bPreventSubmit AND IsNull(sMessage)) Then
729
                                If NOT (ReleasesAvailable(parProj_id) AND DaemonsAvailable(parRtag_id) AND NOT bPreventSubmit AND IsNull(sMessage)) Then
753
                                    disableText = "disabled=""disabled"""
730
                                    disableText = "disabled=""disabled"""
754
                                End If
731
                                End If
755
                                %>
732
                                %>
756
                                <button name="btn" type="submit" <%=disableText%>>Add/Update</button>
733
                                <button name="btn" type="submit" <%=disableText%>>Add/Update</button>
757
                                <button name="btn" type="reset" id="btn_cancel">Cancel</button>
734
                                <button name="btn" type="reset" onclick="parent.closeIFrame();">Cancel</button>
758
                             </td>
735
                             </td>
759
                          </tr>
736
                          </tr>
760
                       </table>
737
                       </table>
761
                    </td>
738
                    </td>
762
                 </tr>
739
                 </tr>