Subversion Repositories DevTools

Rev

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

Rev 6788 Rev 6789
Line 15... Line 15...
15
'----------------------------------------------
15
'----------------------------------------------
16
'
16
'
17
'
17
'
18
'----------------------------------------------
18
'----------------------------------------------
19
%>
19
%>
-
 
20
<script language="JavaScript" type="text/JavaScript">
-
 
21
formTips.tips.h_buildTime       = stdTip(300, 'Est. Build Duration', 'Estimated build duration in seconds. Based simply on the last build duration for this package');
-
 
22
 
-
 
23
formTips.tips.h_buildLevel       = stdTip(300, 'Build Level', 'This is a mesaure of the distance between the current package and the dependent package.' +
-
 
24
                                                            '<p>It is not a build order - that is much more complex to calculate');
-
 
25
</script>
-
 
26
<script language="JavaScript" type="text/javascript">
-
 
27
	$(document).ready(function() {
-
 
28
		/* Init DataTables */
-
 
29
 
-
 
30
        table = $("#pkgDeps").DataTable({
-
 
31
            "paging":   false,
-
 
32
            "info":     true,
-
 
33
            dom: "rtif",
-
 
34
            ordering: true,
-
 
35
            order: [[ 1, "asc" ]],
-
 
36
            lengthChange : false,
-
 
37
 
-
 
38
            columns: [
-
 
39
               { width: "1%",  className: "dt-nowrap black",  orderable: false, searchable: false},
-
 
40
               { width: "1%",  className: "dt-nowrap black",  orderable: true, searchable: false},
-
 
41
               { width: "1%",  className: "dt-nowrap black"  },
-
 
42
               { width: "25%", className: "dt-nowrap black" },
-
 
43
               { width: "5%",  className: "dt-nowrap black" },
-
 
44
               { width: "50%", className: "dt-nowrap black", orderable: false, searchable: false },
-
 
45
               { width: "5%",  className: "dt-nowrap black", orderable: false, searchable: false },
-
 
46
           ],
-
 
47
        });
20
    <%
48
    });
-
 
49
</script>
-
 
50
 
21
    If pkgInfoHash.Exists("pv_id") Then
51
    <%If pkgInfoHash.Exists("pv_id") Then%>
22
    %>
-
 
23
    <%If Request("rtag_id") <> "" Then%>
52
    <%If Request("rtag_id") <> "" Then%>
24
     <br>
53
     <br>
25
     <span class="body_sect">Used by Packages In This Release - Complete list</span>
54
     <span class="body_sect">Used by Packages In This Release - Complete list</span>
26
     <br>
55
     <br>
27
     <!-- USED BY ALL ------------------------------------------------>
56
     <!-- USED BY ALL ------------------------------------------------>
28
     <table width="100%" border="0" cellspacing="1" cellpadding="3" class="etable">
57
     <table width="100%" border="0" cellspacing="1" cellpadding="3" class="etable" id="pkgDeps">
-
 
58
        <thead class="body_hcol">
29
        <tr class="body_col form_field_bg">
59
         <tr class="body_col form_field_bg">
30
           <th nowrap width="1%"  class="noCsv"></th>
60
           <th class="form_field nowrap noCsv"></th>
31
           <th nowrap width="1%"  class="form_field nowrap noCsv">Build<br>Level</th>
61
           <th class="form_field nowrap noCsv">Build<br>Level<%=Quick_Help("h_buildLevel")%></th>
32
           <th nowrap width="1%"  class="form_field nowrap">Name</th>
62
           <th class="form_field nowrap ">Name</th>
33
           <th nowrap width="25%" class="form_field nowrap">Version</th>
63
           <th class="form_field nowrap ">Version</th>
34
           <th nowrap width="5%"  class="form_field">Build<br>Time</th>
64
           <th class="form_field nowrap ">Build<br>Time<%=Quick_Help("h_buildTime")%></th>
35
           <th nowrap width="50%" class="form_field noCsv"></th>
65
           <th class="form_field nowrap noCsv"></th>
36
           <th nowrap width="5%"  class="form_field nowrap noCsv">Last Modified</th>
66
           <th class="form_field nowrap noCsv">Last Modified</th>
37
        </tr>
67
         </tr>
-
 
68
        </thead>
38
        <%
69
        <%
39
        OraDatabase.Parameters.Add "RTAG_ID", parRtag_id,                 ORAPARM_INPUT, ORATYPE_NUMBER
70
        OraDatabase.Parameters.Add "RTAG_ID", parRtag_id,                 ORAPARM_INPUT, ORATYPE_NUMBER
40
        OraDatabase.Parameters.Add "PV_ID",   pkgInfoHash.Item("pv_id"),  ORAPARM_INPUT, ORATYPE_NUMBER
71
        OraDatabase.Parameters.Add "PV_ID",   pkgInfoHash.Item("pv_id"),  ORAPARM_INPUT, ORATYPE_NUMBER
41
 
72
 
42
        Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("UsedByAllPackagesInThisRelease.sql"), cint(0))
73
        Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("UsedByAllPackagesInThisRelease.sql"), cint(0))
Line 73... Line 104...
73
              <td class="form_item_pad nowrap"><%=buildTime%></td>
104
              <td class="form_item_pad nowrap"><%=buildTime%></td>
74
              <td class="form_item_pad"></td>
105
              <td class="form_item_pad"></td>
75
              <td class="form_item_pad nowrap"><%=emailField(enum_imgUser & rsTemp("full_name"), rsTemp("user_email"))%>&nbsp;<%=DisplayDate ( rsTemp("modified_stamp") )%></td>
106
              <td class="form_item_pad nowrap"><%=emailField(enum_imgUser & rsTemp("full_name"), rsTemp("user_email"))%>&nbsp;<%=DisplayDate ( rsTemp("modified_stamp") )%></td>
76
           </tr>
107
           </tr>
77
           <%rsTemp.MoveNext
108
           <%rsTemp.MoveNext
78
        WEnd
109
        WEnd%>
79
        %>
110
        <tfoot>
80
           <tr class="form_item_pad form_field_grey_bg">
111
           <tr class="form_item_pad form_field_grey_bg">
81
              <td class="form_item_pad" nowrap colspan=4>Total Packages: <%=rsTemp.RecordCount%></td>
112
              <td class="form_item_pad" nowrap colspan=4>Total Packages: <%=rsTemp.RecordCount%></td>
82
              <td class="form_item_pad" nowrap colspan=3>Total Built Time <%=totalBuildTime%>&nbsp;[<%=NiceDuration(totalBuildTime)%>]
113
              <td class="form_item_pad" nowrap colspan=3>Total Built Time <%=totalBuildTime%>&nbsp;[<%=NiceDuration(totalBuildTime)%>]
83
                <%If bUnknown Then%>
114
                <%If bUnknown Then%>
84
                    <SPAN class="err_alert">&nbsp;Note:Some package build times not known</SPAN>
115
                    <SPAN class="err_alert">&nbsp;Note:Some package build times not known</SPAN>
85
                <%End If%>
116
                <%End If%>
86
              </td>
117
              </td>
87
           </tr>
118
           </tr>
-
 
119
         </tfoot>
88
     </table>
120
     </table>
89
    <%End If%>
121
    <%End If%>
90
    <%rsTemp.Close()%>
122
    <%rsTemp.Close()%>
91
    <%Set rsTemp = nothing%>
123
    <%Set rsTemp = nothing%>
92
    <!-- END - USED BY ALL -->
124
    <!-- END - USED BY ALL -->