*&---------------------------------------------------------------------*
*& Include ZABAPGIT_PAGE_TUTORIAL
*&---------------------------------------------------------------------*
CLASS lcl_gui_view_tutorial DEFINITION FINAL.
PUBLIC SECTION.
INTERFACES lif_gui_page.
ALIASES render FOR lif_gui_page~render.
PRIVATE SECTION.
METHODS render_content
RETURNING VALUE(ro_html) TYPE REF TO lcl_html.
ENDCLASS. "lcl_gui_view_tutorial
CLASS lcl_gui_view_tutorial IMPLEMENTATION.
METHOD lif_gui_page~on_event.
ev_state = gc_event_state-not_handled.
ENDMETHOD. " lif_gui_page~on_event.
METHOD lif_gui_page~render.
CREATE OBJECT ro_html.
ro_html->add( '
' ).
ro_html->add( render_content( ) ).
ro_html->add( '
' ).
ENDMETHOD. "lif_gui_page~render
METHOD render_content.
CREATE OBJECT ro_html.
_add 'Tutorial
'.
_add '
'.
_add 'Adding and cloning repos
'.
_add ''.
_add `- To clone a remote repo (e.g. from github) click `.
ro_html->add_a( iv_txt = '+ Clone' iv_act = gc_action-repo_clone ).
_add ' from the top menu. This will copy a remote repo to your system.
'.
_add `- To add a local package as a repo click `.
ro_html->add_a( iv_txt = '+ Offline' iv_act = gc_action-repo_newoffline ).
_add ' from the top menu. This will track a repo which already exist in'.
_add ' the system with abapGit. You''ll be able to attach it to remote origin'.
_add ' or just serialize as a zip file
'.
_add `- Go `.
ro_html->add_a( iv_txt = 'Explore' iv_act = gc_action-go_explore ).
_add ' to find projects using abapGit
'.
_add '
'.
_add 'Repository list and favorites
'.
_add ''.
ro_html->add( |- To choose a repo press {
lcl_html=>icon( 'three-bars/blue' ) } at the favorite bar.
| ).
ro_html->add( |- To favorite a repo click {
lcl_html=>icon( 'star/darkgrey' ) } icon at repo toolbar.
| ).
_add '
'.
_add 'abapGit related repositories
'.
_add ''.
_add '- '.
ro_html->add_a( iv_txt = 'install abapGit repo' iv_act = gc_action-abapgit_install ).
_add ' - To keep abapGit up-to-date (or also to contribute) you need to'.
_add 'install it as a repository.
'.
_add '- '.
ro_html->add_a( iv_txt = 'install abapGit plugins' iv_act = gc_action-abapgit_install_pi ).
_add ' - you can also install plugins to extend supported object types
'.
_add '
'.
ENDMETHOD. " render_content.
ENDCLASS. "lcl_gui_view_tutorial