Subversion Repositories DevTools

Rev

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

Rev 6580 Rev 6582
Line 58... Line 58...
58
            pkgTestCount = pkgTestCount + 1
58
            pkgTestCount = pkgTestCount + 1
59
            testCount = testCount + tcount 
59
            testCount = testCount + tcount 
60
        End If
60
        End If
61
 
61
 
62
        Dim vrefStr, prefStr, crefStr
62
        Dim vrefStr, prefStr, crefStr
63
        Dim buildId, buildTime, lastBuild, codeLines, isDeployable, viewName
63
        Dim buildId, buildTime, lastBuild, codeLines, isDeployable, viewName, isSdk
64
 
64
 
65
        buildId = rsQry("build_id")
65
        buildId = rsQry("build_id")
66
        crefStr = "unit_test_log.asp?pv_id=" & rsQry("pv_id") & "&rtag_id=" & parRtagId 
66
        crefStr = "unit_test_log.asp?pv_id=" & rsQry("pv_id") & "&rtag_id=" & parRtagId 
67
        prefStr = "view_by_version.asp?pkg_id=" & rsQry("pkg_id")  & "&listby=1"
67
        prefStr = "view_by_version.asp?pkg_id=" & rsQry("pkg_id")  & "&listby=1"
68
        vrefStr = "dependencies.asp?pv_id=" & rsQry("pv_id") & "&rtag_id=" & parRtagId
68
        vrefStr = "dependencies.asp?pv_id=" & rsQry("pv_id") & "&rtag_id=" & parRtagId
Line 73... Line 73...
73
        codeLines = rsQry("code_lines")
73
        codeLines = rsQry("code_lines")
74
        If isNull(codeLines) Then codeLines = ""
74
        If isNull(codeLines) Then codeLines = ""
75
        isDeployable = rsQry("is_deployable")
75
        isDeployable = rsQry("is_deployable")
76
        If isNull(isDeployable) Then isDeployable = "N"
76
        If isNull(isDeployable) Then isDeployable = "N"
77
        viewName = rsQry("view_name")
77
        viewName = rsQry("view_name")
-
 
78
        isSdk = rsQry("isSdk") 
78
        If IsNull(buildId) Then tcount = ""
79
        If IsNull(buildId) Then tcount = ""
79
 
80
 
80
        Response.Write "["
81
        Response.Write "["
81
        Response.Write """<a href=" + prefStr + ">" + rsQry("pkg_name") + "</a>"""
82
        Response.Write """<a href=" + prefStr + ">" + rsQry("pkg_name") + "</a>"""
82
        Response.Write ",""<a href=" + vrefStr + ">" + rsQry("pkg_version") + "</a>"""
83
        Response.Write ",""<a href=" + vrefStr + ">" + rsQry("pkg_version") + "</a>"""
