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">All packages that this package depends on - Complete list</span>
54
     <span class="body_sect">All packages that this package depends on - Complete list</span>
26
     <br>
55
     <br>
27
     <!-- DEPENDS ON ALL ------------------------------------------------>
56
     <!-- DEPENDS ON 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">
29
        <tr class="body_col form_field_bg">
58
        <thead class="body_hcol">
-
 
59
         <tr>
30
           <th nowrap width="1%"  class="noCsv"></th>
60
           <th class="noCsv"></th>
31
           <th nowrap width="1%"  class="form_field nowrap noCsv">Build<br>Level</th>
61
           <th class="noCsv form_field ">Build<br>Level<%=Quick_Help("h_buildLevel")%></th>
32
           <th nowrap width="1%"  class="form_field nowrap">Name</th>
62
           <th class="form_field ">Name</th>
33
           <th nowrap width="25%" class="form_field nowrap">Version</th>
63
           <th class="form_field ">Version</th>
34
           <th nowrap width="5%"  class="form_field">Build<br>Time</th>
64
           <th class="form_field ">Build<br>Time<%=Quick_Help("h_buildTime")%></th>
35
           <th nowrap width="50%" class="form_field noCsv"></th>
65
           <th class="form_field noCsv"></th>
36
           <th nowrap width="5%"  class="form_field nowrap noCsv">Last Modified</th>
66
           <th class="form_field 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("DependsOnAll.sql"), cint(0))
73
        Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("DependsOnAll.sql"), cint(0))
Line 67... Line 98...
67
              <td class="form_item_pad nowrap"><%=buildTime%></td>
98
              <td class="form_item_pad nowrap"><%=buildTime%></td>
68
              <td class="form_item_pad"></td>
99
              <td class="form_item_pad"></td>
69
              <td class="form_item_pad nowrap"><%=emailField(enum_imgUser & rsTemp("full_name"), rsTemp("user_email"))%>&nbsp;<%=DisplayDate ( rsTemp("modified_stamp") )%></td>
100
              <td class="form_item_pad nowrap"><%=emailField(enum_imgUser & rsTemp("full_name"), rsTemp("user_email"))%>&nbsp;<%=DisplayDate ( rsTemp("modified_stamp") )%></td>
70
           </tr>
101
           </tr>
71
           <%rsTemp.MoveNext
102
           <%rsTemp.MoveNext
72
        WEnd
103
        WEnd%>
-
 
104
        <tfoot>
73
        If rsTemp.RecordCount <= 1 Then%>
105
        <%If rsTemp.RecordCount <= 1 Then%>
74
           <tr class="form_item_pad form_field_grey_bg">
106
           <tr class="form_item_pad form_field_grey_bg">
75
              <td nowrap>&nbsp;</td>
107
              <td nowrap>&nbsp;</td>
76
              <td class="form_item_pad" colspan=6>Root Package - Has no dependencies</td>
108
              <td class="form_item_pad" colspan=6>Root Package - Has no dependencies</td>
77
           </tr>
109
           </tr>
78
        <%End If%>
110
        <%End If%>
Line 82... Line 114...
82
                <%If bUnknown Then%>
114
                <%If bUnknown Then%>
83
                    <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>
84
                <%End If%>
116
                <%End If%>
85
              </td>
117
              </td>
86
           </tr>
118
           </tr>
-
 
119
         </tfoot>
87
     </table>
120
     </table>
88
    <%End If%>
121
    <%End If%>
89
    <%rsTemp.Close()%>
122
    <%rsTemp.Close()%>
90
    <%Set rsTemp = nothing%>
123
    <%Set rsTemp = nothing%>
91
    <!-- END - USED BY ALL -->
124
    <!-- END - USED BY ALL -->
92
<%End If%>
125
<%End If%>
-
 
126