Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
{{!
2
    This file is part of Moodle - http://moodle.org/
3
 
4
    Moodle is free software: you can redistribute it and/or modify
5
    it under the terms of the GNU General Public License as published by
6
    the Free Software Foundation, either version 3 of the License, or
7
    (at your option) any later version.
8
 
9
    Moodle is distributed in the hope that it will be useful,
10
    but WITHOUT ANY WARRANTY; without even the implied warranty of
11
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
    GNU General Public License for more details.
13
 
14
    You should have received a copy of the GNU General Public License
15
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
16
}}
17
{{!
18
    @template tiny_media/embed_media_modal
19
 
20
    Embed media modal template.
21
 
22
    Example context (json):
23
    {
24
 
25
    }
26
}}
27
{{< core/modal }}
28
 
29
    {{$body}}
30
        <form class="tiny_media_form" id="{{elementid}}_tiny_media_form">
31
            <div role="alert" class="d-none alert alert-warning mb-1 tiny_media_url_warning">
32
                <label>
33
                    {{#str}} mediaurlrequired, tiny_media {{/str}}
34
                </label>
35
            </div>
36
            <div role="progressbar" class="d-none tiny_media_loader lead border rounded text-center">
37
                <div class="tiny_media_loader_container d-flex flex-column justify-content-center">
38
                    <span data-region="loading-icon-container">
39
                        {{> core/loading }}
40
                    </span>
41
                    <div>{{#str}} loadingmedia, tiny_media {{/str}}</div>
42
                </div>
43
            </div>
44
            <div class="tiny_media_body_template"></div>
45
        </form>
46
    {{/body}}
47
 
48
    {{$footer}}
49
        <div class="tiny_media_footer_template container">
50
            <div class="row">
51
                <div class="col-md-6"></div>
52
                <div class="col-md-6 text-end p-0">
53
                    <button type="button" class="btn btn-secondary" data-action="cancel">
54
                        {{#str}} cancel, moodle {{/str}}
55
                    </button>
56
                </div>
57
            </div>
58
        </div>
59
    {{/footer}}
60
 
61
{{/ core/modal }}