{{!
    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/>.
}}
{{!
    @template tool_usertours/tourstep

    Template used as a template to render step bubbles with their content
    in a user tour.

    Classes required for JS:
    * arrow
    * popover-title
    * popover-content
    * popover-navigation
    * popover-title

    Data attributes required for JS:
    * data-role=prev
    * data-role=next
    * data-role=pause-resume
    * data-pause-text
    * data-resume-text
    * data-role=end
    * data-placeholder=body
    * data-placeholder=title

    Context variables required for this template:
    * None

    Example context (json):
    {
      "name" : "tour_activity_completion",
      "endtourlabel" : "Got it",
      "steps": [
        {
          "stepid": 10,
          "title": "Activity information"
        }
      ]
    }

}}
<div class="modal-dialog" role="document" data-role="flexitour-step">
  <div class="modal-content">
    <div class="tooltip-arrow" data-role="arrow"></div>
    <div class="modal-header">
      <h5 class="modal-title" data-placeholder="title"></h5>
    </div>
    <div class="modal-body" data-placeholder="body">
    </div>
    <div class="modal-footer">
      <button type="button" class="btn btn-primary" data-role="next">{{# str }} nextstep, tool_usertours {{/ str }}</button>
      <button class="btn btn-secondary" data-role="end"> {{endtourlabel}} </button>
    </div>
  </div>
</div>
