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 theme_classic/footer
|
|
|
19 |
|
|
|
20 |
Page footer.
|
|
|
21 |
|
|
|
22 |
Example context (json):
|
|
|
23 |
{
|
|
|
24 |
"output": {
|
|
|
25 |
"course_footer": "More information about this course",
|
|
|
26 |
"page_doc_link": "<a href='https://docs.moodle.org/'>Documentation for this page</a>",
|
|
|
27 |
"login_info": "You are logged in as cute kitten",
|
|
|
28 |
"supportemail": "<a href=\"#\">Contact site support</a>",
|
|
|
29 |
"services_support_link": "Services and support"
|
|
|
30 |
}
|
|
|
31 |
}
|
|
|
32 |
}}
|
|
|
33 |
<footer id="page-footer" class="footer-dark bg-dark text-light">
|
|
|
34 |
<div class="container footer-dark-inner">
|
|
|
35 |
<div id="course-footer">{{{ output.course_footer }}}</div>
|
|
|
36 |
{{#output.has_communication_links}}
|
|
|
37 |
<button onclick="window.open('{{output.communication_url}}', '_blank', 'noreferrer')" class="btn btn-icon bg-primary text-white icon-no-margin btn-footer-communication" aria-label="{{#str}}communicationroomlink, course{{/str}}">
|
|
|
38 |
{{#pix}}t/messages-o, core{{/pix}}
|
|
|
39 |
</button>
|
|
|
40 |
{{/output.has_communication_links}}
|
|
|
41 |
<div class="pb-3">
|
|
|
42 |
{{#output.has_communication_links}}
|
|
|
43 |
<div class="footer-section footer-link-communication">
|
|
|
44 |
<div class="footer-support-link">{{{ output.communication_link }}}</div>
|
|
|
45 |
</div>
|
|
|
46 |
{{/output.has_communication_links}}
|
|
|
47 |
{{# output.page_doc_link }}
|
|
|
48 |
<div class="footer-support-link">{{{ output.page_doc_link }}}</div>
|
|
|
49 |
{{/ output.page_doc_link }}
|
|
|
50 |
{{# output.services_support_link }}
|
|
|
51 |
<div class="footer-support-link">{{{ output.services_support_link }}}</div>
|
|
|
52 |
{{/ output.services_support_link }}
|
|
|
53 |
{{# output.supportemail }}
|
|
|
54 |
<div class="footer-support-link">{{{ output.supportemail }}}</div>
|
|
|
55 |
{{/ output.supportemail }}
|
|
|
56 |
</div>
|
|
|
57 |
|
|
|
58 |
{{{ output.login_info }}}
|
|
|
59 |
<div class="tool_usertours-resettourcontainer"></div>
|
|
|
60 |
{{{ output.home_link }}}
|
|
|
61 |
<nav class="nav navbar-nav d-md-none" aria-label="{{#str}}custommenu, admin{{/str}}">
|
|
|
62 |
{{# output.custom_menu_flat }}
|
|
|
63 |
<ul class="list-unstyled pt-3">
|
|
|
64 |
{{> theme_boost/custom_menu_footer }}
|
|
|
65 |
</ul>
|
|
|
66 |
{{/ output.custom_menu_flat }}
|
|
|
67 |
</nav>
|
|
|
68 |
{{{ output.standard_footer_html }}}
|
|
|
69 |
{{{ output.debug_footer_html }}}
|
|
|
70 |
{{{ output.standard_end_of_body_html }}}
|
|
|
71 |
</div>
|
|
|
72 |
</footer>
|