Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 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/audio_recorder
19
 
20
    Audio recorder template.
21
 
22
    Example context (json):
23
    {
24
    }
25
}}
26
{{!
27
    Note:
28
    The content of this template should ideally be shared with the video recorder by using a block template.
29
    Unfortunately it is not possible to have nested block templates due to MDL-51145.
30
    Once this issue is resolved, this template should be refactored to use a block template.
31
}}
32
{{< core/modal }}
33
    {{$title}}{{#str}} audiotitle, tiny_recordrtc {{/str}}{{/title}}
34
    {{$body}}
35
    {{> core/local/toast/wrapper }}
36
    <div class="tiny_recordrtc container-fluid">
37
        <div  data-purpose="security-warning" class="row hide">
38
            <div class="col-12">
39
                <div id="alert-danger" class="alert alert-danger">
40
                    <strong>
11 efrain 41
                        {{#str}} insecurealert_title, tiny_recordrtc {{/str}}
1 efrain 42
                    </strong>
43
                    {{#str}} insecurealert, tiny_recordrtc {{/str}}
44
                </div>
45
            </div>
46
        </div>
47
        <div data-purpose="player-container" class="row">
48
            <div class="col-1"></div>
49
            <div class="col-10">
50
                <audio></audio>
51
            </div>
52
            <div class="col-1"></div>
53
        </div>
54
        <div data-purpose="start-stop-container" class="row">
55
            <div class="col-1"></div>
56
            <div class="col-10">
57
                <button class="btn btn-lg btn-outline-danger btn-block" data-action="startstop">
58
                    {{#str}} startrecording, tiny_recordrtc {{/str}}
59
                </button>
60
            </div>
61
            <div class="col-1"></div>
62
        </div>
63
        <div data-purpose="upload-container" class="row hide">
64
            <div class="col-3"></div>
65
            <div class="col-6">
66
                <button class="btn btn-primary btn-block" 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 }}