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_zoom/mobile_view_page_latest
19
 
20
    Page to view a zoom meeting
21
 
22
    Classes required for JS:
23
    * none
24
 
25
    Data attributes required for JS:
26
    * none
27
 
28
    Example context (json):
29
    {
30
        "zoom": {
31
            "intro": "Introduction String",
32
            "password": "9836451",
33
            "recurring": 1,
34
            "webinar": 1,
35
            "option_host_video": 1,
36
            "option_jbh": 1,
37
            "option_participants_video": 1
38
        },
39
        "available": true,
40
        "status": "Finished",
41
        "start_time": "Tuesday, June 29, 2021, 1:30 PM",
42
        "duration": "1 hour",
43
        "option_audio": "Computer audio and Telephone",
44
        "cmid": 3,
45
        "courseid": 3
46
    }
47
}}
48
{{=<% %>=}}
49
<div>
50
    <core-course-module-description description="<% zoom.intro %>" component="mod_zoom" componentId="<% cmid %>"></core-course-module-description>
51
 
52
    <ion-list>
53
        <%#available%>
54
            <ion-button class="ion-margin" expand="block" color="light" core-site-plugins-call-ws name="mod_zoom_grade_item_update" [params]="{zoomid: <% cmid %>}" [preSets]="{getFromCache: 0, saveToCache: 0}" (onSuccess)="loadMeeting($event)">
55
                {{ 'plugin.mod_zoom.join_meeting' | translate }}
56
            </ion-button>
57
        <%/available%>
58
        <%^available%>
59
            <ion-item>
60
                <ion-label>
61
                    <p>{{ 'plugin.mod_zoom.unavailable' | translate }}</p>
62
                </ion-label>
63
            </ion-item>
64
        <%/available%>
65
 
66
        <%#zoom.recurring%>
67
            <ion-item>
68
                <ion-label>
69
                    <p class="item-heading">{{ 'plugin.mod_zoom.recurringmeetinglong' | translate }}</p>
70
                </ion-label>
71
            </ion-item>
72
        <%/zoom.recurring%>
73
        <%^zoom.recurring%>
74
            <ion-item>
75
                <ion-label>
76
                    <p class="item-heading">{{ 'plugin.mod_zoom.meeting_time' | translate }}</p>
77
                    <p><% start_time %></p>
78
                </ion-label>
79
            </ion-item>
80
            <ion-item>
81
                <ion-label>
82
                    <p class="item-heading">{{ 'plugin.mod_zoom.duration' | translate }}</p>
83
                    <p><% duration %></p>
84
                </ion-label>
85
            </ion-item>
86
        <%/zoom.recurring%>
87
 
88
        <ion-item>
89
            <ion-label>
90
                <p class="item-heading">{{ 'plugin.mod_zoom.passwordprotected' | translate }}</p>
91
                <%#zoom.password%><p>{{ 'core.yes' | translate }}</p><%/zoom.password%>
92
                <%^zoom.password%><p>{{ 'core.no' | translate }}</p><%/zoom.password%>
93
            </ion-label>
94
        </ion-item>
95
 
96
        <%^zoom.webinar%>
97
            <ion-item>
98
                <ion-label>
99
                    <p class="item-heading">{{ 'plugin.mod_zoom.joinbeforehost' | translate }}</p>
100
                    <%#zoom.option_jbh%><p>{{ 'core.yes' | translate }}</p><%/zoom.option_jbh%>
101
                    <%^zoom.option_jbh%><p>{{ 'core.no' | translate }}</p><%/zoom.option_jbh%>
102
                </ion-label>
103
            </ion-item>
104
            <ion-item>
105
                <ion-label>
106
                    <p class="item-heading">{{ 'plugin.mod_zoom.starthostjoins' | translate }}</p>
107
                    <%#zoom.option_host_video%><p>{{ 'core.yes' | translate }}</p><%/zoom.option_host_video%>
108
                    <%^zoom.option_host_video%><p>{{ 'core.no' | translate }}</p><%/zoom.option_host_video%>
109
                </ion-label>
110
            </ion-item>
111
            <ion-item>
112
                <ion-label>
113
                    <p class="item-heading">{{ 'plugin.mod_zoom.startpartjoins' | translate }}</p>
114
                    <%#zoom.option_participants_video%><p>{{ 'core.yes' | translate }}</p><%/zoom.option_participants_video%>
115
                    <%^zoom.option_participants_video%><p>{{ 'core.no' | translate }}</p><%/zoom.option_participants_video%>
116
                </ion-label>
117
            </ion-item>
118
        <%/zoom.webinar%>
119
 
120
        <ion-item>
121
            <ion-label>
122
                <p class="item-heading">{{ 'plugin.mod_zoom.option_audio' | translate }}</p>
123
                <p><% option_audio %></p>
124
            </ion-label>
125
        </ion-item>
126
 
127
        <%^zoom.recurring%>
128
            <ion-item>
129
                <ion-label>
130
                    <p class="item-heading">{{ 'plugin.mod_zoom.status' | translate }}</p>
131
                    <p><% status %></p>
132
                </ion-label>
133
            </ion-item>
134
        <%/zoom.recurring%>
135
    </ion-list>
136
</div>