Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
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 core_contentbank/bankcontent
19
 
20
    Example context (json):
21
    {
22
        "contents": [
23
            {
24
                "name": "Accordion.h5p",
25
                "title": "accordion.h5p",
26
                "timemodified": 1589792272,
27
                "size": "699.3KB",
28
                "bytes": 716126,
29
                "type": "Archive (H5P)",
30
                "author": "Admin user",
31
                "link": "http://something/contentbank/contenttype/h5p/view.php?url=http://something/pluginfile.php/1/contentbank/public/accordion.h5p",
32
                "icon" : "http://something/theme/image.php/universe/core/1581597850/f/h5p-64",
33
                "visibilityunlisted": true
34
            },
35
            {
36
                "name": "resume.pdf",
37
                "title": "resume",
38
                "timemodified": 1589792039,
39
                "size": "699.3KB",
40
                "uses": 3,
41
                "bytes": 716126,
42
                "type": "Archive (PDF)",
43
                "author": "Admin user",
44
                "icon": "http://something/theme/image.php/universe/core/1584597850/f/pdf-64",
45
                "visibilityunlisted": false
46
            }
47
        ],
48
        "tools": [
49
            {
50
                "name": "Add",
51
                "dropdown": true,
52
                "link": "http://something/contentbank/edit.php?contextid=1",
53
                "contenttypes": [
54
                    {
55
                        "name": "H5P Interactive Content",
56
                        "baseurl": "http://something/contentbank/edit.php?contextid=1&plugin=h5p",
57
                        "types": [
58
                            {
59
                                "typename": "H5P Interactive Content"
60
                            },
61
                            {
62
                                "typename": "Accordion",
63
                                "typeeditorparams": "library=Accordion-1.4",
64
                                "typeicon": "http://something/pluginfile.php/1/core_h5p/libraries/13/H5P.Accordion-1.4/icon.svg"
65
                            }
66
                        ]
67
                    }
68
                ]
69
            },
70
            {
71
                "name": "Upload",
72
                "link": "http://something/contentbank/contenttype/h5p/view.php?url=http://something/pluginfile.php/1/contentbank/public/accordion.h5p",
73
                "icon" : "i/upload"
74
            },
75
            {
76
                "icon": "i/export"
77
            }
78
        ],
79
        "allowedcontexts": [
80
            {
81
                "name": "contextid",
82
                "method": "get",
83
                "action": "http://localhost/stable_master/contentbank/index.php",
84
                "options": [
85
                    {
86
                        "value": "1",
87
                        "name": "System",
88
                        "selected": true,
89
                        "optgroup": false
90
                    },
91
                    {
92
                        "value": "32",
93
                        "name": "Category 1",
94
                        "selected": false,
95
                        "optgroup": false
96
                    }
97
                ]
98
            }
99
        ]
100
    }
101
 
102
}}
103
 
104
<div class="content-bank-container {{#viewlist}}view-list{{/viewlist}} {{^viewlist}}view-grid{{/viewlist}}"
105
data-region="contentbank">
106
    <div class="d-flex justify-content-between flex-column flex-wrap flex-sm-row pb-2 mb-4 border-bottom">
107
        <div class="cb-search-container mb-2">
108
            {{>core_contentbank/bankcontent/search}}
109
        </div>
110
        <div class="cb-toolbar-container mb-2 d-flex">
111
            {{>core_contentbank/bankcontent/toolbar}}
112
        </div>
113
        <div class="cb-navigation-container mb-2">
114
            {{>core_contentbank/bankcontent/navigation}}
115
        </div>
116
    </div>
117
    <div class="rui-content-bank">
118
        <div class="content-bank">
119
            <div class="cb-navbar">
120
                <div class="cb-navbar-breadbrumb">
121
                </div>
122
                <div class="cb-navbar-totalsearch badge badge-success d-none">
123
                </div>
124
            </div>
