Merge branch 'MDL-69251-311' of https://github.com/snake/moodle into MOODLE_311_STABLE
[moodle.git] / lib / templates / auth_verify_age_location_page.mustache
bloba1659aad2b8a0be42f5cea25c666a4aef24f41c1
1 {{!
2     This file is part of Moodle - http://moodle.org/
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.
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.
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/>.
17 {{!
18     @template core_auth/output/verify_age_location_page
20     Example context (json):
21     {
22         "logourl": "https://moodle.org/logo/moodle-logo.svg",
23         "sitename": "Site name",
24         "error": "Error message",
25         "formhtml": "(Form html would go here)"
26     }
28 <div class="container-fluid mt-1 mt-md-5">
29     <div class="row justify-content-md-center">
30         <div class="col-md-8 push-md-2 col-xl-6 push-xl-3">
31             <div class="card">
32                 <div class="card-body">
33                     <div class="card-title text-xs-center">
34                         {{#logourl}}
35                             <h2><img src="{{logourl}}" title="{{sitename}}" alt="{{sitename}}"/></h2>
36                         {{/logourl}}
37                         {{^logourl}}
38                             <h2>{{sitename}}</h2>
39                         {{/logourl}}
40                         <hr>
41                     </div>
42                     {{#error}}
43                         <div class="alert alert-danger" role="alert" data-aria-autofocus="true">
44                             {{{error}}}
45                         </div>
46                     {{/error}}
47                     <div class="card-title">
48                         <h3>{{#str}}agelocationverification{{/str}}</h3>
49                     </div>
50                     <div class="mt-2 mb-2">
51                         {{{formhtml}}}
52                     </div>
53                     <hr>
54                     <div class="card-title">
55                         <h3>{{#str}}whyisthisrequired{{/str}}</h3>
56                     </div>
57                     <div class="mt-1">
58                         <p >{{#str}}explanationdigitalminor{{/str}}</p>
59                     </div>
60                 </div>
61             </div>
62         </div>
63     </div>
64 </div>