Line 84... Line 85...
84
        Response.Write ",""" + codeLines + """"
85
        Response.Write ",""" + codeLines + """"
85
        Response.Write ",""" + buildTime + """"
86
        Response.Write ",""" + buildTime + """"
86
        Response.Write ",""" + lastBuild + """"
87
        Response.Write ",""" + lastBuild + """"
87
        Response.Write ",""" + isDeployable + """"
88
        Response.Write ",""" + isDeployable + """"
88
        Response.Write ",""" + viewName + """"
89
        Response.Write ",""" + viewName + """"
-
 
90
        Response.Write ",""" + isSdk + """"
89
        Response.Write "],"  + vbCRLF
91
        Response.Write "],"  + vbCRLF
90
    rsQry.MoveNext
92
    rsQry.MoveNext
91
    Loop
93
    Loop
92
    Response.Write "]"  + vbCRLF
94
    Response.Write "]"  + vbCRLF
93
    Response.Write "</script>"  + vbCRLF
95
    Response.Write "</script>"  + vbCRLF
Line 102... Line 104...
102
    <legend>Display</legend>
104
    <legend>Display</legend>
103
    <input id="noScroll" type="checkbox" name="noScroll" value="1"> No Scroll
105
    <input id="noScroll" type="checkbox" name="noScroll" value="1"> No Scroll
104
    <br><input id="noGroups" type="checkbox" name="noGroups" value="1"> No Groups
106
    <br><input id="noGroups" type="checkbox" name="noGroups" value="1"> No Groups
105
    <br><input id="noCots" type="checkbox" name="noCots" value="1"> Ignore Cots
107
    <br><input id="noCots" type="checkbox" name="noCots" value="1"> Ignore Cots
106
    <br><input id="noDeploy" type="checkbox" name="noDeploy" value="1"> Ignore Deployable
108
    <br><input id="noDeploy" type="checkbox" name="noDeploy" value="1"> Ignore Deployable
-
 
109
    <br><input id="noSdk" type="checkbox" name="noSdk" value="1"> Ignore SDKs
107
</fieldset>
110
</fieldset>
108
<fieldset class="body_rowg fset">
111
<fieldset class="body_rowg fset">
109
    <legend>Export</legend>
112
    <legend>Export</legend>
110
    <input id="btnExport"  name="btn" type="submit" class="form_btn" value="Test Counts as CSV"><%=Quick_Help("h_export")%>
113
    <input id="btnExport"  name="btn" type="submit" class="form_btn" value="Test Counts as CSV"><%=Quick_Help("h_export")%>
111
</fieldset>
114
</fieldset>
Line 129... Line 132...
129
            <div class="rounded_box">
132
            <div class="rounded_box">
130
               <div style="background-color: white;border-left: white solid 10px;border-right: white solid 10px;">
133
               <div style="background-color: white;border-left: white solid 10px;border-right: white solid 10px;">
131
                    <!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
134
                    <!-- MESSAGE +++++++++++++++++++++++++++++++++++++++++++++++++++ -->
132
                    <!--#include file="messages/_msg_inline.asp"-->
135
                    <!--#include file="messages/_msg_inline.asp"-->
133
                    <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
136
                    <!-- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -->
-
 
137
                    <div id="packageStatsHolder">
134
                    <table id="packageStats" width="100%" class="embedded_table">
138
                    <table id="packageStats" width="100%" class="embedded_table">
135
                        <thead class="envGroup">
139
                        <thead class="envGroup">
136
                           <tr class="body_col envGroup">
140
                           <tr class="body_col envGroup">
137
                              <td valign="top" nowrap>Package</td>
141
                              <td valign="top" nowrap>Package</td>
138
                              <td valign="top" nowrap>Version</td>
142
                              <td valign="top" nowrap>Version</td>
Line 140... Line 144...
140
                              <td valign="top" nowrap>Code<br>Lines</td>
144
                              <td valign="top" nowrap>Code<br>Lines</td>
141
                              <td valign="top" nowrap>Build<br>Duration</td>
145
                              <td valign="top" nowrap>Build<br>Duration</td>
142
                              <td valign="top" nowrap>Build Date</td>
146
                              <td valign="top" nowrap>Build Date</td>
143
                              <td valign="top" nowrap>Deployable</td>
147
                              <td valign="top" nowrap>Deployable</td>
144
                              <td valign="top" nowrap>View Name</td>
148
                              <td valign="top" nowrap>View Name</td>
-
 
149
                              <td valign="top" nowrap>SDK</td>
145
                           </tr>
150
                           </tr>
146
                        </thead>
151
                        </thead>
147
                  </table>
152
                  </table>
-
 
153
                  </div>
148
                  <table width="100%" class="embedded_table">
154
                  <table width="100%" class="embedded_table">
149
                  <tr class="body_col envGroup"><th colspan=5>Summary</th></tr>
155
                  <tr class="body_col envGroup"><th colspan=5>Summary</th></tr>
150
                  <tr class="body_rowg"><td colspan=4>Total Packages</td><td id="pkgCount"></td></tr>
156
                  <tr class="body_rowg"><td colspan=4>Total Packages</td><td id="pkgCount"></td></tr>
151
                  <tr class="body_rowg"><td colspan=4>Total Packages with Tests</td><td id="pkgTestCount"></td></tr>
157
                  <tr class="body_rowg"><td colspan=4>Total Packages with Tests</td><td id="pkgTestCount"></td></tr>
152
                  <tr class="body_rowg"><td colspan=4>Total Unit Tests</td><td id="testCount"></td></tr>
158
                  <tr class="body_rowg"><td colspan=4>Total Unit Tests</td><td id="testCount"></td></tr>
Line 187... Line 193...
187
          table.dataTable tbody tr.baseGroup td{border-bottom:1pt solid black;;border-top:1pt solid black;}
193
          table.dataTable tbody tr.baseGroup td{border-bottom:1pt solid black;;border-top:1pt solid black;}
188
          table.dataTable tbody tr td.header{color:black;font-weight:bold;}
194
          table.dataTable tbody tr td.header{color:black;font-weight:bold;}
189
          table.dataTable tbody tr td.info{color:gray;font-weight:normal;}
195
          table.dataTable tbody tr td.info{color:gray;font-weight:normal;}
190
      </style>
196
      </style>
191
      <script type="text/javascript" charset="utf-8">
197
      <script type="text/javascript" charset="utf-8">
192
        var pkgStats = {};
-
 
193
        $(document).ready(function() {
-
 
194
 
198
 
-
 
199
          // Helper object to contain unit tests stats
-
 
200
        function groupStats() {
-
 
201
            this.total = 0;
-
 
202
            this.withTests = 0;
-
 
203
            this.testCount = 0;
-
 
204
        };
-
 
205
 
-
 
206
        var pkgStats = {
195
            // Create a basic DataTable
207
            // Ref to the current table
196
            // The populate it
208
            table : null ,
-
 
209
 
197
            pkgStats.table = $('#packageStats').DataTable( {
210
            // A copy of the original table body
-
 
211
            html : null,
-
 
212
 
198
                    dom:            "lfrti",
213
            // Display package groups
199
                    scrollY:        "65vh",
214
            noGroup : false,
-
 
215
 
200
                    scrollCollapse: true,
216
            // Counters for all and for each groups
-
 
217
            info : null,
201
                    paging:         false,
218
            groupinfo : null,
-
 
219
 
202
                    language : { info: "Showing _TOTAL_ entries" },
220
            // Part of config - with groups
203
                    columnDefs: [
221
            withGroups : [
204
                        { "visible": false, "targets": [6] },
222
                    { "visible": false, "targets": [6,7,8] },
205
                        { "orderData" : [7,0], targets : 0 },
223
                    { "orderData" : [7,0], targets : 0 },
206
                        { "orderData" : [7,1], targets : 1 },
224
                    { "orderData" : [7,1], targets : 1 },
207
                        { "orderData" : [7,2], targets : 2 },
225
                    { "orderData" : [7,2], targets : 2 },
208
                        { "orderData" : [7,3], targets : 3 },
226
                    { "orderData" : [7,3], targets : 3 },
209
                        { "orderData" : [7,4], targets : 4 },
227
                    { "orderData" : [7,4], targets : 4 },
210
                        { "orderData" : [7,5], targets : 5 },
228
                    { "orderData" : [7,5], targets : 5 },
211
                        { "orderData" : [7,0], targets : 7 },
229
                    { "orderData" : [7,0], targets : 7 },
212
                    ],
230
                ],
-
 
231
 
-
 
232
            // Part of config - with out groups
213
                    order: [[7,'asc']],
233
            withNoGroups : [
214
                    drawCallback: function ( settings ) {
234
                    { "visible": false, "targets": [6,7,8] },
215
                        var api = this.api();
235
                ],
216
 
236
 
217
                        var orderCol = api.order()[0][0];
237
            // Basic table config
-
 
238
            tableConfig : {
218
                        if ( orderCol != 7 ) {
239
                //  Vix Usage
219
                            $('#noGroups').prop('checked', true);
240
                //  Used so that the internal functions can access the rest of the pkgStats data
220
                            //return;
241
                //  Will be filled in with a function to return the data
221
                        }
242
                parentRef : null,
-
 
243
 
222
                        $('#noGroups').prop('checked', false)
244
                // Standard config
223
                        var rows = api.rows( { page: 'current' }).nodes();
245
                //    scrollY and columnDefs will be provided before table is created
224
                        var last=null;
246
                dom:            "lfrti",
225
                        api.column(7, {page:'current'} ).data().each( function ( group, i ) {
-
 
226
                            if ( last !== group ) {
247
                scrollY:        "65vh",
227
                                last = group;
248
                scrollCollapse: true,
228
                                var gdata = pkgStats.groupinfo[group];
249
                paging:         false,
229
                                var gtext = new Array();
250
                language : { info: "Showing _TOTAL_ entries" },
230
                                gtext.push('Packages: ' + gdata.total + '.');
251
                columnDefs: null,
231
                                gtext.push('With Tests: ' + gdata.withTests + '.');
252
                order: [[0,'asc']],
232
                                gtext.push('Unit Tests: ' + gdata.testCount + '.');
253
                drawCallback: function ( settings ) {
233
                                $(rows).eq( i ).before(
254
                    var api = this.api();
234
                                    '<tr class="baseGroup"><td class="header" colspan="2">'+group+ '</td><td class="info" colspan="4">'+gtext.join(' ') + '</td></tr>'
-
 
235
                                );
255
                    var parentRef = api.init().parentRef();
236
                            }
256
                    if (parentRef.noGroup) {
237
                        });
257
                        return;
238
                    }
258
                    }
-
 
259
 
-
 
260
                    var groupinfo = parentRef.groupinfo;
-
 
261
                    $('#noGroups').prop('checked', false)
-
 
262
                    var rows = api.rows( { page: 'current' }).nodes();
-
 
263
                    var last=null;
-
 
264
                    api.column(7, {page:'current'} ).data().each( function ( group, i ) {
-
 
265
                        if ( last !== group ) {
-
 
266
                            last = group;
-
 
267
                            var gdata = groupinfo[group];
-
 
268
                            var gtext = new Array();
-
 
269
                            gtext.push('Packages: ' + gdata.total + '.');
-
 
270
                            gtext.push('With Tests: ' + gdata.withTests + '.');
-
 
271
                            gtext.push('Unit Tests: ' + gdata.testCount + '.');
-
 
272
                            $(rows).eq( i ).before(
-
 
273
                                '<tr class="baseGroup"><td class="header" colspan="2">'+group+ '</td><td class="info" colspan="4">'+gtext.join(' ') + '</td></tr>'
-
 
274
                            );
-
 
275
                        }
-
 
276
                    });
239
                });
277
                }
-
 
278
            },
-
 
279
 
-
 
280
            // Create a basic DataTable
-
 
281
            //  Then populate it
240
            pkgStats.init = pkgStats.table.init();
282
            createPkgStatsTable : function(){
-
 
283
                 // Save or restore the original HTML of the table
-
 
284
                 if ( !this.html ) {
-
 
285
                     this.html = $('#packageStatsHolder').html();
-
 
286
                 } else {
-
 
287
                     //  Basically need to kill of the multi column ordering, but I can't do it programatically
-
 
288
                     //  Destroy / rebuild the table
-
 
289
                     //  The destoy() function in the 1.10.8 crashes when used with 'false'
-
 
290
                     //  Using 'true' removes the html of the table - so we save it and put it back
-
 
291
                     this.table.destroy(true);
-
 
292
                     $('#packageStatsHolder').html(this.html);
-
 
293
                 }
-
 
294
 
-
 
295
                 this.noGroup = $('#noGroups').get(0).checked;
-
 
296
                 this.tableConfig.columnDefs = this.noGroup ? this.withNoGroups : this.withGroups;
-
 
297
 
241
            pkgStats.noGroup = false;
298
                 var that = this;
-
 
299
                 this.tableConfig.parentRef = function(){return that;};
-
 
300
                 this.table = $('#packageStats').DataTable(this.tableConfig);
242
            insertAllData();
301
                 this.insertAllData();
-
 
302
            },
243
 
303
 
244
            //
304
            //
245
            //  Filter data and insert into the table
305
            //  Filter data and insert into the table
246
            function insertAllData() {
306
            insertAllData : function () {
247
                var noDeploy = $('#noDeploy').get(0).checked; 
307
                var noDeploy = $('#noDeploy').get(0).checked; 
248
                var noCots   = $('#noCots').get(0).checked; 
308
                var noCots   = $('#noCots').get(0).checked;
-
 
309
                var noSdk    = $('#noSdk').get(0).checked;
249
 
310
 
250
                var ii;
311
                var ii;
251
                pkgStats.table.clear();
312
                this.table.clear();
252
                pkgStats.info = {};
313
                this.info = new groupStats();
253
                pkgStats.groupinfo = {};
314
                this.groupinfo = {};
254
                pkgStats.info.total = 0;
-
 
255
                pkgStats.info.withTests = 0;
-
 
256
                pkgStats.info.testCount = 0;
-
 
257
 
315
 
258
                for (ii = 0; ii < dataSet.length; ii++) {
316
                for (ii = 0; ii < dataSet.length; ii++) {
259
                    if ( noCots ) {
317
                    if ( noCots ) {
260
                        var vdata = $(dataSet[ii][1]).text();
318
                        var vdata = $(dataSet[ii][1]).text();
261
                        if ( vdata.match(/.cots$/) || vdata.match(/.tool$/) ) {
319
                        if ( vdata.match(/.cots$/) || vdata.match(/.tool$/) ) {
Line 268... Line 326...
268
                        if ( dData == 'Y' ) {
326
                        if ( dData == 'Y' ) {
269
                            continue;
327
                            continue;
270
                        }
328
                        }
271
                    }
329
                    }
272
 
330
 
-
 
331
                    if ( noSdk ) {
-
 
332
                        var dData = dataSet[ii][8];
-
 
333
                        if ( dData == 'Y' ) {
-
 
334
                            continue;
-
 
335
                        }
-
 
336
                    }
-
 
337
 
273
                    var group = dataSet[ii][7];
338
                    var group = dataSet[ii][7];
274
                    var gdata = pkgStats.groupinfo[group];
339
                    var gdata = this.groupinfo[group];
275
                    if ( gdata == null ) {
340
                    if ( !gdata ) {
276
                        pkgStats.groupinfo[group] = {};
341
                        this.groupinfo[group] = new groupStats();
277
                        gdata = pkgStats.groupinfo[group];
342
                        gdata = this.groupinfo[group];
278
                        gdata.total = 0;
-
 
279
                        gdata.withTests = 0;
-
 
280
                        gdata.testCount = 0;
-
 
281
                    }
343
                    }
282
                    
344
                    
283
                    pkgStats.table.row.add( dataSet[ii]);
345
                    this.table.row.add( dataSet[ii]);
284
                    pkgStats.info.total ++;
346
                    this.info.total ++;
285
                    gdata.total++;
347
                    gdata.total++;
286
                    var count = parseInt($(dataSet[ii][2]).text());
348
                    var count = parseInt($(dataSet[ii][2]).text());
287
                    if ( !isNaN(count) && count > 0 ) {
349
                    if ( !isNaN(count) && count > 0 ) {
288
                        pkgStats.info.withTests++;
350
                        this.info.withTests++;
289
                        gdata.withTests++;
351
                        gdata.withTests++;
290
                        pkgStats.info.testCount += count;
352
                        this.info.testCount += count;
291
                        gdata.testCount += count;
353
                        gdata.testCount += count;
292
                    }
354
                    }
293
                }
355
                }
294
                pkgStats.table.draw();
356
                this.table.draw();
-
 
357
                this.setHeight();
295
 
358
 
296
                $('#pkgCount').text(pkgStats.info.total);
359
                $('#pkgCount').text(this.info.total);
297
                $('#pkgTestCount').text(pkgStats.info.withTests);
360
                $('#pkgTestCount').text(this.info.withTests);
298
                $('#testCount').text(pkgStats.info.testCount);
361
                $('#testCount').text(this.info.testCount);
299
            }
362
            },
300
 
363
 
301
            // Enable / disable full table display
364
            setHeight : function () {
302
            $('#noScroll').click(function(e){
365
                 var noScroll = $('#noScroll').get(0).checked;
303
                if ( pkgStats.Height === undefined ) {
366
                 if ( noScroll ) {
304
                    pkgStats.ScrollBody = $('#packageStats').closest('.dataTables_scrollBody'); 
367
                     var ScrollBody = $('#packageStats').closest('.dataTables_scrollBody');
-
 
368
                     // work on Datatables 1.10.12 ++, but not on 1.10.8, although lots else works better
305
                    pkgStats.Height = pkgStats.ScrollBody.height();
369
                     ScrollBody.css('max-height', "100%");
306
                    pkgStats.CurHeight = pkgStats.Height; 
370
                     ScrollBody.css('height', "100%");
307
                }
371
                 }
-
 
372
            },
308
 
373
 
309
                if ( this.checked  ){
-
 
310
                    pkgStats.CurHeight = "100%";
-
 
311
                } else {
-
 
312
                    pkgStats.CurHeight = pkgStats.Height;
-
 
313
                }
-
 
314
                // work on Datatables 1.10.12 ++, but not on 1.10.8, although lots else works better
-
 
315
                pkgStats.ScrollBody.css('max-height', pkgStats.CurHeight);
-
 
316
                pkgStats.ScrollBody.css('height', pkgStats.CurHeight);
-
 
317
            });
374
        };
318
 
375
 
319
            // Hide / Show the the COTS packages
-
 
320
            // Hide / Show the the Deployed packages
-
 
321
            $('#noCots,#noDeploy').click(function(e){
376
        $(document).ready(function() {
322
                insertAllData();
-
 
323
            });
-
 
324
 
377
 
325
            //  Use / Don't use base View groups
378
        // Instantiate the table
-
 
379
        pkgStats.createPkgStatsTable();
326
 
380
 
327
            $('#noGroups').click(function(e){
-
 
328
                pkgStats.noGroup = this.checked;
381
        // Enable / Disable full table display
329
                if ( !pkgStats.noGroup ) {
382
        // Use / Don't use base View groups
330
                    pkgStats.table.order([[7,'asc']]);
-
 
331
                } else {
-
 
332
                    pkgStats.table.order([[0,'asc']]);
383
        $('#noScroll,#noGroups').click(function(e){
333
                }
-
 
334
                pkgStats.table.draw();
384
            pkgStats.createPkgStatsTable();
335
            });
385
        });
336
 
386
 
337
            // Copy data to the users clipboard
387
        // Hide / Show the the COTS packages
338
            function copyToClipboard(string) {
388
        // Hide / Show the the Deployed packages
339
                var $temp = $("<input>");
389
        // Hide / Show the packages from SDKs
340
                $("body").append($temp);
-
 
341
                $temp.val(string).select();
-
 
342
                document.execCommand("copy");
-
 
343
                $temp.remove();
-
 
344
            }
-
 
345
 
-
 
346
            // Export Data
-
 
347
            $('#btnExport').click(function(e){
390
        $('#noCots,#noDeploy,#noSdk').click(function(e){
348
                var csv = [];
-
 
349
 
-
 
350
                //  Insert DateStamp as YYMMDD
-
 
351
                var date = new Date();
391
            pkgStats.insertAllData();
352
                var tstamp = (date.getFullYear() * 10000) + ((date.getMonth() + 1) * 100) + date.getDate()
-
 
353
                csv.push(tstamp);
-
 
354
 
-
 
355
                //  Insert Release ID
-
 
356
                csv.push(<%=DB_RTAG_ID%>);
-
 
357
                csv.push("<%=DB_PROJ_NAME%>::<%=DB_RTAG_NAME%>");
-
 
358
 
-
 
359
                // Generate a CSV representation of the data in the table
-
 
360
                pkgStats.table.rows().eq(0).each( function (index) { 
-
 
361
                    var row = pkgStats.table.row(index); 
-
 
362
                    var data = row.data(); 
-
 
363
                    csv.push($(data[0]).text(), $(data[2]).text());
-
 
364
                    });
392
        });
365
 
393
 
-
 
394
        // Copy data to the users clipboard
-
 
395
        function copyToClipboard(string) {
-
 
396
            var $temp = $("<input>");
-
 
397
            $("body").append($temp);
-
 
398
            $temp.val(string).select();
-
 
399
            document.execCommand("copy");
-
 
400
            $temp.remove();
-
 
401
        };
-
 
402
 
-
 
403
        // Export Data
-
 
404
        $('#btnExport').click(function(e){
-
 
405
            var csv = [];
-
 
406
 
-
 
407
            //  Insert DateStamp as YYMMDD
-
 
408
            var date = new Date();
-
 
409
            var tstamp = (date.getFullYear() * 10000) + ((date.getMonth() + 1) * 100) + date.getDate()
-
 
410
            csv.push(tstamp);
-
 
411
 
-
 
412
            //  Insert Release ID
-
 
413
            csv.push(<%=DB_RTAG_ID%>);
-
 
414
            csv.push("<%=DB_PROJ_NAME%>::<%=DB_RTAG_NAME%>");
-
 
415
 
366
                // Generate a CSV representation of the data inthe table
416
            // Generate a CSV representation of the data in the table
367
                // pkgStats.table.rows().every( function ( rowIdx, tableLoop, rowLoop ) {
417
            pkgStats.table.rows().every( function ( rowIdx, tableLoop, rowLoop ) {
368
                //    var data = this.data();
418
                var data = this.data();
369
                //    csv.push($(data[0]).text(), $(data[2]).text());
419
                csv.push($(data[0]).text(), $(data[2]).text());
370
                //    });
420
            });
371
                var csvString = csv.join(",");
421
            var csvString = csv.join(",");
372
                //console.log(csvString);
422
            //console.log(csvString);
373
                copyToClipboard(csvString);
423
            copyToClipboard(csvString);
374
                vixConfirm("Data copied to Clipboard", {
424
            vixConfirm("Data copied to Clipboard", {
375
                    title: "Notification",
425
                title: "Notification",
376
                    icon : "images/i_info.png", 
426
                icon : "images/i_info.png", 
377
                    cancel: false, 
427
                cancel: false, 
378
                    button: null,
428
                button: null,
379
                    timeout : 100,
429
                timeout : 100,
380
                    position : 'center', 
430
                position : 'center', 
381
                    modal : false,
431
                modal : false,
382
                    minHeight: 10, 
432
                minHeight: 10, 
383
                    hide: {
-
 
384
                            effect: 'fade',
-
 
385
                            duration: 2000
433
                hide: { effect: 'fade', duration: 2000 }
386
                          }
-
 
387
                });
434
                });
388
            });
435
            });
389
        });
436
        });
390
      </script>
437
  </script>
391
 
438
 
392
   </head>
439
   </head>
393
   <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
440
   <body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
394
      <!-- HEADER -->
441
      <!-- HEADER -->
395
      <!--#include file="_header.asp"-->
442
      <!--#include file="_header.asp"-->