Subversion Repositories DevTools

Rev

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

Rev 6788 Rev 6790
Line 40... Line 40...
40
         CanIgnoreWarnings = TRUE
40
         CanIgnoreWarnings = TRUE
41
      End If
41
      End If
42
   End If
42
   End If
43
 
43
 
44
   %>
44
   %>
45
   <table width="100%" border="0" cellspacing="1" cellpadding="3">
45
   <table width="100%" border="0" cellspacing="1" cellpadding="3" class="stdGrey">
46
      <form name="ignore_warnings" method="get" action="_ignore_warnings.asp" onSubmit="ProgressBar.style.visibility='visible';">
46
      <form name="ignore_warnings" method="get" action="_ignore_warnings.asp" onSubmit="ProgressBar.style.visibility='visible';">
-
 
47
          <thead>
47
         <tr class="body_col form_field_bg">
48
             <tr>
48
            <%If CanIgnoreWarnings Then%><td nowrap width="1%" class="form_field" align="center">Ignore<br>warnings</td><%End If%>
49
                <%If CanIgnoreWarnings Then%><th nowrap width="1%" align="center">Ignore<br>warnings</td><%End If%>
49
            <td nowrap width="1%" class="form_field"></td>
50
                <th nowrap width="1%"></td>
50
            <td nowrap width="1%" class="form_field">Name<br><img src="images/h_trsp_dot.gif" width="120" height="1"></td>
51
                <th nowrap width="1%">Name</td>
51
            <td nowrap width="1%" class="form_field"><%=imgPkgLockSpacer%>Version</td>
52
                <th nowrap width="1%"><%=imgPkgLockSpacer%>Version</td>
52
            <td nowrap width="100%" class="form_field"><%=imgPkgLockSpacer%>Released</td>
53
                <th nowrap width="100%"><%=imgPkgLockSpacer%>Released</td>
53
            <td nowrap width="1%" class="form_field" align="center">Last&nbsp;Modified</td>
54
                <th nowrap width="1%" align="center">Last&nbsp;Modified</td>
54
            <td nowrap width="1%" class="form_field"></td>
55
                <th nowrap width="1%"></td>
55
            <td nowrap width="1%" class="form_field">&nbsp;&nbsp;&nbsp;</td>
56
                <th nowrap width="1%">&nbsp;&nbsp;&nbsp;</td>
56
         </tr>
57
             </tr>
-
 
58
          </thead>
57
         <%' Display "no dependencies" if needed%>
59
         <%' Display "no dependencies" if needed%>
58
         <%If rsTemp.RecordCount = 0 Then%>
60
         <%If rsTemp.RecordCount = 0 Then%>
59
            <tr class="form_field_grey_bg">
61
            <tr>
60
               <%If CanIgnoreWarnings Then%><td>&nbsp;</td><%End If%>
62
               <%If CanIgnoreWarnings Then%><td>&nbsp;</td><%End If%>
61
               <td class="form_item">&nbsp;</td>
63
               <td>&nbsp;</td>
62
               <td class="form_item">&nbsp;</td>
64
               <td>&nbsp;</td>
63
               <td class="form_item">&nbsp;</td>
65
               <td>&nbsp;</td>
64
               <td class="form_item">&nbsp;</td>
66
               <td>&nbsp;</td>
65
               <td class="form_item">&nbsp;</td>
67
               <td>&nbsp;</td>
66
               <td class="form_item"></td>
68
               <td></td>
67
               <td class="form_item">&nbsp;</td>
69
               <td>&nbsp;</td>
68
            </tr>
70
            </tr>
69
            <%
71
            <%
70
            noDependencies = TRUE
72
            noDependencies = TRUE
71
         End If
73
         End If
72
         %>
74
         %>
Line 86... Line 88...
86
            Else
88
            Else
87
               workInProgress = ""
89
               workInProgress = ""
88
            End If
90
            End If
89
 
91
 
90
            %>
92
            %>
91
            <tr class="form_field_grey_bg">
93
            <tr>
92
               <%If CanIgnoreWarnings Then%>
94
               <%If CanIgnoreWarnings Then%>
93
					<td align="center" nowrap class=form_field_bg>
95
					<td align="center" nowrap class=>
94
						<input type="checkbox" name="forced" value="<%=rsTemp("ignore_dpv")%>" <%=Define_Ignore_State ( rsTemp("ignore_warn"), rsTemp("is_patch_ignore"), rsTemp("pkg_state"), rsTemp("latest_pkg_version"), rsTemp("dlocked") )%>>
96
						<input type="checkbox" name="forced" value="<%=rsTemp("ignore_dpv")%>" <%=Define_Ignore_State ( rsTemp("ignore_warn"), rsTemp("is_patch_ignore"), rsTemp("pkg_state"), rsTemp("latest_pkg_version"), rsTemp("dlocked") )%>>
