Proyectos de Subversion Moodle

Rev

| 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 mod_bigbluebuttonbn/view_page
19
 
20
    This template renders the /view.php page.
21
 
22
    Example context (json):
23
    {
24
        "instanceid": 1234,
25
        "meetingname": "My first meeting",
26
        "meetingdescription": "This is my <strong>first</strong> meeting!",
27
        "serverwarning": true,
28
        "sitenotification": {
29
            "message": "Unlock premium feature",
30
            "actions": [
31
                {
32
                    "url": "https://example.com/",
33
                    "name": "action",
34
                    "value": "buy",
35
                    "title": "Upgrade now"
36
                }
37
            ]
38
        },
39
        "pollinterval": 5
40
    }
41
 
42
}}
43
{{{groupselector}}}
44
 
45
{{#serverwarning}}
46
  {{>core/notification}}
47
{{/serverwarning}}
48
 
49
{{#sitenotification}}
50
  {{>core/local/notification/cta}}
51
{{/sitenotification}}
52
 
53
<h3>{{meetingname}}</h3>
54
 
55
<h5>{{{meetingdescription}}}</h5>
56
 
57
{{#room}}
58
    {{>mod_bigbluebuttonbn/room_view}}
59
{{/room}}
60
 
61
 
62
 
63
{{#recordings}}
64
    {{>mod_bigbluebuttonbn/recordings_session}}
65
{{/recordings}}
66
 
67
{{#js}}
68
require(['mod_bigbluebuttonbn/rooms'], function(rooms) {
69
    // Register action on all buttons.
70
    rooms.init(
71
        {{instanceid}},
72
        {{pollinterval}}
73
        );
74
    });
75
{{/js}}