public function import_preview_page($header, $data) {

        $html = $this->output->heading(get_string('importpreview', 'grades'));

        $table = new html_table();
        $table->head = $header;
        $table->data = $data;
        $html .= html_writer::table($table);

        return $html;
    }