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/mobile_view_page_latest
19
 
20
    This template renders the mobile page.
21
 
22
    Example context (json):
23
    {
24
        "bigbluebuttonbn.intro": "foo",
25
        "cmid": 3,
26
        "message": "A message",
27
        "errors": [
28
          {"error": "aaa"},
29
          {"error": "bbb"}
30
        ],
31
        "urltojoin": "http://foo"
32
    }
33
}}
34
{{=<% %>=}}
35
<div>
36
    <%#msjgroup%>
37
        <div style="color:#856404; background-color: #fff3cd; padding-right: 35px; border-color: #ffeeba; padding: 15px; margin-bottom: 20px;">
38
        <% message %>
39
        </div>
40
    <%/msjgroup%>
41
    <div id="bigbluebuttonbn-mobile-notifications" style="display:none; color:#31708f; background-color: #d9edf7; padding-right: 35px; border-color: #bce8f1; padding: 15px; margin-bottom: 20px;">
42
    {{ 'plugin.mod_bigbluebuttonbn.view_mobile_message_reload_page_creation_time_meeting' | translate }}
43
    </div>
44
    <core-course-module-description description="<% bigbluebuttonbn.intro %>" component="mod_bigbluebuttonbn" componentId="<% cmid %>"></core-course-module-description>
45
    <ion-list>
46
         <%#errors%>
47
            <ion-item class="ion-text-wrap">
48
                <ion-label>
49
                    <% error %>
50
                </ion-label>
51
            </ion-item>
52
        <%/errors%>
53
        <%^errors%>
54
            <ion-item class="ion-text-wrap" id="bigbluebuttonbn-mobile-meetingready">
55
                <ion-label>
56
                    {{ 'plugin.mod_bigbluebuttonbn.view_message_conference_room_ready' | translate }}
57
                </ion-label>
58
            </ion-item>
59
            <ion-button id="bigbluebuttonbn-mobile-join" class="ion-margin" expand="block" onclick="window.open('<% urltojoin %>', '_system');">
60
                {{ 'plugin.mod_bigbluebuttonbn.view_conference_action_join' | translate }}
61
            </ion-button>
62
        <%/errors%>
63
    </ion-list>
64
</div>