95
					</td>
97
					</td>
96
			   <%End If%>
98
			   <%End If%>
97
               <td align="center" class="form_item">
99
               <td align="center">
98
				  <%=DefineStateIcon ( iif(rsTemp("pkg_state") <> 0,rsTemp("pkg_state"),rsTemp("deprecated_state")), rsTemp("dlocked"), rsTemp("ignore_warn"), rsTemp("is_patch_ignore"), pkgInfoHash.Item("build_type"), FALSE )%>
100
				  <%=DefineStateIcon ( iif(rsTemp("pkg_state") <> 0,rsTemp("pkg_state"),rsTemp("deprecated_state")), rsTemp("dlocked"), rsTemp("ignore_warn"), rsTemp("is_patch_ignore"), pkgInfoHash.Item("build_type"), FALSE )%>
99
               </td>
101
               </td>
100
               <td class="envPkg" nowrap><a href="<%=pkgURL%>" class="txt_linked"><%=rsTemp.Fields("dpkg_name")%></a></td>
102
               <td nowrap><a href="<%=pkgURL%>" class="txt_linked"><%=rsTemp.Fields("dpkg_name")%></a></td>
101
               <td class="form_item" nowrap><%If rsTemp("dlocked") = "Y" Then%><%=imgPkgLocked%><%Else%><%=imgPkgLockSpacer%><%End If%><%=rsTemp("dpkg_version")%></td>
103
               <td nowrap><%If rsTemp("dlocked") = "Y" Then%><%=imgPkgLocked%><%Else%><%=imgPkgLockSpacer%><%End If%><%=rsTemp("dpkg_version")%></td>
102
               <td <%If IsNull(rsTemp("ignore_warn")) Then%>class="sublbox_hitem"<%Else%>class="body_scol_thin"<%End If%>><%If rsTemp("latest_dlocked") = "Y" AND ( NOT IsNull(rsTemp("latest_pkg_version")) ) Then%><%=imgPkgLocked%><%Else%><%=imgPkgLockSpacer%><%End If%><%=rsTemp("latest_pkg_version")%></td>
104
               <td <%If IsNull(rsTemp("ignore_warn")) Then%>class="sublbox_hitem"<%Else%>class="body_scol_thin"<%End If%>><%If rsTemp("latest_dlocked") = "Y" AND ( NOT IsNull(rsTemp("latest_pkg_version")) ) Then%><%=imgPkgLocked%><%Else%><%=imgPkgLockSpacer%><%End If%><%=rsTemp("latest_pkg_version")%></td>
103
               <td class="form_item" nowrap><%If NOT IsNull(rsTemp.Fields("modifier_name")) Then%><%=emailField(workInProgress & rsTemp.Fields("modifier_name"), rsTemp.Fields("modifier_email"))%> on <%=DisplayDateTime ( rsTemp("modified_stamp")  )%><%End If%></td>
105
               <td nowrap><%If NOT IsNull(rsTemp.Fields("modifier_name")) Then%><%=emailField(workInProgress & rsTemp.Fields("modifier_name"), rsTemp.Fields("modifier_email"))%> on <%=DisplayDateTime ( rsTemp("modified_stamp")  )%><%End If%></td>
104
               <td class="form_item">
106
               <td>
