| Line 123... |
Line 123... |
| 123 |
<input type="hidden" name="pkg_id" value="<%=parPkgId%>">
|
123 |
<input type="hidden" name="pkg_id" value="<%=parPkgId%>">
|
| 124 |
<input type="hidden" name="listby" value="<%=parListBy%>">
|
124 |
<input type="hidden" name="listby" value="<%=parListBy%>">
|
| 125 |
<table id='versionTable' width="100%" border="0" cellspacing="1" cellpadding="2">
|
125 |
<table id='versionTable' width="100%" border="0" cellspacing="1" cellpadding="2">
|
| 126 |
<thead>
|
126 |
<thead>
|
| 127 |
<tr>
|
127 |
<tr>
|
| 128 |
<td class="body_sect" colspan='12'>Package Versions</td>
|
128 |
<td class="body_sect" colspan='11'>Package Versions</td>
|
| 129 |
</tr>
|
129 |
</tr>
|
| 130 |
<tr class="form_field_bg">
|
130 |
<tr class="form_field_bg">
|
| 131 |
<td nowrap" class="body_txt" colspan='12'>
|
131 |
<td nowrap" class="body_txt" colspan='11'>
|
| 132 |
Results for <b><%=PackageName%></b>
|
132 |
Results for <b><%=PackageName%></b>
|
| 133 |
</td>
|
133 |
</td>
|
| 134 |
</tr>
|
134 |
</tr>
|
| 135 |
<tr class="form_field_bg">
|
135 |
<tr class="form_field_bg">
|
| 136 |
<td width="20px" nowrap class="body_col"></td>
|
136 |
<td width="20px" nowrap class="body_col"></td>
|
| 137 |
<td width="20px" nowrap class="body_col"></td>
|
- |
|
| 138 |
<td width="10%" nowrap class="body_col">Version</td>
|
137 |
<td width="10%" nowrap class="body_col">Version</td>
|
| 139 |
<td width="80%" nowrap class="body_col">Reason for Release</td>
|
138 |
<td width="80%" nowrap class="body_col">Reason for Release</td>
|
| 140 |
<td width="1%" nowrap class="body_col tcenter" rowspan="2">Build<br>Reason</td>
|
139 |
<td width="1%" nowrap class="body_col tcenter" rowspan="2">Build<br>Reason</td>
|
| 141 |
<td width="1%" nowrap class="body_col tcenter" rowspan="2">Lines of<br>Code</td>
|
140 |
<td width="1%" nowrap class="body_col tcenter" rowspan="2">Lines of<br>Code</td>
|
| 142 |
<td width="1%" nowrap class="body_col tcenter" rowspan="2">Auto<br>Tests</td>
|
141 |
<td width="1%" nowrap class="body_col tcenter" rowspan="2">Auto<br>Tests</td>
|
| Line 145... |
Line 144... |
| 145 |
<td width="10%" nowrap class="body_col tcenter" colspan="2">Last Modified</td>
|
144 |
<td width="10%" nowrap class="body_col tcenter" colspan="2">Last Modified</td>
|
| 146 |
<td width="21px" nowrap class="body_col"></td>
|
145 |
<td width="21px" nowrap class="body_col"></td>
|
| 147 |
</tr>
|
146 |
</tr>
|
| 148 |
<tr class="body_col form_field_bg">
|
147 |
<tr class="body_col form_field_bg">
|
| 149 |
<td nowrap ></td>
|
148 |
<td nowrap ></td>
|
| 150 |
<td nowrap ></td>
|
- |
|
| 151 |
<td nowrap >
|
149 |
<td nowrap >
|
| 152 |
<input name="fpkgversion" type="text" class="form_item" size="15" value="<%=parFPkgVersion%>" style="border-right: 0px;" onClick="soakEvent(event);" onKeyPress="if(event.keyCode==13) submitForm(event);">
|
150 |
<input name="fpkgversion" type="text" class="form_item" size="15" value="<%=parFPkgVersion%>" style="border-right: 0px;" onClick="soakEvent(event);" onKeyPress="if(event.keyCode==13) submitForm(event);">
|
| 153 |
<img class=top src="images/i_go2url.gif" onClick="submitForm(event);" title="Apply Filter">
|
151 |
<img class=top src="images/i_go2url.gif" onClick="submitForm(event);" title="Apply Filter">
|
| 154 |
</td>
|
152 |
</td>
|
| 155 |
|
153 |
|
| Line 265... |
Line 263... |
| 265 |
pulseImg = "src='images/s_warning.gif'"
|
263 |
pulseImg = "src='images/s_warning.gif'"
|
| 266 |
End If
|
264 |
End If
|
| 267 |
If pulseImg <> "" Then
|
265 |
If pulseImg <> "" Then
|
| 268 |
pulseTxt ="<img "&pulseImg&" hspace='2' align='absmiddle' border='0' >"
|
266 |
pulseTxt ="<img "&pulseImg&" hspace='2' align='absmiddle' border='0' >"
|
| 269 |
End If
|
267 |
End If
|
| 270 |
|
- |
|
| 271 |
Dim PulseMarkStyle : PulseMarkStyle = ""
|
- |
|
| 272 |
If CLng(aVersions( rsRep.FieldIndex("pv_id"), i )) > 1150630 Then
|
- |
|
| 273 |
PulseMarkStyle = "style='background-color: #f5d5f7;'"
|
- |
|
| 274 |
End If
|
- |
|
| 275 |
|
- |
|
| 276 |
%>
|
268 |
%>
|
| 277 |
<tr data-pvid='<%=aVersions( rsRep.FieldIndex("pv_id"), i )%>' valign="top" class="body_row form_field_grey_bg">
|
269 |
<tr data-pvid='<%=aVersions( rsRep.FieldIndex("pv_id"), i )%>' valign="top" class="body_row form_field_grey_bg">
|
| 278 |
<td class='pulseInsert' <%=PulseMarkStyle%> ><%=pulseTxt%></td>
|
- |
|
| 279 |
<td data-order='<%=imgData%>'><%=imgLock%></td>
|
270 |
<td data-order='<%=imgData%>'><%=imgLock%></td>
|
| 280 |
<td data-order='<%=i%>' nowrap><a name="<%=aVersions( rsRep.FieldIndex("pv_id"), i )%>" href="<%=sLink%>" class="body_link"><%=aVersions( rsRep.FieldIndex("pkg_version"), i )%></a></td>
|
271 |
<td data-order='<%=i%>' nowrap><a name="<%=aVersions( rsRep.FieldIndex("pv_id"), i )%>" href="<%=sLink%>" class="body_link"><%=aVersions( rsRep.FieldIndex("pkg_version"), i )%></a></td>
|
| 281 |
<td class="body_txt_gray"><%=NewLine_To_BR ( To_HTML( aVersions( rsRep.FieldIndex("comments"), i ) ) )%></td>
|
272 |
<td class="body_txt_gray"><%=NewLine_To_BR ( To_HTML( aVersions( rsRep.FieldIndex("comments"), i ) ) )%></td>
|
| 282 |
<td nowrap><%=aVersions( rsRep.FieldIndex("reason"), i )%></td>
|
273 |
<td nowrap><%=aVersions( rsRep.FieldIndex("reason"), i )%></td>
|
| 283 |
<td nowrap class='tright'><%=aVersions( rsRep.FieldIndex("code_lines"), i )%></td>
|
274 |
<td nowrap class='tright'><%=aVersions( rsRep.FieldIndex("code_lines"), i )%></td>
|
| Line 329... |
Line 320... |
| 329 |
$.fn.dataTable.ext.errMode = 'none';
|
320 |
$.fn.dataTable.ext.errMode = 'none';
|
| 330 |
$('#versionTable').DataTable({
|
321 |
$('#versionTable').DataTable({
|
| 331 |
"paging": false,
|
322 |
"paging": false,
|
| 332 |
"ordering": true,
|
323 |
"ordering": true,
|
| 333 |
"info": true,
|
324 |
"info": true,
|
| 334 |
"order" : [[2,"desc"]]
|
325 |
"order" : [[1,"desc"]]
|
| 335 |
});
|
326 |
});
|
| 336 |
|
327 |
|
| 337 |
// Add Title to icons
|
328 |
// Add Title to icons
|
| 338 |
$('.destroyThis').prop('title', 'Destroy this version of the package.');
|
329 |
$('.destroyThis').prop('title', 'Destroy this version of the package.');
|
| 339 |
|
330 |
|
| Line 351... |
Line 342... |
| 351 |
};
|
342 |
};
|
| 352 |
MM_openVixIFrame('_destroy_package.asp?' + encodeData(data), 'Destroy Package Version');
|
343 |
MM_openVixIFrame('_destroy_package.asp?' + encodeData(data), 'Destroy Package Version');
|
| 353 |
}
|
344 |
}
|
| 354 |
});
|
345 |
});
|
| 355 |
|
346 |
|
| 356 |
// (Temp)Pulse package insertion point handling
|
- |
|
| 357 |
// Add Title to icons
|
- |
|
| 358 |
$('.pulseInsert').prop('title', 'Toggle the Pulse package migration insertion point.');
|
- |
|
| 359 |
$('.pulseInsert').on( "click", function(event) {
|
- |
|
| 360 |
var pvid = $(this).closest('tr').data('pvid');
|
- |
|
| 361 |
if (pvid) {
|
- |
|
| 362 |
var data = {
|
- |
|
| 363 |
pv_id : pvid,
|
- |
|
| 364 |
bfile : "<%=ScriptName%>",
|
- |
|
| 365 |
pkg_id : "<%=parPkgId%>",
|
- |
|
| 366 |
listby : "1",
|
- |
|
| 367 |
fpkgversion : "<%=parFPkgVersion%>",
|
- |
|
| 368 |
hideRipple : "<%=hideRipple%>",
|
- |
|
| 369 |
};
|
- |
|
| 370 |
MM_openVixIFrame('_pulseImport.asp?' + encodeData(data), 'Toggle Packge Insertion Point');
|
- |
|
| 371 |
}
|
- |
|
| 372 |
});
|
- |
|
| 373 |
|
- |
|
| 374 |
});
|
347 |
});
|
| 375 |
|
348 |
|
| 376 |
// Encode data into URL
|
349 |
// Encode data into URL
|
| 377 |
function encodeData(data) {
|
350 |
function encodeData(data) {
|
| 378 |
return Object.keys(data).map(function(key) {
|
351 |
return Object.keys(data).map(function(key) {
|