Enhanced object list for "Debug Info" (#3480)

Move browser info up
This commit is contained in:
Marc Bernard 2020-06-10 15:11:47 +02:00 committed by GitHub
parent 83098a35a9
commit f5754056f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,9 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_DEBUGINFO IMPLEMENTATION.
ro_html->add( '<div id="debug_info" class="debug_container">' ). ro_html->add( '<div id="debug_info" class="debug_container">' ).
ro_html->add( render_debug_info( ) ). ro_html->add( render_debug_info( ) ).
ro_html->add( '</div>' ).
ro_html->add( '<div id="supported_objects" class="debug_container">' ).
ro_html->add( render_supported_object_types( ) ). ro_html->add( render_supported_object_types( ) ).
ro_html->add( '</div>' ). ro_html->add( '</div>' ).
@ -106,8 +109,8 @@ CLASS ZCL_ABAPGIT_GUI_PAGE_DEBUGINFO IMPLEMENTATION.
CREATE OBJECT ro_html. CREATE OBJECT ro_html.
ro_html->zif_abapgit_html~set_title( cl_abap_typedescr=>describe_by_object_ref( me )->get_relative_name( ) ). ro_html->zif_abapgit_html~set_title( cl_abap_typedescr=>describe_by_object_ref( me )->get_relative_name( ) ).
ro_html->add( 'debugOutput("Browser: " + navigator.userAgent + ' && ro_html->add( 'debugOutput("<table><tr><td>Browser:</td><td>" + navigator.userAgent + ' &&
'"<br>Frontend time: " + new Date(), "debug_info");' ). '"</td></tr><tr><td>Frontend time:</td><td>" + new Date() + "</td></tr></table>", "debug_info");' ).
ENDMETHOD. ENDMETHOD.