X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.debug%2Fdebug.js;h=32dbdc199eacd974cce54c96f8d1d8e1ff003cb0;hb=9ff8e0a94621ff441ba68f64de76c69a5b9c9319;hp=f0c2601139df45e7e672d9c46bc1158c2a03f67e;hpb=59e694408b9dbc6a377a0f5104cd682eaa376633;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.debug/debug.js b/resources/src/mediawiki.debug/debug.js index f0c2601139..32dbdc199e 100644 --- a/resources/src/mediawiki.debug/debug.js +++ b/resources/src/mediawiki.debug/debug.js @@ -112,9 +112,15 @@ buildHtml: function () { var $container, $bits, panes, id, gitInfo; - $container = $( '
' ); + $container = $( '# | ' ).css( 'width', '4em' ) ) - .append( $( 'SQL | ' ) ) - .append( $( 'Time | ' ).css( 'width', '8em' ) ) - .append( $( 'Call | ' ).css( 'width', '18em' ) ) + .append( $( '' ).text( '#' ).css( 'width', '4em' ) ) + .append( $( ' | ' ).text( 'SQL' ) ) + .append( $( ' | ' ).text( 'Time' ).css( 'width', '8em' ) ) + .append( $( ' | ' ).text( 'Call' ).css( 'width', '18em' ) ) .appendTo( $table ); for ( i = 0, length = this.data.queries.length; i < length; i += 1 ) { @@ -300,8 +306,8 @@ $( ' |
---|---|---|---|---|---|---|---|
' ).text( i + 1 ) ) .append( $( ' | ' ).text( query.sql ) ) - .append( $( ' | ' ).text( ( query.time * 1000 ).toFixed( 4 ) + 'ms' ) ) - .append( $( ' | ' ).text( query[ 'function' ] ) ) + .append( $( ' | ' ).text( ( query.time * 1000 ).toFixed( 4 ) + 'ms' ).addClass( 'stats' ) ) + .append( $( ' | ' ).text( query.function ) ) .appendTo( $table ); } @@ -375,7 +381,7 @@ file = this.data.includes[ i ]; $( ' | ||
' ).text( file.name ) ) - .append( $( ' | ' ).text( file.size ) ) + .append( $( ' | ' ).text( file.size ).addClass( 'nr' ) ) .appendTo( $table ); } |