105
                        <%If (NOT pkgInfoHash.Item("is_sdkpkg")) AND ((pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R")) Then%>
107
                        <%If (NOT pkgInfoHash.Item("is_sdkpkg")) AND ((pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R")) Then%>
106
                            <a href="_remove_build_dependency.asp?pv_id=<%=NNpv_id%>&dpv_id=<%=rsTemp("orig_pv_id")%>&rtag_id=<%=NNrtag_id%>" onClick="return vixConfirmDelete('this Build Dependency');"><img src="images/i_delete.gif" alt="Remove from list." width="13" height="12" hspace="3" border="0" title="Delete this package as a dependency"></a>
108
                            <a href="_remove_build_dependency.asp?pv_id=<%=NNpv_id%>&dpv_id=<%=rsTemp("orig_pv_id")%>&rtag_id=<%=NNrtag_id%>" onClick="return vixConfirmDelete('this Build Dependency');"><img src="images/i_delete.gif" alt="Remove from list." width="13" height="12" hspace="3" border="0" title="Delete this package as a dependency"></a>
107
                        <%Else%>
109
                        <%Else%>
108
                            <img src="images/i_delete_disable.gif" width="13" height="12" hspace="3" border="0" title="Delete this package as a dependency">
110
                            <img src="images/i_delete_disable.gif" width="13" height="12" hspace="3" border="0" title="Delete this package as a dependency">
109
                        <%End If%>
111
                        <%End If%>
110
               </td>
112
               </td>
111
               <td class="form_item">
113
               <td>
112
               <%If (NNrtag_id <> "") and ((CInt(rsTemp("pkg_state")) = enumPKG_NOT_FOUND) OR (CInt(rsTemp("pkg_state")) = enumPKG_SDK_DEPENDENCY)) Then%>
114
               <%If (NNrtag_id <> "") and ((CInt(rsTemp("pkg_state")) = enumPKG_NOT_FOUND) OR (CInt(rsTemp("pkg_state")) = enumPKG_SDK_DEPENDENCY)) Then%>
113
               <%
115
               <%
114
                 Dim sonclick
116
                 Dim sonclick
115
                 Dim surl
117
                 Dim surl
116
                 surl = "_wform_add_missing_dependency.asp" &_
118
                 surl = "_wform_add_missing_dependency.asp" &_
Line 130... Line 132...
130
            </tr>
132
            </tr>
131
            <%
133
            <%
132
            rsTemp.MoveNext
134
            rsTemp.MoveNext
133
         Loop
135
         Loop
134
         %>
136
         %>
135
        <tr>
137
        <tr class=blank>
136
            <%If noDependencies OR releaseIsClosed(ReleaseMode) Then%>
138
            <%If noDependencies OR releaseIsClosed(ReleaseMode) Then%>
137
               <td></td>
139
               <td></td>
-
 
140
            <%ElseIf CanIgnoreWarnings Then%>
-
 
141
                <td nowrap align="center" class="form_field_bg"><input name="Submit" type="submit" class="form_btn" id="Submit" value="Apply" ></td>
-
 
142
                <td></td>
138
            <%Else%>
143
            <%Else%>
139
               <%If CanIgnoreWarnings Then%><td nowrap align="center" class="form_field_bg"><input name="Submit" type="submit" class="form_btn" id="Submit" value="Apply" ></td><%End If%>
144
               <td></td>
140
            <%End If%>
145
            <%End If%>
141
            <td colspan="2" class="body_scol"><SPAN id="ProgressBar" name="ProgressBar" style="visibility:hidden;"><img src="images/i_processing.gif" width="11" height="17" align="absmiddle" hspace="3">Processing...</SPAN></td>
146
            <td colspan="2"><SPAN id="ProgressBar" name="ProgressBar" style="visibility:hidden;"><img src="images/i_processing.gif" width="11" height="17" align="absmiddle" hspace="3">Processing...</SPAN></td>
142
            <td><img src="images/spacer.gif" width="150" height="1"></td>
147
            <td><img src="images/spacer.gif" width="150" height="1"></td>
143
            <td></td>
148
            <td></td>
144
            <td></td>
149
            <td></td>
145
            <td></td>
150
            <td></td>
146
         </tr>
151
         </tr>
Line 167... Line 172...
167
   OraDatabase.Parameters.Add "PV_ID", NNpv_id, ORAPARM_INPUT
172
   OraDatabase.Parameters.Add "PV_ID", NNpv_id, ORAPARM_INPUT
168
   OraDatabase.Parameters("PV_ID").ServerType = ORATYPE_NUMBER
173
   OraDatabase.Parameters("PV_ID").ServerType = ORATYPE_NUMBER
169
 
174
 
170
   Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, 0 )%>
175
   Set rsTemp = OraDatabase.DbCreateDynaset( Query_String, 0 )%>
171
 
176
 
172
   <table width="100%" border="0" cellspacing="1" cellpadding="3">
177
   <table width="100%" border="0" cellspacing="1" cellpadding="3" class="stdGrey">
173
      <tr class="body_col form_field_bg">
178
       <thead>
-
 
179
          <tr>
174
         <td nowrap width="1%" class="form_field">Name<br><img src="images/h_trsp_dot.gif" width="120" height="1"></td>
180
             <th nowrap width="1%" >Name<br><img src="images/h_trsp_dot.gif" width="120" height="1"></td>
175
         <td nowrap width="100%" class="form_field"><%=imgPkgLockSpacer%>Version</td>
181
             <th nowrap width="100%" ><%=imgPkgLockSpacer%>Version</td>
176
         <td nowrap width="1%" class="form_field" align="center">Last&nbsp;Modified</td>
182
             <th nowrap width="1%" align="center">Last&nbsp;Modified</td>
177
         <td nowrap width="1%" class="form_field"></td>
183
             <th nowrap width="1%" ></td>
178
      </tr>
184
          </tr>
-
 
185
       </thead>
179
      <%' Display "no dependencies" if needed%>
186
      <%' Display "no dependencies" if needed%>
180
      <%If rsTemp.RecordCount = 0 Then%>
187
      <%If rsTemp.RecordCount = 0 Then%>
181
         <tr class="form_field_grey_bg">
188
         <tr>
182
            <td class="form_item">&nbsp;</td>
189
            <td>&nbsp;</td>
183
            <td class="form_item">&nbsp;</td>
190
            <td>&nbsp;</td>
184
            <td class="form_item">&nbsp;</td>
191
            <td>&nbsp;</td>
185
            <td class="form_item">&nbsp;</td>
192
            <td>&nbsp;</td>
186
         </tr>
193
         </tr>
187
         <%
194
         <%
188
         noDependencies = TRUE
195
         noDependencies = TRUE
189
      End If
196
      End If
190
      %>
197
      %>
Line 204... Line 211...
204
         Else
211
         Else
205
            workInProgress = ""
212
            workInProgress = ""
206
         End If
213
         End If
207
 
214
 
208
         %>
215
         %>
209
         <tr class="form_field_grey_bg">
216
         <tr>
210
            <td class="envPkg" nowrap><a href="<%=pkgURL%>" class="txt_linked"><%If rsTemp("is_patch") = "Y" Then%><%=PatchIcon ( rsTemp("is_patch"), rsTemp("is_obsolete") )%><%End If%><%=rsTemp.Fields("dpkg_name")%></a></td>
217
            <td nowrap><a href="<%=pkgURL%>" class="txt_linked"><%If rsTemp("is_patch") = "Y" Then%><%=PatchIcon ( rsTemp("is_patch"), rsTemp("is_obsolete") )%><%End If%><%=rsTemp.Fields("dpkg_name")%></a></td>
211
            <td class="form_item" nowrap><%If rsTemp("dlocked") = "Y" Then%><%=imgPkgLocked%><%Else%><%=imgPkgLockSpacer%><%End If%><%=rsTemp("dpkg_version")%></td>
218
            <td nowrap><%If rsTemp("dlocked") = "Y" Then%><%=imgPkgLocked%><%Else%><%=imgPkgLockSpacer%><%End If%><%=rsTemp("dpkg_version")%></td>
212
            <td class="form_item" nowrap><%If NOT IsNull(rsTemp.Fields("modifier_name")) Then%><%=emailField(workInProgress & rsTemp.Fields("modifier_name"), rsTemp.Fields("modifier_email"))%> on <%=DisplayDateTime ( rsTemp("modified_stamp") )%><%End If%></td>
219
            <td nowrap><%If NOT IsNull(rsTemp.Fields("modifier_name")) Then%><%=emailField(workInProgress & rsTemp.Fields("modifier_name"), rsTemp.Fields("modifier_email"))%> on <%=DisplayDateTime ( rsTemp("modified_stamp") )%><%End If%></td>
213
            <td class="form_item"><%If (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R") Then%><a href="_remove_build_dependency.asp?pv_id=<%=parPv_id%>&dpv_id=<%=rsTemp("orig_pv_id")%>&rtag_id=<%=parRtag_id%>" onClick="return confirmDelete('this Build Dependency');"><img src="images/i_delete.gif" alt="Remove from list." width="13" height="12" hspace="3" border="0"></a><%Else%><img src="images/i_delete_disable.gif" width="13" height="12" hspace="3" border="0"><%End If%></td>
220
            <td><%If (pkgInfoHash.Item ("dlocked") = "N") OR (pkgInfoHash.Item ("dlocked") = "R") Then%><a href="_remove_build_dependency.asp?pv_id=<%=parPv_id%>&dpv_id=<%=rsTemp("orig_pv_id")%>&rtag_id=<%=parRtag_id%>" onClick="return confirmDelete('this Build Dependency');"><img src="images/i_delete.gif" alt="Remove from list." width="13" height="12" hspace="3" border="0"></a><%Else%><img src="images/i_delete_disable.gif" width="13" height="12" hspace="3" border="0"><%End If%></td>
214
         </tr>
221
         </tr>
215
         <%
222
         <%
216
         rsTemp.MoveNext
223
         rsTemp.MoveNext
217
      Loop
224
      Loop
218
      %>
225
      %>
219
      <tr>
226
      <tr>
220
         <td colspan="2" class="body_scol"><SPAN id="ProgressBar" name="ProgressBar" style="visibility:hidden;"><img src="images/i_processing.gif" width="11" height="17" align="absmiddle" hspace="3">Processing...</SPAN></td>
227
         <td colspan="2" ><SPAN id="ProgressBar" name="ProgressBar" style="visibility:hidden;"><img src="images/i_processing.gif" width="11" height="17" align="absmiddle" hspace="3">Processing...</SPAN></td>
221
         <td></td>
-
 
222
         <td></td>
228
         <td></td>
223
         <td></td>
229
         <td></td>
224
      </tr>
230
      </tr>
225
   </table>
231
   </table>
226
   <%
232
   <%