Subversion Repositories DevTools

Rev

Rev 7250 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7250 Rev 7261
Line 61... Line 61...
61
        var table;
61
        var table;
62
        var interval = null;
62
        var interval = null;
63
        var indefTimer = null;
63
        var indefTimer = null;
64
	$(document).ready(function() {
64
	$(document).ready(function() {
65
		/* Init DataTables */
65
		/* Init DataTables */
66
        $('#table1z').DataTable( {
-
 
67
        serverSide: true,
-
 
68
        deferRender : true,
-
 
69
        dom: "frtiS",
-
 
70
		xscrollCollapse: true,
-
 
71
		paging: true,
-
 
72
		scroller: {
-
 
73
			loadingIndicator: true,
-
 
74
			displayBuffer: 3,
-
 
75
		},
-
 
76
        ordering: false,
-
 
77
        searching: false,
-
 
78
        scrollY: $( document ).height() 
-
 
79
<%If parRtagId <> "" Then %>
-
 
80
            - 35
-
 
81
<%End If%>
-
 
82
            - 200,
-
 
83
        ajax: function ( data, callback, settings ) {
-
 
84
            var out = [];
-
 
85
 
-
 
86
            for ( var i=data.start, ien=data.start+data.length ; i<ien ; i++ ) {
-
 
87
                out.push( [ i+'-1', i+'-2', i+'-3', i+'-4', i+'-5', i+'-6', i+'-7', i+'-8', i+'-9' ] );
-
 
88
            }
-
 
89
 
-
 
90
            setTimeout( function () {
-
 
91
                callback( {
-
 
92
                    draw: data.draw,
-
 
93
                    data: out,
-
 
94
                    recordsTotal: 5000000,
-
 
95
                    recordsFiltered: 5000000
-
 
96
                } );
-
 
97
            }, 50 );
-
 
98
        },
-
 
99
        scroller: {
-
 
100
            loadingIndicator: true
-
 
101
        },
-
 
102
    } );
-
 
103
 
-
 
104
        table = $("#table1").dataTable({
66
        table = $("#table1").dataTable({
105
            serverSide: true,
67
            serverSide: true,
106
            deferRender : true,
68
            deferRender : true,
107
            ajax : {
69
            ajax : {
108
                url : "build_release_log_json.asp",
70
                url : "build_release_log_json.asp",
Line 140... Line 102...
140
            columnDefs : [ 
102
            columnDefs : [ 
141
<%If parRtagId <> "" Then %>
103
<%If parRtagId <> "" Then %>
142
                {visible: false, targets : [0,1]},
104
                {visible: false, targets : [0,1]},
143
<%End If%>
105
<%End If%>
144
                {className : "dt-nowrap", targets: "_all" },
106
                {className : "dt-nowrap", targets: "_all" },
145
                {orderable : false, targets : [8]},
107
                {orderable : false, targets : [8,9]},
146
            ],
108
            ],
147
            // Refresh display IFF showing the head
109
            // Refresh display IFF showing the head
148
            fnInfoCallback: function( oSettings, iStart, iEnd, iMax, iTotal, sPre ) {
110
            fnInfoCallback: function( oSettings, iStart, iEnd, iMax, iTotal, sPre ) {
149
                $('#cbPending').hide();
111
                $('#cbPending').hide();
150
                if (iStart <= 1) {
112
                if (iStart <= 1) {
Line 232... Line 194...
232
                                    <th>Time</th>
194
                                    <th>Time</th>
233
                                    <th>Reason</th>
195
                                    <th>Reason</th>
234
                                    <th>Duration</th>
196
                                    <th>Duration</th>
235
                                    <th>Result</th>
197
                                    <th>Result</th>
236
                                    <th>Tests</th>
198
                                    <th>Tests</th>
-
 
199
                                    <th>Logs</th>
237
                                </thead>
200
                                </thead>
238
                                <tbody>
201
                                <tbody>
239
                                </tbody>
202
                                </tbody>
240
                            </table>
203
                            </table>
241
                        </div>
204
                        </div>