{% extends "core/base.html" %}
{% load static %}

{% block title_text %}Gameboard{% endblock title_text %}
{% block header_text %}<span>Game</span><span>board</span>{% endblock header_text %}

{% block content %}
    <div class="gameboard-page">
        {% include "apps/applets/_partials/_gear.html" with menu_id="id_game_applet_menu" %}
        {% include "apps/gameboard/_partials/_applets.html" %}
    </div>
    <div id="id_tooltip_portal" class="token-tooltip"></div>
    <div id="id_mini_tooltip_portal" class="token-tooltip token-tooltip--mini"></div>
{% endblock content %}

{% block scripts %}
    {# note.js exposes window.Brief — used by the My Sea applet's sign-gate #}
    {# Brief partial (`_my_sea_sign_gate_brief.html`) when the user has no   #}
    {# saved significator. Page-level load so the partial doesn't risk a    #}
    {# re-declaration SyntaxError (note.js uses `const Brief = ...`).       #}
    <script src="{% static 'apps/dashboard/note.js' %}"></script>
    <script src="{% static 'apps/gameboard/gameboard.js' %}"></script>
{% endblock scripts %}
