{{!
    This file is part of Moodle - http://moodle.org/

    Moodle is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Moodle is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.

    Edwiser Bridge
    @package auth_edwiserbridge
    @copyright (c) 2024 WisdmLabs (https://wisdmlabs.com/)
    @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
}}
{{!
    @template auth_edwiserbridge/setup_close

    Setup wizard header template

    Context variables required for this template:
    * closequest: Close quest
    * yes: Yes
    * no: No
    * note: Note
    * closenote: Close note
    * wwwroot: Wwwroot


    Example context (JSON):
    {
        "closequest": "value1",
        "yes": "value2",
        "no": "value3",
        "note": "value4",
        "closenote": "value5",
        "wwwroot": "value6",
    }
}}
<div class="eb_setup_popup_content_wrap" style="display: none;">
    <div class="eb_setup_popup_content">
        <div>
            <p><i class="fa-solid fa-triangle-exclamation eb_setup_pupup_warning_icon"></i></p>
            <p class="eb_setup_h2">{{{ closequest }}}</p>
            <div class="eb_setup_user_sync_btn_wrap">
                <a href="{{{ wwwroot }}}" class="eb_setup_sec_btn">{{{ yes }}}</a>
                <button class="eb_setup_sec_btn eb_setup_do_not_close">{{{ no }}}</button>
            </div>
        </div>
        <div>
            <fieldset>
                <legend>{{{ note }}}</legend>
                <div>{{{ closenote }}}</div>
            </fieldset>
        </div>
    </div>
</div>
