1441 |
ariadna |
1 |
<div
|
|
|
2 |
class="filtering-item rui-course-card rui-progress-{{progress}} {{forcedlanguage}}"
|
|
|
3 |
role="listitem"
|
|
|
4 |
data-region="course-content"
|
|
|
5 |
data-course-id="{{id}}"
|
|
|
6 |
data-order="{{id}}"
|
|
|
7 |
data-catid="{{metacoursecatid}}"
|
|
|
8 |
data-filter-teachers="{{metacontacts}}"
|
|
|
9 |
data-filter-lang="{{metalang}}"
|
|
|
10 |
data-filter-title="{{fullname}}"
|
|
|
11 |
{{#showfilter1}}data-filter-{{customfiltertitle1}}="{{metacoursecustomfilter1}}"{{/showfilter1}}
|
|
|
12 |
{{#showfilter2}}data-filter-{{customfiltertitle2}}="{{metacoursecustomfilter2}}"{{/showfilter2}}
|
|
|
13 |
{{#showfilter3}}data-filter-{{customfiltertitle3}}="{{metacoursecustomfilter3}}"{{/showfilter3}}
|
|
|
14 |
{{#showfilter4}}data-filter-{{customfiltertitle4}}="{{metacoursecustomfilter4}}"{{/showfilter4}}
|
|
|
15 |
{{#showfilter5}}data-filter-{{customfiltertitle5}}="{{metacoursecustomfilter5}}"{{/showfilter5}}
|
|
|
16 |
{{#showfilter6}}data-filter-{{customfiltertitle6}}="{{metacoursecustomfilter6}}"{{/showfilter6}}
|
|
|
17 |
>
|
1 |
efrain |
18 |
|
|
|
19 |
{{#forcedlanguage}}
|
|
|
20 |
<div class="rui-course-card-icons--right rui-course-lang">
|
|
|
21 |
<div class="rui-icon-container">{{forcedlanguage}}</div>
|
|
|
22 |
</div>
|
|
|
23 |
{{/forcedlanguage}}
|
|
|
24 |
|
1441 |
ariadna |
25 |
<div class="rui-course-card-wrapper position-relative">
|
|
|
26 |
|
|
|
27 |
<a href="{{config.wwwroot}}/course/view.php?id={{{id}}}" tabindex="-1" class="text-decoration-none">
|
|
|
28 |
<figure class="rui-course-card-img-top" style="background-image: url({{{image}}});" alt="{{#str}}courseoverviewfiles, moodle {{/str}}"><span class="sr-only">{{#str}}courseoverviewfiles, moodle {{/str}}" {{{fullname}}}</span></figure>
|
|
|
29 |
</a>
|
1 |
efrain |
30 |
|
1441 |
ariadna |
31 |
<div class="rui-course-card-body">
|
|
|
32 |
<div class="d-flex flex-wrap">
|
|
|
33 |
<span class="sr-only">
|
|
|
34 |
{{#str}}courseoverviewfiles, moodle{{/str}}
|
|
|
35 |
</span>
|
1 |
efrain |
36 |
|
1441 |
ariadna |
37 |
{{^visible}}
|
|
|
38 |
<div class="d-inline-flex flex-wrap mb-2">
|
|
|
39 |
<span class="rui-course-hidden-badge">
|
|
|
40 |
<svg class="mr-1" width="16" height="16" fill="none" viewBox="0 0 24 24">
|
|
|
41 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18.6247 10C19.0646 10.8986 19.25 11.6745 19.25 12C19.25 13 17.5 18.25 12 18.25C11.2686 18.25 10.6035 18.1572 10 17.9938M7 16.2686C5.36209 14.6693 4.75 12.5914 4.75 12C4.75 11 6.5 5.75 12 5.75C13.7947 5.75 15.1901 6.30902 16.2558 7.09698"></path>
|
|
|
42 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19.25 4.75L4.75 19.25"></path>
|
|
|
43 |
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.409 13.591C9.53033 12.7123 9.53033 11.2877 10.409 10.409C11.2877 9.5303 12.7123 9.5303 13.591 10.409"></path>
|
|
|
44 |
</svg>
|
|
|
45 |
{{#str}} hiddenfromstudents {{/str}}
|
|
|
46 |
</span>
|
|
|
47 |
</div>
|
|
|
48 |
{{/visible}}
|
|
|
49 |
|
|
|
50 |
</div>
|
|
|
51 |
|
|
|
52 |
{{#category}}
|
|
|
53 |
<div class="w-100">
|
|
|
54 |
<div class="rui-course-cat-badge">
|
|
|
55 |
<div class="text-truncate">{{{category}}}</div>
|
1 |
efrain |
56 |
</div>
|
|
|
57 |
</div>
|
1441 |
ariadna |
58 |
{{/category}}
|
|
|
59 |
|
|
|
60 |
<div class="d-flex mb-1">
|
|
|
61 |
<h4 class="rui-course-card-title mb-1">
|
|
|
62 |
<a href="{{config.wwwroot}}/course/view.php?id={{{id}}}" class="aalink coursename">
|
|
|
63 |
<span class="sr-only">
|
|
|
64 |
{{#str}}aria:coursename, core_course{{/str}}
|
|
|
65 |
</span>
|
|
|
66 |
{{{fullname}}}
|
|
|
67 |
</a>
|
|
|
68 |
</h4>
|
|
|
69 |
</div>
|
|
|
70 |
|
1 |
efrain |
71 |
{{#cccsummary}}
|
1441 |
ariadna |
72 |
<div class="rui-course-card-text">
|
|
|
73 |
<span class="sr-only">{{#str}}aria:coursesummary, block_myoverview{{/str}}</span>
|
|
|
74 |
{{#shortentext}}{{coursecarddesclimit}}, {{{summary}}}{{/shortentext}}
|
|
|
75 |
</div>
|
1 |
efrain |
76 |
{{/cccsummary}}
|
|
|
77 |
|
1441 |
ariadna |
78 |
{{#cccteachers}}
|
|
|
79 |
{{#hascontacts}}
|
|
|
80 |
<div class="rui-card-course-contacts">
|
|
|
81 |
{{#contacts}}
|
|
|
82 |
<a href="{{config.wwwroot}}/user/profile.php?id={{{id}}}" class="rui-card-contact rui-user-{{{role}}} text-decoration-none" data-bs-placement="top" role="button" data-title="{{{fullname}}} - {{{role}}}">
|
|
|
83 |
<img src="{{{userpicture}}}" class="rui-card-avatar" alt="{{{fullname}}}" />
|
|
|
84 |
</a>
|
|
|
85 |
{{/contacts}}
|
|
|
86 |
</div>
|
|
|
87 |
{{/hascontacts}}
|
|
|
88 |
{{/cccteachers}}
|
|
|
89 |
|
|
|
90 |
{{#hasprogress}}
|
|
|
91 |
<div class="rui-course-card-progress-bar">
|
|
|
92 |
{{> block_myoverview/progress-bar}}
|
|
|
93 |
</div>
|
|
|
94 |
{{/hasprogress}}
|
|
|
95 |
|
|
|
96 |
{{#coursedates}}
|
|
|
97 |
<div class="rui-custom-field-contaner">
|
|
|
98 |
{{{coursedates}}}
|
|
|
99 |
</div>
|
|
|
100 |
{{/coursedates}}
|
|
|
101 |
|
1 |
efrain |
102 |
{{#showcustomfields}}
|
1441 |
ariadna |
103 |
<div class="rui-custom-field-contaner">
|
1 |
efrain |
104 |
{{{customfields}}}
|
1441 |
ariadna |
105 |
</div>
|
1 |
efrain |
106 |
{{/showcustomfields}}
|
1441 |
ariadna |
107 |
|
1 |
efrain |
108 |
</div>
|
|
|
109 |
</div>
|
|
|
110 |
|
1441 |
ariadna |
111 |
</div>
|