MDL-65184 theme_classic: Remove unused footer template

This commit is contained in:
Mathew May 2019-04-05 11:06:27 +08:00
parent 9d4f4f0051
commit 07746974c8

View file

@ -1,54 +0,0 @@
{{!
This file is part of Moodle - http://moodle.org/
Moodle is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Moodle is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
}}
{{!
@template theme_classic/footer
This template renders the page footer.
Example context (json):
{
"output": {
"course_footer": "Course footer html",
"page_doc_link": "<a href='http://localhost/help'>Moodle docs for this page</a>",
"login_info": "You are logged in as User <a href='http://localhost'>Log out</a>",
"standard_footer_html": "<a href='http://localhost'>Purge all caches</a>",
"standard_end_of_body_html": "Footer Javascript"
}
}
}}
<footer id="page-footer" class="mt-1 py-3 bg-dark text-light">
<div class="container">
<div id="course-footer">{{{ output.course_footer }}}</div>
{{# output.page_doc_link }}
<p class="helplink">{{{ output.page_doc_link }}}</p>
{{/ output.page_doc_link }}
{{{ output.login_info }}}
<div class="tool_usertours-resettourcontainer"></div>
{{{ output.home_link }}}
<nav class="nav navbar-nav d-md-none">
{{# output.custom_menu_flat }}
<ul class="list-unstyled pt-3">
{{> theme_boost/custom_menu_footer }}
</ul>
{{/ output.custom_menu_flat }}
</nav>
{{{ output.standard_footer_html }}}
{{{ output.standard_end_of_body_html }}}
</div>
</footer>