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 tool_brickfield/advanced
|
|
|
19 |
|
|
|
20 |
This template renders advanced page.
|
|
|
21 |
|
|
|
22 |
Example context (json):
|
|
|
23 |
{
|
|
|
24 |
"griditems": [
|
|
|
25 |
{
|
|
|
26 |
"icon": "some-icon-name",
|
|
|
27 |
"iconalt": "some-icon-alt",
|
|
|
28 |
"heading": "some-heading",
|
|
|
29 |
"content": "some-content"
|
|
|
30 |
}
|
|
|
31 |
]
|
|
|
32 |
}
|
|
|
33 |
}}
|
|
|
34 |
<div id="tool_brickifeld_advanced_page">
|
|
|
35 |
<div class="tool_brickfield_banner">
|
|
|
36 |
<div class="tool_brickfield_banner_heading">
|
|
|
37 |
<h2>{{#str}} bannerheadingone, tool_brickfield{{/str}}</h2>
|
|
|
38 |
<img src="pix/i/Brickfield-logo-black.png" alt="Brickfield Logo">
|
|
|
39 |
</div>
|
|
|
40 |
<p>{{#str}} bannercontentone, tool_brickfield, https://www.brickfield.ie/moodle_talk_to_sales/{{/str}}</p>
|
|
|
41 |
</div>
|
|
|
42 |
<div class="tool_brickfield_grid">
|
|
|
43 |
{{#griditems}}
|
|
|
44 |
<div class="tool_brickfield_grid_item">
|
|
|
45 |
<div class="tool_brickfield_grid_heading">
|
|
|
46 |
<img src="{{icon}}" alt="{{iconalt}}">
|
|
|
47 |
<h3>{{heading}}</h3>
|
|
|
48 |
</div>
|
|
|
49 |
<div class="tool_brickfield_grid_content">
|
|
|
50 |
<p>{{content}}</p>
|
|
|
51 |
</div>
|
|
|
52 |
</div>
|
|
|
53 |
{{/griditems}}
|
|
|
54 |
</div>
|
|
|
55 |
<div class="tool_brickfield_footer">
|
|
|
56 |
<h2 class="accesshide">{{#str}} footerheading, tool_brickfield {{/str}}</h2>
|
|
|
57 |
<p>{{#str}}bannercontenttwo, tool_brickfield{{/str}}</p>
|
|
|
58 |
<a href="https://www.brickfield.ie/moodle_free_demo/">
|
|
|
59 |
{{#str}}buttonone, tool_brickfield{{/str}}
|
|
|
60 |
</a>
|
|
|
61 |
</div>
|
|
|
62 |
</div>
|