Subversion Repositories DevTools

Rev

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

Rev 6707 Rev 6710
Line 114... Line 114...
114
       
114
       
115
       Set rsRep = OraDatabase.DbCreateDynaset( GetQuery("FindPackageVersion.sql") & rippleFilter, 0 )
115
       Set rsRep = OraDatabase.DbCreateDynaset( GetQuery("FindPackageVersion.sql") & rippleFilter, 0 )
116
       
116
       
117
       OraDatabase.Parameters.Remove "PKG_ID"
117
       OraDatabase.Parameters.Remove "PKG_ID"
118
       OraDatabase.Parameters.Remove "PKG_VERSION"
118
       OraDatabase.Parameters.Remove "PKG_VERSION"
119
       
-
 
120
       
-
 
121
       %>
119
       %>
122
       
120
       
-
 
121
       <form name="versions" method="get" action="<%=ScriptName%>">
-
 
122
         <input type="hidden" name="pkg_id" value="<%=parPkgId%>">
-
 
123
         <input type="hidden" name="listby" value="<%=parListBy%>">
123
       <table id="versionTable" width="100%"  border="0" cellspacing="1" cellpadding="2">
124
       <table id='versionTable' width="100%"  border="0" cellspacing="1" cellpadding="2">
124
           <thead>
125
           <thead>
125
             <tr>
126
             <tr>
126
               <td class="body_sect" colspan='11'>Package Versions</td>
127
               <td class="body_sect" colspan='11'>Package Versions</td>
127
             </tr>
128
             </tr>
128
             <tr class="form_field_bg">
129
             <tr class="form_field_bg">
129
               <td nowrap" class="body_txt" colspan='11'>
130
               <td nowrap" class="body_txt" colspan='11'>
130
                   Results for <b><%=PackageName%></b>
131
                   Results for <b><%=PackageName%></b>
131
               </td>
132
               </td>
132
             </tr>
133
             </tr>
133
           <form name="versions" method="get" action="<%=ScriptName%>">
-
 
134
             <input type="hidden" name="pkg_id" value="<%=parPkgId%>">
-
 
135
             <input type="hidden" name="listby" value="<%=parListBy%>">
-
 
136
            <tr class="form_field_bg">
134
            <tr class="form_field_bg">
137
               <td width="20px" nowrap class="body_col"></td>
135
               <td width="20px" nowrap class="body_col"></td>
138
               <td width="10%" nowrap class="body_col">Version</td>
136
               <td width="10%" nowrap class="body_col">Version</td>
139
               <td width="80%" nowrap class="body_col">Reason for Release</td>
137
               <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>
138
               <td width="1%" nowrap class="body_col tcenter" rowspan="2">Build<br>Reason</td>
Line 145... Line 143...
145
               <td width="10%" nowrap class="body_col tcenter" colspan="2">Last Modified</td>
143
               <td width="10%" nowrap class="body_col tcenter" colspan="2">Last Modified</td>
146
               <td width="21px" nowrap class="body_col"></td>
144
               <td width="21px" nowrap class="body_col"></td>
147
             </tr>
145
             </tr>
148
             <tr class="body_col form_field_bg">
146
             <tr class="body_col form_field_bg">
149
               <td nowrap ></td>
147
               <td nowrap ></td>
-
 
148
               <td nowrap >
150
               <td nowrap ><input name="fpkgversion" type="text" class="form_item" size="15" value="<%=parFPkgVersion%>"></td>
149
                    <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
                    <img class=top src="images/i_go2url.gif" onClick="submitForm(event);" title="Apply Filter">
-
 
151
               </td>
-
 
152
 
151
               <td nowrap >
153
               <td nowrap >
152
                 <%
154
                 <%
153
                 Response.write "<a href='"& scriptName &"?"& Persists_Query_String( "hideRipple=" & not hideRipple ) &"'>"
155
                 Response.write "<a href='"& scriptName &"?"& Persists_Query_String( "hideRipple=" & not hideRipple ) &"'>"
154
                     If hideRipple Then
156
                     If hideRipple Then
155
                       Response.write "<img src='images/RippleSquareOff.gif' width='20' height='20' border='0' title='Rippled Versions Hidden. Toggle'>"
157
                       Response.write "<img src='images/RippleSquareOff.gif' width='20' height='20' border='0' title='Rippled Versions Hidden. Toggle'>"
Line 169... Line 171...
169
           <%If rsRep.RecordCount = 0 Then%>
