| Line 68... |
Line 68... |
| 68 |
<!--
|
68 |
<!--
|
| 69 |
|
69 |
|
| 70 |
// This function is designed to be called when a user resets the in-progress value from YES back to NO
|
70 |
// This function is designed to be called when a user resets the in-progress value from YES back to NO
|
| 71 |
function reset_in_progress(instId)
|
71 |
function reset_in_progress(instId)
|
| 72 |
{
|
72 |
{
|
| 73 |
var proceed = false;
|
- |
|
| 74 |
var s;
|
- |
|
| 75 |
s = '_ResetDaemonInstruction.asp';
|
- |
|
| 76 |
s += '?inst_id=' + instId;
|
- |
|
| 77 |
|
- |
|
| 78 |
proceed = confirm('Are you sure you want to reset this instructions in-progress flag?\n\n' +
|
73 |
var msg = 'Are you sure you want to reset this instructions in-progress flag?' +
|
| 79 |
'You should ensure that the daemons are not operating upon this instruction first.\n\n' +
|
74 |
'<p>You should ensure that the daemons are not operating upon this instruction first.' +
|
| 80 |
'Check the scheduled date/time. Does it appear so far in the past that it is unlikely\n' +
|
75 |
'<p>Check the scheduled date/time. Does it appear so far in the past that it is unlikely' +
|
| 81 |
'a daemon is still undertaking the work for the instruction?\n\n' +
|
76 |
'<br>a daemon is still undertaking the work for the instruction?';
|
| 82 |
'Press OK to reset, otherwise press CANCEL\n\n' );
|
- |
|
| 83 |
|
77 |
|
| - |
|
78 |
vixConfirm (msg,{
|
| - |
|
79 |
title:'Reset In-Progress flag',
|
| - |
|
80 |
button: 'Reset Indication',
|
| 84 |
if (proceed == true) {
|
81 |
ok : function(){
|
| - |
|
82 |
var s = '_ResetDaemonInstruction.asp' + '?inst_id=' + instId;
|
| 85 |
document.location = s;
|
83 |
document.location = s;
|
| - |
|
84 |
}
|
| 86 |
}
|
85 |
});
|
| 87 |
}
|
86 |
}
|
| 88 |
//-->
|
87 |
//-->
|
| 89 |
</script>
|
88 |
</script>
|
| 90 |
|
89 |
|
| 91 |
<html>
|
90 |
<html>
|
| Line 94... |
Line 93... |
| 94 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
93 |
<link rel="shortcut icon" href="<%=FavIcon%>"/>
|
| 95 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
94 |
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
|
| 96 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
95 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
| 97 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
96 |
<link rel="stylesheet" href="images/release_manager_style.css" type="text/css">
|
| 98 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
97 |
<link rel="stylesheet" href="images/navigation.css" type="text/css">
|
| - |
|
98 |
<!-- TIPS -->
|
| - |
|
99 |
<script language="JavaScript" src="images/tipster.js"></script>
|
| - |
|
100 |
<script language="JavaScript" src="images/_help_tips.js"></script>
|
| 99 |
<script language="JavaScript" src="images/common.js"></script>
|
101 |
<script language="JavaScript" src="images/common.js"></script>
|
| 100 |
<!--#include file="_jquery_includes.asp"-->
|
102 |
<!--#include file="_jquery_includes.asp"-->
|
| 101 |
<!-- DROPDOWN MENUS -->
|
103 |
<!-- DROPDOWN MENUS -->
|
| 102 |
<!--#include file="_menu_def.asp"-->
|
104 |
<!--#include file="_menu_def.asp"-->
|
| 103 |
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
|
105 |
<script language="JavaScript1.2" src="images/popup_menu.js"></script>
|
| Line 161... |
Line 163... |
| 161 |
<td align="left" nowrap background="images/bg_table_col.gif" class="body_col">
|
163 |
<td align="left" nowrap background="images/bg_table_col.gif" class="body_col">
|
| 162 |
<a href='admin_daemon_instructions.asp?sort=4'>PACKAGE
|
164 |
<a href='admin_daemon_instructions.asp?sort=4'>PACKAGE
|
| 163 |
</td>
|
165 |
</td>
|
| 164 |
<td align="left" nowrap background="images/bg_table_col.gif" class="body_col">VERSION</td>
|
166 |
<td align="left" nowrap background="images/bg_table_col.gif" class="body_col">VERSION</td>
|
| 165 |
<td align="left" nowrap background="images/bg_table_col.gif" class="body_col">
|
167 |
<td align="left" nowrap background="images/bg_table_col.gif" class="body_col">
|
| 166 |
<a href='admin_daemon_instructions.asp?sort=0'>SCHEDULED TIME<br>(<SPAN style=color:Red>Red</SPAN> = overdue)<br>(<SPAN style=color:Green>Green</SPAN> = ready)</td>
|
168 |
<a href='admin_daemon_instructions.asp?sort=0'>SCHEDULED TIME<%=Quick_Help("SchedTime")%></td>
|
| 167 |
<td align="left" nowrap background="images/bg_table_col.gif" class="body_col">REPEAT</td>
|
169 |
<td align="left" nowrap background="images/bg_table_col.gif" class="body_col">REPEAT</td>
|
| 168 |
<td align="left" nowrap background="images/bg_table_col.gif" class="body_col">
|
170 |
<td align="left" nowrap background="images/bg_table_col.gif" class="body_col">
|
| 169 |
<a href='admin_daemon_instructions.asp?sort=5'>ADDED BY
|
171 |
<a href='admin_daemon_instructions.asp?sort=5'>ADDED BY
|
| 170 |
</td>
|
172 |
</td>
|
| 171 |
<td align="left" nowrap background="images/bg_table_col.gif" class="body_col">LAST<br>UPDATED</td>
|
173 |
<td align="left" nowrap background="images/bg_table_col.gif" class="body_col">LAST UPDATED</td>
|
| 172 |
<td align="left" nowrap background="images/bg_table_col.gif" class="body_col">
|
174 |
<td align="left" nowrap background="images/bg_table_col.gif" class="body_col">
|
| 173 |
<a href='admin_daemon_instructions.asp?sort=6'>IN<br>PROGRESS
|
175 |
<a href='admin_daemon_instructions.asp?sort=6'>IN PROGRESS
|
| 174 |
</td>
|
176 |
</td>
|
| 175 |
<td align="left" nowrap background="images/bg_table_col.gif" class="body_col">EDIT/DELETE</td>
|
177 |
<td align="left" nowrap background="images/bg_table_col.gif" class="body_col">EDIT/DELETE</td>
|
| 176 |
</tr>
|
178 |
</tr>
|
| 177 |
<tr>
|
179 |
<tr>
|
| 178 |
<td colspan="13" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
180 |
<td colspan="13" background="images/bg_table_border.gif"><img src="images/spacer.gif" width="1" height="1"></td>
|
| Line 296... |
Line 298... |
| 296 |
<tr>
|
298 |
<tr>
|
| 297 |
<input type="hidden" name="DAEMON_INSTRUCTIONS_ID_" & daemonInstId value=daemonInstId>
|
299 |
<input type="hidden" name="DAEMON_INSTRUCTIONS_ID_" & daemonInstId value=daemonInstId>
|
| 298 |
|
300 |
|
| 299 |
<td></td>
|
301 |
<td></td>
|
| 300 |
|
302 |
|
| 301 |
<td align="left" valign="top" class="body_txt">
|
303 |
<td nowrap align="left" valign="top" class="body_txt">
|
| 302 |
<%=DaemonInstructionOperationName(rsQry("OP_CODE"))%>
|
304 |
<%=DaemonInstructionOperationName(rsQry("OP_CODE"))%>
|
| 303 |
</td>
|
305 |
</td>
|
| 304 |
|
306 |
|
| 305 |
<td align="left" valign="top" class="body_txt">
|
307 |
<td nowrap align="left" valign="top" class="body_txt">
|
| 306 |
<%If rsQry("proj_id") <> "" Then%>
|
308 |
<%If rsQry("proj_id") <> "" Then%>
|
| 307 |
<a href='rtree.asp?proj_id=<%=rsQry("proj_id")%>'><%=rsQry("proj_name")%>
|
309 |
<a href='rtree.asp?proj_id=<%=rsQry("proj_id")%>'><%=rsQry("proj_name")%>
|
| 308 |
<%End If%>
|
310 |
<%End If%>
|
| 309 |
</td>
|
311 |
</td>
|
| 310 |
|
312 |
|
| 311 |
<td align="left" valign="top" class="body_txt">
|
313 |
<td nowrap align="left" valign="top" class="body_txt">
|
| 312 |
<%If rsQry("rtag_name") <> "" Then%>
|
314 |
<%If rsQry("rtag_name") <> "" Then%>
|
| 313 |
<a href='dependencies.asp?rtag_id=<%=rsQry("RTAG_ID")%>'><%=rsQry("rtag_name")%>
|
315 |
<a href='dependencies.asp?rtag_id=<%=rsQry("RTAG_ID")%>'><%=rsQry("rtag_name")%>
|
| 314 |
<%End If%>
|
316 |
<%End If%>
|
| 315 |
</td>
|
317 |
</td>
|
| 316 |
|
318 |
|
| 317 |
<td align="left" valign="top" class="body_txt">
|
319 |
<td nowrap align="left" valign="top" class="body_txt">
|
| 318 |
<%=Get_Official(rsQry("official"))%>
|
320 |
<%=Get_Official(rsQry("official"))%>
|
| 319 |
</td>
|
321 |
</td>
|
| 320 |
|
322 |
|
| 321 |
<td align="left" valign="top" class="body_txt">
|
323 |
<td nowrap align="left" valign="top" class="body_txt">
|
| 322 |
<%If (NOT IsNull(rsQry("PV_ID"))) AND (rsQry("PV_ID") <> "") Then%>
|
324 |
<%If (NOT IsNull(rsQry("PV_ID"))) AND (rsQry("PV_ID") <> "") Then%>
|
| 323 |
<a href='fixed_issues.asp?rtag_id=<%=rsQry("RTAG_ID")%>&pv_id=<%=rsQry("PV_ID")%>'><%=rsQry("pkg_name")%>
|
325 |
<a href='fixed_issues.asp?rtag_id=<%=rsQry("RTAG_ID")%>&pv_id=<%=rsQry("PV_ID")%>'><%=rsQry("pkg_name")%>
|
| 324 |
<%Else%>
|
326 |
<%Else%>
|
| 325 |
<%=rsQry("pkg_name")%>
|
327 |
<%=rsQry("pkg_name")%>
|
| 326 |
<%End If%>
|
328 |
<%End If%>
|
| 327 |
</td>
|
329 |
</td>
|
| 328 |
|
330 |
|
| 329 |
<td align="left" valign="top" class="body_txt">
|
331 |
<td nowrap align="left" valign="top" class="body_txt">
|
| 330 |
<%=rsQry("pkg_version")%>
|
332 |
<%=rsQry("pkg_version")%>
|
| 331 |
</td>
|
333 |
</td>
|
| 332 |
|
334 |
|
| 333 |
<td align="left" valign="top" class="body_txt" <%If bIsOverdue Then%>style=color:Red<%Elseif bIsReady Then%>style=color:Green<%End If%>><%=DisplayDateTime(rsQry("SCHEDULED_DATETIME"))%></td>
|
335 |
<td nowrap align="left" valign="top" class="body_txt" <%If bIsOverdue Then%>style=color:Red<%Elseif bIsReady Then%>style=color:Green<%End If%>><%=DisplayDateTime(rsQry("SCHEDULED_DATETIME"))%></td>
|
| 334 |
|
336 |
|
| 335 |
<td align="left" valign="top" class="body_txt"><%=DaemonInstructionRepeatString(rsQry("OP_CODE"), rsQry("REPEAT_SECS"))%></td>
|
337 |
<td nowrap align="left" valign="top" class="body_txt"><%=DaemonInstructionRepeatString(rsQry("OP_CODE"), rsQry("REPEAT_SECS"))%></td>
|
| 336 |
|
338 |
|
| 337 |
<td align="left" valign="top" class="body_txt">
|
339 |
<td nowrap align="left" valign="top" class="body_txt">
|
| 338 |
<%If rsQry("full_name") <> "" AND rsQry("user_email") <> "" Then%>
|
340 |
<%If rsQry("full_name") <> "" AND rsQry("user_email") <> "" Then%>
|
| 339 |
<a href='mailto:<%=rsQry("user_email")%>' title='<%=rsQry("user_email")%>' class="txt_linked"><%=rsQry("full_name")%></a>
|
341 |
<a href='mailto:<%=rsQry("user_email")%>' title='<%=rsQry("user_email")%>' class="txt_linked"><%=rsQry("full_name")%></a>
|
| 340 |
<%End If%>
|
342 |
<%End If%>
|
| 341 |
</td>
|
343 |
</td>
|
| 342 |
|
344 |
|
| 343 |
<td align="left" valign="top" class="body_txt">
|
345 |
<td nowrap align="left" valign="top" class="body_txt">
|
| 344 |
<%=DisplayDateTime(rsQry("ADDED_DATETIME"))%>
|
346 |
<%=DisplayDateTime(rsQry("ADDED_DATETIME"))%>
|
| 345 |
</td>
|
347 |
</td>
|
| 346 |
|
348 |
|
| 347 |
<td align="left" valign="top" class="body_txt">
|
349 |
<td nowrap align="left" valign="top" class="body_txt">
|
| 348 |
<%If bInProgress Then%>
|
350 |
<%If bInProgress Then%>
|
| 349 |
<%If bResetInProgressEnabled Then%>
|
351 |
<%If bResetInProgressEnabled Then%>
|
| 350 |
<img src="images/i_reset.gif" onclick="reset_in_progress(<%=daemonInstId%>);"></img>
|
352 |
<img src="images/i_reset.gif" onclick="reset_in_progress(<%=daemonInstId%>);"></img>
|
| 351 |
<%End If%>
|
353 |
<%End If%>
|
| 352 |
YES
|
354 |
YES
|
| 353 |
<%Else%>
|
355 |
<%Else%>
|
| 354 |
NO
|
356 |
NO
|
| 355 |
<%End If%>
|
357 |
<%End If%>
|
| 356 |
</td>
|
358 |
</td>
|
| 357 |
|
359 |
|
| 358 |
<td align="left" valign="top" class="body_txt">
|
360 |
<td nowrap align="left" valign="top" class="body_txt">
|
| 359 |
<%If UserCanAddOrEditThisDaemonInst(rsQry("proj_id"), rsQry("official"), rsQry("OP_CODE")) Then%>
|
361 |
<%If UserCanAddOrEditThisDaemonInst(rsQry("proj_id"), rsQry("official"), rsQry("OP_CODE")) Then%>
|
| 360 |
<%Call objBtnControl.Render ( Array("btnEditDaemonInst", "btnDeleteDaemonInst"), objAccessControl )%>
|
362 |
<%Call objBtnControl.Render ( Array("btnEditDaemonInst", "btnDeleteDaemonInst"), objAccessControl )%>
|
| 361 |
<%ElseIf rsQry("USER_ID") = objAccessControl.UserId Then %>
|
363 |
<%ElseIf rsQry("USER_ID") = objAccessControl.UserId Then %>
|
| 362 |
<%Call objBtnControl.Render ( Array("btnDeleteDaemonInst"), objAccessControl )%>
|
364 |
<%Call objBtnControl.Render ( Array("btnDeleteDaemonInst"), objAccessControl )%>
|
| 363 |
<%Else%>
|
365 |
<%Else%>
|