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_recordrtc/screen_recorder
19
 
20
    Audio recorder template.
21
 
22
    Example context (json):
23
    {
24
        "isallowedpausing": true
25
    }
26
}}
27
{{< core/modal }}
28
    {{$title}}{{#str}} screentitle, tiny_recordrtc {{/str}}{{/title}}
29
    {{$body}}
30
        {{> core/local/toast/wrapper }}
31
        <div class="tiny_recordrtc container-fluid">
32
            <div  data-purpose="security-warning" class="row hide">
33
                <div class="col-12">
34
                    <div id="alert-danger" class="alert alert-danger">
35
                        <strong>
36
                            {{#str}} insecurealert_title, tiny_recordrtc {{/str}}
37
                        </strong>
38
                        {{#str}} insecurealert, tiny_recordrtc {{/str}}
39
                    </div>
40
                </div>
41
            </div>
42
            <div data-purpose="player-container" class="row">
43
                <div class="col-1"></div>
44
                <div class="col-10">
45
                    <video></video>
46
                </div>
47
                <div class="col-1"></div>
48
            </div>
49
            <div data-purpose="start-stop-container" class="row">
50
                <div class="col-1"></div>
51
                <div class="col-10 d-inline-flex w-100">
52
                    <button class="btn btn-lg btn-outline-danger w-100" data-action="startstop">
53
                        {{#str}} startrecording, tiny_recordrtc {{/str}}
54
                    </button>
55
                    {{#isallowedpausing}}
56
                        <button class="btn btn-lg btn-outline-primary ms-3 hidden" data-action="pauseresume">
57
                            {{#str}} pause, tiny_recordrtc {{/str}}
58
                        </button>
59
                    {{/isallowedpausing}}
60
                </div>
61
                <div class="col-1"></div>
62
            </div>
63
            <div data-purpose="upload-container" class="row hide">
64
                <div class="col-1"></div>
65
                <div class="col-10">
66
                    <button class="btn btn-lg btn-primary w-100" data-action="upload">
67
                        {{#str}} attachrecording, tiny_recordrtc {{/str}}
68
                    </button>
69
                </div>
70
                <div class="col-3"></div>
71
            </div>
72
        </div>
73
    {{/body}}
74
 
75
    {{$footer}}
76
        <button type="button" class="btn btn-secondary" data-action="cancel">{{#str}} cancel {{/str}}</button>
77
    {{/footer}}
78
{{/ core/modal }}