We are using Moodle version 3.8 and the theme is adaptable(theme_adaptable_moodle38)
We are facing the issues in theme integration section for moodle. The header and footer point of view we can edit a html and integrated the given UI(attached screenshot) and body of the pages We could not edit the html data and It’s rendering with single line as echo $OUTPUT->main_content();
This main_content function under the root lib folder (moodle/lib) and the whole html data returned in single div(return '<div role="main">'.$this->unique_main_content_token.'</div>';)
How can we integrate our UI and use the existing moodle functionality as per the theme.
Kindly help on this.