Merge branch 'MDL-75910-311' of https://github.com/andrewnicols/moodle into MOODLE_31...
[moodle.git] / lib / templates / auth_digital_minor_page.mustache
blob7ee6759db36c68dad41bf72c436fa9adf6d52137
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/digital_minor_page
20     Example context (json):
21     {
22         "logourl": "https://moodle.org/logo/moodle-logo.svg",
23         "sitename": "Site name",
24         "supportname": "John Doe",
25         "supportemail": "johndoe@example.com",
26         "homelink": "/"
27     }
29 <div class="container-fluid mt-1 mt-md-5">
30     <div class="row justify-content-md-center">
31         <div class="col-md-8 push-md-2 col-xl-6 push-xl-3">
32             <div class="card">
33                 <div class="card-body">
34                     <div class="card-title text-xs-center">
35                         {{#logourl}}
36                             <h2><img src="{{logourl}}" title="{{sitename}}" alt="{{sitename}}"/></h2>
37                         {{/logourl}}
38                         {{^logourl}}
39                             <h2>{{sitename}}</h2>
40                         {{/logourl}}
41                         <hr>
42                     </div>
43                      <div class="card-title">
44                         <h3>{{#str}}considereddigitalminor{{/str}}</h3>
45                     </div>
46                     <div class="pt-3 pb-5">
47                         <p>{{#str}}digitalminor_desc{{/str}}</p>
48                         <p class="mb-0">{{{supportname}}}</p>
49                         <p class="mb-0">{{{supportemail}}}</p>
50                     </div>
51                     <div class="backlink">
52                         <a href="{{homelink}}">{{#str}}backtohome{{/str}}</a>
53                     </div>
54                 </div>
55             </div>
56         </div>
57     </div>
58 </div>