first commit

This commit is contained in:
CHIEFSOFT\ameye
2024-09-30 18:11:26 -04:00
commit e592ca6823
27270 changed files with 5002257 additions and 0 deletions
@@ -0,0 +1,62 @@
{{!
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 tool_brickfield/advanced
This template renders advanced page.
Example context (json):
{
"griditems": [
{
"icon": "some-icon-name",
"iconalt": "some-icon-alt",
"heading": "some-heading",
"content": "some-content"
}
]
}
}}
<div id="tool_brickifeld_advanced_page">
<div class="tool_brickfield_banner">
<div class="tool_brickfield_banner_heading">
<h2>{{#str}} bannerheadingone, tool_brickfield{{/str}}</h2>
<img src="pix/i/Brickfield-logo-black.png" alt="Brickfield Logo">
</div>
<p>{{#str}} bannercontentone, tool_brickfield, https://www.brickfield.ie/moodle_talk_to_sales/{{/str}}</p>
</div>
<div class="tool_brickfield_grid">
{{#griditems}}
<div class="tool_brickfield_grid_item">
<div class="tool_brickfield_grid_heading">
<img src="{{icon}}" alt="{{iconalt}}">
<h3>{{heading}}</h3>
</div>
<div class="tool_brickfield_grid_content">
<p>{{content}}</p>
</div>
</div>
{{/griditems}}
</div>
<div class="tool_brickfield_footer">
<h2 class="accesshide">{{#str}} footerheading, tool_brickfield {{/str}}</h2>
<p>{{#str}}bannercontenttwo, tool_brickfield{{/str}}</p>
<a href="https://www.brickfield.ie/moodle_free_demo/">
{{#str}}buttonone, tool_brickfield{{/str}}
</a>
</div>
</div>
@@ -0,0 +1,41 @@
{{!
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 tool_brickfield/chartsingle
This template renders the charts for the different check groups
Example context (json):
{
"title": "Totals"
}
}}
<h3>{{{ title }}}</h3>
<div id="row1" class="row">
{{#chart}}
<div class="col-sm-9">
{{{ chart }}}
</div>
{{/chart}}
{{#chartdesc}}
<div class="col-sm-3">
<h4>{{{ chartdesctitle }}}</h4>
{{{ chartdesc }}}
</div>
{{/chartdesc}}
</div>
@@ -0,0 +1,73 @@
{{!
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 tool_brickfield/errors
This template renders the list view for the errors accessibility report.
Example context (json):
{
"pagetitle": "Error details",
"pagenavigation": " ",
"tableheading1": "Activity",
"tableheading2": "Check",
"tableheading3": "Existing HTML code",
"tableheading4": "Line",
"tableheading5": "Edit",
"tabledata": [
{
"activity": "Book",
"check": "Headings",
"html": "&lt;h3&gt;&lt;/h3&gt;",
"line": 2,
"edit": "<a href=\"link.com\">Edit</a>"
},
{
"activity": "Label",
"check": "Headings",
"html": "&lt;h3&gt;&lt;/h3&gt;",
"line": 4,
"edit": "<a href=\"link.com\">Edit</a>"
}
]
}
}}
<h3>{{{pagetitle}}}</h3>
{{{pagenavigation}}}
<table class="generaltable">
<thead>
<tr>
<th class="header c0" style="width: 30%;" scope="col">{{tableheading1}}</th>
<th class="header c1" style="width: 30%;" scope="col">{{tableheading2}}</th>
<th class="header c2" style="width: 30%;" scope="col">{{tableheading3}}</th>
<th class="header c3" style="width: 5%;" scope="col">{{tableheading4}}</th>
<th class="header c4 lastcol" style="width: 5%;" scope="col">{{{tableheading5}}}</th>
</tr>
</thead>
<tbody>
{{#tabledata}}
<tr>
<td class="cell c0" style="width:30%;">{{activity}}</td>
<td class="cell c1" style="width:30%;">{{check}}</td>
<td class="cell c2 text-break" style="width:30%;">{{html}}</td>
<td class="cell c3" style="width:5%;">{{line}}</td>
<td class="cell c4" style="width:5%;">{{{edit}}}</td>
</tr>
{{/tabledata}}
</tbody>
</table>
@@ -0,0 +1,30 @@
{{!
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 tool_brickfield/norecords
This template renders the empty view for the no records accessibility report.
Example context (json):
{
"pagetitle": "Error details",
"noerrorsfound": "No errors found..."
}
}}
<h3>{{{pagetitle}}}</h3>
<p>{{{noerrorsfound}}}</p>
@@ -0,0 +1,49 @@
{{!
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 tool_brickfield/tabtree
Tab tree.
Example context (json):
{
"tabs": [
{
"active": "true",
"inactive": "false",
"link": [
{
"link": "http://moodle.org"
}
],
"title": "Moodle.org",
"text": "Moodle community",
"id": "taberrors"
}
]
}
}}
<ul class="nav nav-tabs mb-3">
{{#tabs}}
<li class="nav-item"{{#id}} id="{{id}}{{/id}}">
<a class="nav-link{{#active}} active{{/active}}{{#extraclass}} {{extraclass}}{{/extraclass}}{{#inactive}} disabled{{/inactive}}" {{#link}}href="{{{link}}}"{{/link}} title="{{title}}">{{{text}}}</a>
</li>
{{/tabs}}
</ul>
{{#secondrow}}
{{>core/tabtree}}
{{/secondrow}}