| 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_ionic3
 | 
        
           |  |  | 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 text-wrap>
 | 
        
           |  |  | 48 |                 <% error %>
 | 
        
           |  |  | 49 |             </ion-item>
 | 
        
           |  |  | 50 |         <%/errors%>
 | 
        
           |  |  | 51 |         <%^errors%>
 | 
        
           |  |  | 52 |             <ion-item text-wrap id="bigbluebuttonbn-mobile-meetingready">
 | 
        
           |  |  | 53 |                 {{ 'plugin.mod_bigbluebuttonbn.view_message_conference_room_ready' | translate }}
 | 
        
           |  |  | 54 |             </ion-item>
 | 
        
           |  |  | 55 |             <ion-item>
 | 
        
           |  |  | 56 |                 <button id="bigbluebuttonbn-mobile-join" ion-button block onclick="window.open('<% urltojoin %>', '_system');">
 | 
        
           |  |  | 57 |                     {{ 'plugin.mod_bigbluebuttonbn.view_conference_action_join' | translate }}
 | 
        
           |  |  | 58 |                 </button>
 | 
        
           |  |  | 59 |             </ion-item>
 | 
        
           |  |  | 60 |         <%/errors%>
 | 
        
           |  |  | 61 |     </ion-list>
 | 
        
           |  |  | 62 | </div>
 |