| Line 1... |
Line 1... |
| 1 |
<%@LANGUAGE="VBSCRIPT"%>
|
1 |
<%@LANGUAGE="VBSCRIPT"%>
|
| 2 |
<%
|
2 |
<%
|
| 3 |
'=====================================================
|
3 |
'=====================================================
|
| 4 |
'|
|
4 |
'|
|
| 5 |
'| wAddDaemonInstruction.asp
|
5 |
'| wAddDaemonInstructionSimple.asp
|
| 6 |
'| Either ripple or test-build the current package
|
6 |
'| Either ripple or test-build the current package
|
| 7 |
'| This window has few options
|
7 |
'| This window has few options
|
| 8 |
'|
|
8 |
'|
|
| 9 |
'=====================================================
|
9 |
'=====================================================
|
| 10 |
%>
|
10 |
%>
|
| Line 29... |
Line 29... |
| 29 |
Dim sMessage, sMessageType
|
29 |
Dim sMessage, sMessageType
|
| 30 |
Dim parPv_id
|
30 |
Dim parPv_id
|
| 31 |
Dim parOp_code
|
31 |
Dim parOp_code
|
| 32 |
Dim parRfile
|
32 |
Dim parRfile
|
| 33 |
Dim bPreventSubmit
|
33 |
Dim bPreventSubmit
|
| 34 |
Dim ripplePresent, rippleDisable, rippleChecked
|
34 |
Dim ripplePresent, rippleDisable
|
| 35 |
Dim testPresent, testDisable, testChecked
|
35 |
Dim testPresent, testDisable, testChecked
|
| 36 |
|
36 |
|
| 37 |
'------------ CONSTANTS DECLARATION -----------
|
37 |
'------------ CONSTANTS DECLARATION -----------
|
| 38 |
|
38 |
|
| 39 |
|
39 |
|
| Line 132... |
Line 132... |
| 132 |
CStr(RepeatSeconds) & ", " &_
|
132 |
CStr(RepeatSeconds) & ", " &_
|
| 133 |
ORA_SYSDATETIME & ", " &_
|
133 |
ORA_SYSDATETIME & ", " &_
|
| 134 |
objAccessControl.UserId & "); END;"
|
134 |
objAccessControl.UserId & "); END;"
|
| 135 |
objEH.CatchORA ( OraSession )
|
135 |
objEH.CatchORA ( OraSession )
|
| 136 |
If objEH.Finally Then
|
136 |
If objEH.Finally Then
|
| 137 |
Call OpenInParentWindowFromIFrame (parRfile & "?rtag_id=" & parRtag_id & "&pv_id=" & parPv_id)
|
137 |
Call OpenInParentWindow (parRfile & "?rtag_id=" & parRtag_id & "&pv_id=" & parPv_id)
|
| 138 |
Response.End
|
138 |
Response.End
|
| 139 |
End If
|
139 |
End If
|
| 140 |
Else
|
140 |
Else
|
| 141 |
sMessage = "Invalid Request."
|
141 |
sMessage = "Invalid Request."
|
| 142 |
sMessageType = 1
|
142 |
sMessageType = 1
|
| Line 153... |
Line 153... |
| 153 |
ripplePresent = DaemonInstructionPresent(parRtag_id, parPv_id, 0 )
|
153 |
ripplePresent = DaemonInstructionPresent(parRtag_id, parPv_id, 0 )
|
| 154 |
|
154 |
|
| 155 |
If ripplePresent Then
|
155 |
If ripplePresent Then
|
| 156 |
rippleDisable = " disabled"
|
156 |
rippleDisable = " disabled"
|
| 157 |
sMessageAdd "Ripple Instruction already present"
|
157 |
sMessageAdd "Ripple Instruction already present"
|
| 158 |
Else
|
- |
|
| 159 |
rippleChecked = " checked"
|
- |
|
| 160 |
End If
|
158 |
End If
|
| 161 |
|
159 |
|
| 162 |
If testPresent Then
|
160 |
If testPresent Then
|
| 163 |
testDisable = " disabled"
|
161 |
testDisable = " disabled"
|
| 164 |
sMessageAdd "Test Instruction already present"
|
162 |
sMessageAdd "Test Instruction already present"
|
| Line 178... |
Line 176... |
| 178 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
176 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
| 179 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
177 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
| 180 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
178 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| 181 |
<link href="images/release_manager_style.css" rel="stylesheet" type="text/css">
|
179 |
<link href="images/release_manager_style.css" rel="stylesheet" type="text/css">
|
| 182 |
<script language="JavaScript" src="scripts/common.js"></script>
|
180 |
<script language="JavaScript" src="scripts/common.js"></script>
|
| 183 |
<!--#include file="_jquery_includes.asp"-->
|
- |
|
| 184 |
<script language="javascript">
|
- |
|
| 185 |
$(document).ready(function () {
|
- |
|
| 186 |
// Cancel button must close this iFrame using a function provided by the parent
|
- |
|
| 187 |
$('#btn_cancel').on('click', function (e) {parent.closeIFrame()});
|
- |
|
| 188 |
});
|
- |
|
| 189 |
|
- |
|
| 190 |
</script>
|
- |
|
| 191 |
</head>
|
181 |
</head>
|
| 192 |
|
182 |
|
| 193 |
<body background="images/bg_bage_0.gif" leftmargin="0" topmargin="0">
|
183 |
<body leftmargin="0" topmargin="0">
|
| 194 |
<table width="600px" border="0" cellspacing="0" cellpadding="10">
|
184 |
<table width="600px" border="0" cellspacing="0" cellpadding="5">
|
| 195 |
<tr>
|
- |
|
| 196 |
<td bgcolor="#FFFFFF" class="body_txt">
|
- |
|
| 197 |
<span class="body_h1">
|
- |
|
| 198 |
<img src="icons/i_linkarrow_black.gif" width="11" height="11" align="absmiddle">
|
- |
|
| 199 |
Ripple or Test Build current Package
|
- |
|
| 200 |
</span>
|
- |
|
| 201 |
<br>Add a new Daemon Instruction to Ripple or Test Build current Package
|
- |
|
| 202 |
</td>
|
- |
|
| 203 |
</tr>
|
- |
|
| 204 |
<%
|
185 |
<%
|
| 205 |
'-- FROM START --------------------------------------------------------------------------------------------------------------
|
186 |
'-- FROM START --------------------------------------------------------------------------------------------------------------
|
| 206 |
objFormComponent.FormName = "DaemonInstruction"
|
187 |
objFormComponent.FormName = "DaemonInstruction"
|
| - |
|
188 |
objFormComponent.FormClass = "form_tight"
|
| 207 |
objFormComponent.Action = ScriptName &_
|
189 |
objFormComponent.Action = ScriptName &_
|
| 208 |
"?proj_id="& DB_PROJ_ID &_
|
190 |
"?proj_id="& DB_PROJ_ID &_
|
| 209 |
"&rtag_id="& parRtag_id &_
|
191 |
"&rtag_id="& parRtag_id &_
|
| 210 |
"&pv_id=" & parPv_id &_
|
192 |
"&pv_id=" & parPv_id &_
|
| 211 |
"&rfile=" & parRfile
|
193 |
"&rfile=" & parRfile
|
| 212 |
objFormComponent.OnSubmit = "ShowProgress();"
|
194 |
objFormComponent.OnSubmit = "ShowProgress();"
|
| 213 |
Call objFormComponent.FormStart()
|
195 |
Call objFormComponent.FormStart()
|
| 214 |
|
- |
|
| 215 |
|
- |
|
| 216 |
%>
|
196 |
%>
|
| 217 |
<tr>
|
197 |
<tr>
|
| 218 |
<td background="images/bg_login.gif">
|
- |
|
| 219 |
<table class="full_table">
|
- |
|
| 220 |
<tr>
|
- |
|
| 221 |
<td><%=ProgressBar()%></td>
|
- |
|
| 222 |
</tr>
|
- |
|
| 223 |
</table>
|
- |
|
| 224 |
</td>
|
- |
|
| 225 |
</tr>
|
- |
|
| 226 |
<tr>
|
- |
|
| 227 |
<td>
|
198 |
<td>
|
| 228 |
<!-- MESSAGE ++++++++++++++++++++++++++++++++++++++++++++++ -->
|
199 |
<!-- MESSAGE ++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 229 |
<%Call Messenger ( sMessage , sMessageType, "100%" )%>
|
200 |
<%Call Messenger ( sMessage , sMessageType, "100%" )%>
|
| 230 |
<!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
201 |
<!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
|
| 231 |
<!--#include file="messages/_msg_inline.asp"-->
|
202 |
<!--#include file="messages/_msg_inline.asp"-->
|
| 232 |
<table class="full_table form_item">
|
203 |
<table class="full_table form_item form_field_bg" style="padding: 5;">
|
| 233 |
<tr>
|
204 |
<tr>
|
| 234 |
<td class="nowrap form_align" >
|
205 |
<td class="nowrap form_align" >
|
| 235 |
<input type="radio" name="op_code" value="0" <%=rippleChecked%><%=rippleDisable%>>
|
206 |
<input type="radio" name="op_code" value="0" <%=rippleDisable%>> Ripple the current package.
|
| 236 |
Ripple the current package.
|
- |
|
| 237 |
<td>This will cause a new package version to be created.<br>All packages that depend on this package will also be rippled.
|
207 |
<td>This will cause a new package version to be created.<br>All packages that depend on this package will also be rippled.
|
| 238 |
</tr>
|
208 |
</tr>
|
| 239 |
<tr>
|
209 |
<tr>
|
| 240 |
<td colspan=2><hr width=80%>
|
210 |
<td colspan=2><hr width=80%>
|
| 241 |
</tr>
|
211 |
</tr>
|
| 242 |
<tr>
|
212 |
<tr>
|
| 243 |
<td class="nowrap form_align">
|
213 |
<td class="nowrap form_align">
|
| 244 |
<input type="radio" name="op_code" value="1" <%=testChecked%><%=testDisable%>>
|
214 |
<input type="radio" name="op_code" value="1" <%=testChecked%><%=testDisable%>> Test Build the current package.
|
| 245 |
Test Build the current package.
|
- |
|
| 246 |
<td>No new version will be created, nor will a build ripple be propagated.<br>This will simply ensure that the current package can be built with<br>the current build machine configuration.
|
215 |
<td>No new version will be created, nor will a build ripple be propagated.<br>This will simply ensure that the current package can be built with<br>the current build machine configuration.
|
| 247 |
</tr>
|
216 |
</tr>
|
| 248 |
<tr>
|
- |
|
| 249 |
<td align="right" colspan=2 class=top_border background="images/bg_login.gif">
|
- |
|
| 250 |
<p> <p>
|
- |
|
| 251 |
<%
|
- |
|
| 252 |
Dim disableText : disableText = ""
|
- |
|
| 253 |
If NOT (DaemonsAvailable(parRtag_id) AND NOT bPreventSubmit) Then
|
- |
|
| 254 |
disableText = "disabled=""disabled"""
|
- |
|
| 255 |
End If
|
- |
|
| 256 |
%>
|
- |
|
| 257 |
<button name="btn" type="submit" <%=disableText%> >Add/Update</button>
|
- |
|
| 258 |
<button name="btn" type="reset" id="btn_cancel">Cancel</button>
|
- |
|
| 259 |
</tr>
|
- |
|
| 260 |
<tr>
|
- |
|
| 261 |
<td>
|
- |
|
| 262 |
<input type="hidden" id="rtag_id" name="rtag_id" value="<%=parRtag_id%>">
|
- |
|
| 263 |
<input type="hidden" id="pv_id" name="pv_id" value="<%=parPv_id%>">
|
- |
|
| 264 |
<input type="hidden" id="rfile" name="rfile" value="<%=parRfile%>">
|
- |
|
| 265 |
</td>
|
- |
|
| 266 |
</tr>
|
- |
|
| 267 |
</table>
|
217 |
</table>
|
| 268 |
</td>
|
218 |
</td>
|
| - |
|
219 |
<%
|
| - |
|
220 |
Dim disableText : disableText = ""
|
| - |
|
221 |
If NOT (DaemonsAvailable(parRtag_id) AND NOT bPreventSubmit) Then
|
| - |
|
222 |
disableText = "disabled=""disabled"""
|
| - |
|
223 |
End If
|
| - |
|
224 |
%>
|
| - |
|
225 |
<tr>
|
| - |
|
226 |
<td>
|
| - |
|
227 |
<span style="float:left"><%=ProgressBar()%></span>
|
| - |
|
228 |
<button name="btn" style="float:right" type="reset" onclick="parent.closeIFrame();">Cancel</button>
|
| - |
|
229 |
<button name="btn" style="float:right;margin-right: 5px;" type="submit" <%=disableText%> >Add/Update</button>
|
| 269 |
</tr>
|
230 |
</tr>
|
| 270 |
<%=objPMod.ComposeHiddenTags()%>
|
231 |
<%=objPMod.ComposeHiddenTags()%>
|
| 271 |
<input type="hidden" name="action" value="true">
|
232 |
<input type="hidden" name="action" value="true">
|
| 272 |
|
- |
|
| - |
|
233 |
<input type="hidden" id="rtag_id" name="rtag_id" value="<%=parRtag_id%>">
|
| - |
|
234 |
<input type="hidden" id="pv_id" name="pv_id" value="<%=parPv_id%>">
|
| - |
|
235 |
<input type="hidden" id="rfile" name="rfile" value="<%=parRfile%>">
|
| 273 |
<%
|
236 |
<%
|
| 274 |
Call objFormComponent.FormEnd()
|
237 |
Call objFormComponent.FormEnd()
|
| 275 |
'-- FROM END ----------------------------------------------------------------------------------------------------------------
|
238 |
'-- FROM END ----------------------------------------------------------------------------------------------------------------
|
| 276 |
%>
|
239 |
%>
|
| 277 |
</table>
|
240 |
</table>
|