{{!
    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 theme_trema/mydashboard_admin

    Admin dashboard present in mydashboard layout.

    Context variables required for this template:
    * boxes - Array of dashboard boxes to display
    * colclass - Column class for responsive width

    Example context (json):
    {
        "boxes": [
            {
                "content": "<div>Box HTML</div>",
                "cssclass": "dashboard-box-diskusage"
            }
        ],
        "colclass": "col-sm-3"
    }
}}
<div id="mydashboard-admin" class="container-fluid">
    <h2 class="admin-dashboard sr-only">{{#str}}admindashboard, theme_trema{{/str}}</h2>
    <div class="row">
        {{#boxes}}
        <div class="{{colclass}} {{cssclass}}">
            {{{content}}}
        </div>
        {{/boxes}}
    </div>
</div>