125
            {{#contents.0}}
126
                <div class="cb-content-wrapper d-flex px-2" data-region="filearea">
127
                    <div class="cb-heading bg-white">
128
                        <div class="cb-file cb-column d-flex">
129
                            <div class="title">{{#str}} contentname, contentbank {{/str}}</div>
130
                            <button class="btn-icon--sm btn-secondary cb-btnsort dir-none ml-auto" data-string="contentname" data-action="sortname"
131
                                title="{{#str}} sortbyx, core, {{#str}} contentname, contentbank {{/str}} {{/str}}">
132
                                <span class="default">
133
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
134
                                        <path d="M4.75 7C4.33579 7 4 7.33579 4 7.75C4 8.16421 4.33579 8.5 4.75 8.5V7ZM19.25 8.5C19.6642 8.5 20 8.16421 20 7.75C20 7.33579 19.6642 7 19.25 7V8.5ZM4.75 8.5H19.25V7H4.75V8.5Z" fill="currentColor"></path>
135
                                        <path d="M6.75 11C6.33579 11 6 11.3358 6 11.75C6 12.1642 6.33579 12.5 6.75 12.5V11ZM17.25 12.5C17.6642 12.5 18 12.1642 18 11.75C18 11.3358 17.6642 11 17.25 11V12.5ZM6.75 12.5H17.25V11H6.75V12.5Z" fill="currentColor"></path>
136
                                        <path d="M8.75 15C8.33579 15 8 15.3358 8 15.75C8 16.1642 8.33579 16.5 8.75 16.5V15ZM15.25 16.5C15.6642 16.5 16 16.1642 16 15.75C16 15.3358 15.6642 15 15.25 15V16.5ZM8.75 16.5H15.25V15H8.75V16.5Z" fill="currentColor"></path>
137
                                    </svg>
138
                                </span>
139
                                <span class="desc">
140
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
141
                                        <path d="M9.25 14L4.75 14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
142
                                        <path d="M11.25 18.25L4.75 18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
143
                                        <path d="M8.25 9.75L4.75 9.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
144
                                        <path d="M12.75 14.75L16 18.25L19.25 14.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
145
                                        <path d="M16 5.75V18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
146
                                    </svg>
147
                                </span>
148
                                <span class="asc">
149
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
150
                                        <path d="M9.25 10L4.75 10" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
151
                                        <path d="M11.25 5.75L4.75 5.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
152
                                        <path d="M8.25 14.25L4.75 14.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
153
                                        <path d="M12.75 9.25L16 5.75L19.25 9.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
154
                                        <path d="M16 6.5V18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
155
                                    </svg>
156
                                </span>
157
                            </button>
158
                        </div>
159
                        <div class="cb-uses cb-column d-flex">
160
                            <div class="title">{{#str}} uses, contentbank {{/str}}</div>
161
                            <button class="btn-icon--sm btn-secondary cb-btnsort dir-none ml-auto" data-string="uses" data-action="sortuses"
162
                            title="{{#str}} sortbyx, core, {{#str}} uses, contentbank {{/str}} {{/str}}">
163
                                <span class="default">
164
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
165
                                        <path d="M4.75 7C4.33579 7 4 7.33579 4 7.75C4 8.16421 4.33579 8.5 4.75 8.5V7ZM19.25 8.5C19.6642 8.5 20 8.16421 20 7.75C20 7.33579 19.6642 7 19.25 7V8.5ZM4.75 8.5H19.25V7H4.75V8.5Z" fill="currentColor"></path>
166
                                        <path d="M6.75 11C6.33579 11 6 11.3358 6 11.75C6 12.1642 6.33579 12.5 6.75 12.5V11ZM17.25 12.5C17.6642 12.5 18 12.1642 18 11.75C18 11.3358 17.6642 11 17.25 11V12.5ZM6.75 12.5H17.25V11H6.75V12.5Z" fill="currentColor"></path>
167
                                        <path d="M8.75 15C8.33579 15 8 15.3358 8 15.75C8 16.1642 8.33579 16.5 8.75 16.5V15ZM15.25 16.5C15.6642 16.5 16 16.1642 16 15.75C16 15.3358 15.6642 15 15.25 15V16.5ZM8.75 16.5H15.25V15H8.75V16.5Z" fill="currentColor"></path>
168
                                    </svg>
169
                                </span>
170
                                <span class="desc">
171
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
172
                                        <path d="M9.25 14L4.75 14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
173
                                        <path d="M11.25 18.25L4.75 18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
174
                                        <path d="M8.25 9.75L4.75 9.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
175
                                        <path d="M12.75 14.75L16 18.25L19.25 14.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
176
                                        <path d="M16 5.75V18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
177
                                    </svg>
178
                                </span>
179
                                <span class="asc">
180
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
181
                                        <path d="M9.25 10L4.75 10" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
182
                                        <path d="M11.25 5.75L4.75 5.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
183
                                        <path d="M8.25 14.25L4.75 14.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
184
                                        <path d="M12.75 9.25L16 5.75L19.25 9.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
185
                                        <path d="M16 6.5V18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
186
                                    </svg>
187
                                </span>
188
                            </button>
189
                        </div>
190
                        <div class="cb-date cb-column d-flex">
191
                            <div class="title">{{#str}} lastmodified, contentbank {{/str}}</div>
192
                            <button class="btn-icon--sm btn-secondary cb-btnsort dir-none ml-auto" data-string="lastmodified" data-action="sortdate"
193
                            title="{{#str}} sortbyx, core, {{#str}} lastmodified, contentbank {{/str}} {{/str}}">
194
                                <span class="default">
195
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
196
                                        <path d="M4.75 7C4.33579 7 4 7.33579 4 7.75C4 8.16421 4.33579 8.5 4.75 8.5V7ZM19.25 8.5C19.6642 8.5 20 8.16421 20 7.75C20 7.33579 19.6642 7 19.25 7V8.5ZM4.75 8.5H19.25V7H4.75V8.5Z" fill="currentColor"></path>
197
                                        <path d="M6.75 11C6.33579 11 6 11.3358 6 11.75C6 12.1642 6.33579 12.5 6.75 12.5V11ZM17.25 12.5C17.6642 12.5 18 12.1642 18 11.75C18 11.3358 17.6642 11 17.25 11V12.5ZM6.75 12.5H17.25V11H6.75V12.5Z" fill="currentColor"></path>
198
                                        <path d="M8.75 15C8.33579 15 8 15.3358 8 15.75C8 16.1642 8.33579 16.5 8.75 16.5V15ZM15.25 16.5C15.6642 16.5 16 16.1642 16 15.75C16 15.3358 15.6642 15 15.25 15V16.5ZM8.75 16.5H15.25V15H8.75V16.5Z" fill="currentColor"></path>
199
                                    </svg>
200
                                </span>
201
                                <span class="desc">
202
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
203
                                        <path d="M9.25 14L4.75 14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
204
                                        <path d="M11.25 18.25L4.75 18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
205
                                        <path d="M8.25 9.75L4.75 9.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
206
                                        <path d="M12.75 14.75L16 18.25L19.25 14.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
207
                                        <path d="M16 5.75V18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
208
                                    </svg>
209
                                </span>
210
                                <span class="asc">
211
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
212
                                        <path d="M9.25 10L4.75 10" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
213
                                        <path d="M11.25 5.75L4.75 5.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
214
                                        <path d="M8.25 14.25L4.75 14.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
215
                                        <path d="M12.75 9.25L16 5.75L19.25 9.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
216
                                        <path d="M16 6.5V18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
217
                                    </svg>
218
                                </span>
219
                            </button>
220
                        </div>
221
                        <div class="cb-size cb-column d-flex">
222
                            <div class="title">{{#str}} size, contentbank {{/str}}</div>
223
                            <button class="btn-icon--sm btn-secondary cb-btnsort dir-none ml-auto" data-string="size" data-action="sortsize"
224
                            title="{{#str}} sortbyx, core, {{#str}} size, contentbank {{/str}} {{/str}}">
225
                                <span class="default">
226
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
227
                                        <path d="M4.75 7C4.33579 7 4 7.33579 4 7.75C4 8.16421 4.33579 8.5 4.75 8.5V7ZM19.25 8.5C19.6642 8.5 20 8.16421 20 7.75C20 7.33579 19.6642 7 19.25 7V8.5ZM4.75 8.5H19.25V7H4.75V8.5Z" fill="currentColor"></path>
228
                                        <path d="M6.75 11C6.33579 11 6 11.3358 6 11.75C6 12.1642 6.33579 12.5 6.75 12.5V11ZM17.25 12.5C17.6642 12.5 18 12.1642 18 11.75C18 11.3358 17.6642 11 17.25 11V12.5ZM6.75 12.5H17.25V11H6.75V12.5Z" fill="currentColor"></path>
229
                                        <path d="M8.75 15C8.33579 15 8 15.3358 8 15.75C8 16.1642 8.33579 16.5 8.75 16.5V15ZM15.25 16.5C15.6642 16.5 16 16.1642 16 15.75C16 15.3358 15.6642 15 15.25 15V16.5ZM8.75 16.5H15.25V15H8.75V16.5Z" fill="currentColor"></path>
230
                                    </svg>
231
                                </span>
232
                                <span class="desc">
233
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
234
                                        <path d="M9.25 14L4.75 14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
235
                                        <path d="M11.25 18.25L4.75 18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
236
                                        <path d="M8.25 9.75L4.75 9.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
237
                                        <path d="M12.75 14.75L16 18.25L19.25 14.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
238
                                        <path d="M16 5.75V18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
239
                                    </svg>
240
                                </span>
241
                                <span class="asc">
242
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
243
                                        <path d="M9.25 10L4.75 10" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
244
                                        <path d="M11.25 5.75L4.75 5.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
245
                                        <path d="M8.25 14.25L4.75 14.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
246
                                        <path d="M12.75 9.25L16 5.75L19.25 9.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
247
                                        <path d="M16 6.5V18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
248
                                    </svg>
249
                                </span>
250
                            </button>
251
                        </div>
252
                        <div class="cb-type cb-column d-flex">
253
                            <div class="title">{{#str}} type, contentbank {{/str}}</div>
254
                            <button class="btn-icon--sm btn-secondary cb-btnsort dir-none ml-auto" data-string="type" data-action="sorttype"
255
                            title="{{#str}} sortbyx, core, {{#str}} type, contentbank {{/str}} {{/str}}">
256
                                <span class="default">
257
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
258
                                        <path d="M4.75 7C4.33579 7 4 7.33579 4 7.75C4 8.16421 4.33579 8.5 4.75 8.5V7ZM19.25 8.5C19.6642 8.5 20 8.16421 20 7.75C20 7.33579 19.6642 7 19.25 7V8.5ZM4.75 8.5H19.25V7H4.75V8.5Z" fill="currentColor"></path>
259
                                        <path d="M6.75 11C6.33579 11 6 11.3358 6 11.75C6 12.1642 6.33579 12.5 6.75 12.5V11ZM17.25 12.5C17.6642 12.5 18 12.1642 18 11.75C18 11.3358 17.6642 11 17.25 11V12.5ZM6.75 12.5H17.25V11H6.75V12.5Z" fill="currentColor"></path>
260
                                        <path d="M8.75 15C8.33579 15 8 15.3358 8 15.75C8 16.1642 8.33579 16.5 8.75 16.5V15ZM15.25 16.5C15.6642 16.5 16 16.1642 16 15.75C16 15.3358 15.6642 15 15.25 15V16.5ZM8.75 16.5H15.25V15H8.75V16.5Z" fill="currentColor"></path>
261
                                    </svg>
262
                                </span>
263
                                <span class="desc">
264
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
265
                                        <path d="M9.25 14L4.75 14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
266
                                        <path d="M11.25 18.25L4.75 18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
267
                                        <path d="M8.25 9.75L4.75 9.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
268
                                        <path d="M12.75 14.75L16 18.25L19.25 14.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
269
                                        <path d="M16 5.75V18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
270
                                    </svg>
271
                                </span>
272
                                <span class="asc">
273
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
274
                                        <path d="M9.25 10L4.75 10" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
275
                                        <path d="M11.25 5.75L4.75 5.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
276
                                        <path d="M8.25 14.25L4.75 14.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
277
                                        <path d="M12.75 9.25L16 5.75L19.25 9.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
278
                                        <path d="M16 6.5V18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
279
                                    </svg>
280
                                </span>
281
                            </button>
282
                        </div>
283
                        <div class="cb-author cb-column d-flex last">
284
                            <div class="title">{{#str}} author, contentbank {{/str}}</div>
285
                            <button class="btn-icon--sm btn-secondary cb-btnsort dir-none ml-auto" data-string="author" data-action="sortauthor"
286
                            title="{{#str}} sortbyx, core, {{#str}} author, contentbank {{/str}} {{/str}}">
287
                                <span class="default">
288
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
289
                                        <path d="M4.75 7C4.33579 7 4 7.33579 4 7.75C4 8.16421 4.33579 8.5 4.75 8.5V7ZM19.25 8.5C19.6642 8.5 20 8.16421 20 7.75C20 7.33579 19.6642 7 19.25 7V8.5ZM4.75 8.5H19.25V7H4.75V8.5Z" fill="currentColor"></path>
290
                                        <path d="M6.75 11C6.33579 11 6 11.3358 6 11.75C6 12.1642 6.33579 12.5 6.75 12.5V11ZM17.25 12.5C17.6642 12.5 18 12.1642 18 11.75C18 11.3358 17.6642 11 17.25 11V12.5ZM6.75 12.5H17.25V11H6.75V12.5Z" fill="currentColor"></path>
291
                                        <path d="M8.75 15C8.33579 15 8 15.3358 8 15.75C8 16.1642 8.33579 16.5 8.75 16.5V15ZM15.25 16.5C15.6642 16.5 16 16.1642 16 15.75C16 15.3358 15.6642 15 15.25 15V16.5ZM8.75 16.5H15.25V15H8.75V16.5Z" fill="currentColor"></path>
292
                                    </svg>
293
                                </span>
294
                                <span class="desc">
295
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
296
                                        <path d="M9.25 14L4.75 14" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
297
                                        <path d="M11.25 18.25L4.75 18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
298
                                        <path d="M8.25 9.75L4.75 9.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
299
                                        <path d="M12.75 14.75L16 18.25L19.25 14.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
300
                                        <path d="M16 5.75V18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
301
                                    </svg>
302
                                </span>
303
                                <span class="asc">
304
                                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
305
                                        <path d="M9.25 10L4.75 10" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
306
                                        <path d="M11.25 5.75L4.75 5.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
307
                                        <path d="M8.25 14.25L4.75 14.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
308
                                        <path d="M12.75 9.25L16 5.75L19.25 9.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
309
                                        <path d="M16 6.5V18.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
310
                                    </svg>
311
                                </span>
312
                            </button>
313
                        </div>
314
                    </div>
315
                {{#contents}}
316
                    <div role="{{#viewlist}}row{{/viewlist}}{{^viewlist}}listitem{{/viewlist}}"
317
                        class="cb-listitem {{#visibilityunlisted}}cb-unlisted{{/visibilityunlisted}}"
318
                        data-file="{{ title }}"
319
                        data-name="{{ name }}"
320
                        data-bytes="{{ bytes }}"
321
                        data-uses="{{ uses }}"
322
                        data-timemodified="{{ timemodified }}"
323
                        data-type="{{ type }}"
324
                        data-author="{{ author }}">
325
                        <div class="cb-file cb-column position-relative">
326
                            <div class="cb-thumbnail" role="img" aria-label="{{ name }}"
327
                            style="background-image: url('{{{ icon }}}');">
328
                            </div>
329
                            <a href="{{{ link }}}" class="cb-link stretched-link small" title="{{ name }}">
330
                                <span class="cb-name word-break-all clamp-2" data-region="cb-content-name">
331
                                    {{{ name }}}
332
                                </span>
333
                            </a>
334
                        </div>
335
                        <div class="cb-uses cb-column small">
336
                            {{ uses }}
337
                        </div>
338
                        <div class="cb-date cb-column small">
339
                            {{#userdate}} {{ timemodified }}, {{#str}} strftimedatetimeshort, core_langconfig {{/str}} {{/userdate}}
340
                        </div>
341
                        <div class="cb-size cb-column small">
342
                            {{ size }}
343
                        </div>
344
                        <div class="cb-type cb-column small">
345
                            {{{ type }}}
346
                        </div>
347
                        <div class="cb-type cb-column last small">
348
                            {{{ author }}}
349
                        </div>
350
                    </div>
351
                {{/contents}}
352
                </div>
353
            {{/contents.0}}
354
            {{^contents.0}}
355
                <div class="cb-content-wrapper d-flex flex-wrap p-2" data-region="filearea">
356
                    <div class="w-100 p-3 text-center text-muted">
357
                        {{#str}} nocontentavailable, core_contentbank {{/str}}
358
                    </div>
359
                </div>
360
            {{/contents.0}}
361
        </div>
362
    </div>
363
</div>