Skip to content
Snippets Groups Projects
Commit 3d813f14 authored by Alexander Bias's avatar Alexander Bias
Browse files

Make Mustache lint happier

parent 3fe36aab
No related branches found
No related tags found
No related merge requests found
......@@ -24,11 +24,13 @@
"activitynode": {
"text": "Root of menu",
"key": "test0",
"action": "https://mymoodle.org/action",
"display": true,
"children": [
{
"text": "Child of menu",
"key": "test1",
"action": "https://mymoodle.org/action",
"display": true,
"children": []
}
......@@ -44,7 +46,6 @@
}}
<div id="boost-campus-activity-settings" class="card">
<h2>{{incourse_activitynode_heading}}</h2>
<div class="mx-2 pt-2">
<ul class="nav nav-tabs" role="tablist">
<!-- First the top most activitynode and immediate children -->
......
......@@ -55,13 +55,13 @@
"navdraweropen":true,
"regionmainsettingsmenu": "",
"hasregionmainsettingsmenu": false,
"pagebottomelements": "".,
"pagebottomelements": "",
"timedinfobannershowonselectedpage": true,
"timedibcontent": "This is a test content for perpetual info banner.",
"timedibcss": danger,
"timedibcontent": "This is a test content for timed info banner.",
"timedibcss": "danger",
"perpinfobannershowonselectedpage": true,
"perpibcontent": "This is a test content for perpetual info banner.",
"perpibcss": primary,
"perpibcss": "primary",
"perpibdismiss": true,
"infobannerconfirmationdialogue": true,
"bcbttbutton": true
......
......@@ -27,8 +27,6 @@
"navbar": "navbar_if_available",
"courseheader": "course_header_html"
}
Page header.
}}
{{! MODIFICATION:
* Changed the order of the settingsmenu item.
......
......@@ -31,11 +31,10 @@
"hasimagearea": true,
"imageareafiles": {
"filepath": "/pix/moodlelogo.png",
"linkpath": "http://moodle.org"
"linkpath": "http://moodle.org",
"alttext": "Moodle logo"
}
}
}}
{{#hasimagearea}}
......
......@@ -19,33 +19,36 @@
Login page template
Context variables required for this template:
* pagebottomelements - HTML for all additional layout elements: the footnote.
* timedinfobannershowonselectedpage - true if the time controlled info banner should be displayed.
* timedetualinfobannercontent - The content that should be shown in the time controled information banner.
* timedetualinfobannercssclass - The Bootstrap class that is used for the time controlled info banner.
* perpinfobannershowonselectedpage - true if the info banner should be displayed.
* perpibcontent - The content that should be shown in the information banner.
* perpibcss - The Bootstrap class that is used for the info banner.
Example context (json):
{
"output": {
"doctype": "<!DOCTYPE html>",
"page_title": "Login page",
"favicon": "favicon.ico",
"main_content": "<h1>Headers keep HTML validators happy</h1>",
"main_content": "<h1>Headers keep HTML validators happy</h1>"
},
"timedinfobannershowonselectedpage": true,
"timedibcontent": "This is a test content for perpetual info banner.",
"timedibcss": danger,
"timedibcontent": "This is a test content for timed info banner.",
"timedibcss": "danger",
"perpinfobannershowonselectedpage": true,
"perpibcontent": "This is a test content.",
"perpibcss": primary,
"perpibcontent": "This is a test content for perpetual info banner.",
"perpibcss": "primary",
"perpibdismiss": true
}
* pagebottomelements - HTML for all additional layout elements: the footnote.
* timedinfobannershowonselectedpage - true if the time controlled info banner should be displayed.
* timedetualinfobannercontent - The content that should be shown in the time controled information banner.
* timedetualinfobannercssclass - The Bootstrap class that is used for the time controlled info banner.
* perpinfobannershowonselectedpage - true if the info banner should be displayed.
* perpibcontent - The content that should be shown in the information banner.
* perpibcss - The Bootstrap class that is used for the info banner.
}
}}
{{! MODIFICATION:
* Add own additional layout elements: the footnote.
* Added the possibility to show information banners.
* Added the login background image text elements.
}}
{{> theme_boost/head }}
......@@ -103,7 +106,6 @@
{{> theme_boost_campus/footnote }}
</div>
</body>
</html>
{{#js}}
......
......@@ -24,11 +24,13 @@
"node": {
"text": "Root of menu",
"key": "test0",
"action": "https://mymoodle.org/action",
"display": true,
"children": [
{
"text": "Child of menu",
"key": "test1",
"action": "https://mymoodle.org/action",
"display": true,
"children": []
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment