Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 20... Línea 20...
20
    This template renders the reportbuilder editor navbar
20
    This template renders the reportbuilder editor navbar
Línea 21... Línea 21...
21
 
21
 
22
    Example context (json):
22
    Example context (json):
23
    {
23
    {
24
        "title": "Report title",
24
        "title": "Report title",
25
        "buttons": "<button class='btn btn-secondary mr-2'>Close</button>"
25
        "buttons": "<button class='btn btn-secondary me-2'>Close</button>"
26
    }
26
    }
27
}}
27
}}
28
<nav class="navbar fixed-top navbar-light bg-white navbar-expand align-items-center" aria-label="{{#str}}sitemenubar, admin{{/str}}">
28
<nav class="navbar fixed-top bg-body navbar-expand align-items-center" aria-label="{{#str}}sitemenubar, admin{{/str}}">
29
    <div class="container-fluid">
29
    <div class="container-fluid">
30
        <h1 class="h3 m-0 p-0">{{{title}}}</h1>
30
        <h1 class="h3 m-0 p-0">{{{title}}}</h1>
31
        <div class="ml-auto d-flex">
31
        <div class="ms-auto d-flex">
32
            {{{buttons}}}
32
            {{{buttons}}}
33
        </div>
33
        </div>
34
    </div>
34
    </div>