171
           <%If rsRep.RecordCount = 0 Then%>
170
               <tr>
172
               <tr>
171
                <td colspan='11' class='body_row'>
173
                <td colspan='11' class='body_row'>
172
                <%If hasNoVersions(parPkgId) Then %>
174
                <%If hasNoVersions(parPkgId) Then %>
173
                    This package name has no versions.
175
                    This package name has no versions.
174
                               <br><a href='javascript:;' title='Delete unused package name' onClick="MM_openVixIFrame('_delete_package_name.asp?pkgId=<%=parPkgId%>&bfile=index.asp','Delete Unused Package');" >Delete this name<img src='icons/i_destroy_package_sml.gif' width='15' height='15' border='0' align='absmiddle' hspace='2'></a>
176
                               <br><a href='javascript:;' title='Delete unused package name' onClick="MM_openVixIFrame('_delete_package_name.asp?pkgId=<%=parPkgId%>&bfile=index.asp','Delete Unused Package');" >Delete this package name<img src='icons/i_destroy_package_sml.gif' width='15' height='15' border='0' align='absmiddle' hspace='2'></a>
175
                <%Else%>
177
                <%Else%>
176
                    Found 0 records - with current filters.
178
                    Found 0 records - with current filters.
177
                <%End If%>
179
                <%End If%>
178
                </td>
180
                </td>
179
               </tr>
181
               </tr>
Line 256... Line 258...
256
             
258
             
257
             rsRep.Close()
259
             rsRep.Close()
258
             
260
             
259
           End If
261
           End If
260
             %>
262
             %>
261
         </form>
-
 
262
         </tbody>
263
         </tbody>
263
       </table>
264
       </table>
-
 
265
       </form>
264
       <br>
266
       <br>
265
       <!------------------------------------------------------------>         
267
       <!------------------------------------------------------------>         
266
       </td>
268
       </td>
267
     <td bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="500"></td>
269
     <td bgcolor="#FFFFFF"><img src="images/h_trsp_dot.gif" width="10" height="500"></td>
268
   </tr>
270
   </tr>
Line 286... Line 288...
286
      <!--#include file="_menu_def.asp"-->
288
      <!--#include file="_menu_def.asp"-->
287
      <script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
289
      <script language="JavaScript1.2" src="images/popup_menu.js?ver=<%=VixVerNum%>"></script>
288
      <script language="JavaScript" type="text/JavaScript">
290
      <script language="JavaScript" type="text/JavaScript">
289
      $(document).ready(function() {
291
      $(document).ready(function() {
290
 
292
 
-
 
293
        $.fn.dataTable.ext.errMode = 'none';
291
        $('#versionTable').DataTable({
294
        $('#versionTable').DataTable({
292
            "paging":   false,
295
            "paging":   false,
293
            "ordering": true,
296
            "ordering": true,
294
            "info":     true
297
            "info":     true,
295
            });
298
            });
296
 
299
 
297
        // Add Title to icons
300
        // Add Title to icons
298
        $('.destroyThis').prop('title', 'Destroy this version of the package.');
301
        $('.destroyThis').prop('title', 'Destroy this version of the package.');
299
 
302
 
Line 317... Line 320...
317
      //  Encode data into URL
320
      //  Encode data into URL
318
      function encodeData(data) {
321
      function encodeData(data) {
319
          return Object.keys(data).map(function(key) {
322
          return Object.keys(data).map(function(key) {
320
              return [key, data[key]].map(encodeURIComponent).join("=");
323
              return [key, data[key]].map(encodeURIComponent).join("=");
321
          }).join("&");
324
          }).join("&");
322
      } 
325
      };
-
 
326
      
-
 
327
      // Functions to support the suffix filter
-
 
328
      // Need to work against the dataTables sorting event capture
-
 
329
      function submitForm(event) {
-
 
330
          soakEvent(event);
-
 
331
          document.forms["versions"].submit();
-
 
332
      };
323
 
333
 
-
 
334
      function soakEvent(event) {
-
 
335
          event.stopImmediatePropagation();
324
      //# sourceURL=view_by_version.asp
336
          event.stopPropagation();
-
 
337
      }
325
      </script>
338
      </script>
326
   </head>
339
   </head>
327
   <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
340
   <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
328
      <!-- HEADER -->
341
      <!-- HEADER -->
329
      <!--#include file="_header.asp"-->
342
      <!--#include file="_header.asp"-->