nodebb-theme-persona 15.2.0 → 15.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/account/uploads.tpl +24 -21
package/package.json
CHANGED
|
@@ -10,27 +10,30 @@
|
|
|
10
10
|
<div class="alert alert-warning text-center">{{tx("uploads:no-uploads-found")}}</div>
|
|
11
11
|
<!-- ENDIF !uploads.length -->
|
|
12
12
|
|
|
13
|
-
<div class="
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<
|
|
29
|
-
</
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
13
|
+
<div class="row row-cols-2 row-cols-lg-3 row-cols-xl-4 g-4 mb-4">
|
|
14
|
+
{{{ each uploads }}}
|
|
15
|
+
<div class="" data-name="{./name}">
|
|
16
|
+
<div class="card h-100">
|
|
17
|
+
<div class="card-body d-flex flex-column justify-content-between">
|
|
18
|
+
<div class="mb-2 text-center d-flex flex-column gap-2">
|
|
19
|
+
<a class="text-sm" href="{config.relative_path}{./url}" target="_blank">
|
|
20
|
+
{{{ if ./isImage}}}
|
|
21
|
+
<img src="{config.relative_path}{./url}" class="img-fluid rounded mb-2" alt="{./name}" style="width:auto; max-width: 6.33rem; height: 6.0rem; object-fit: contain;">
|
|
22
|
+
{{{ else }}}
|
|
23
|
+
<div class="mx-auto d-flex align-items-center justify-content-center" style="width:auto; max-width: 6.33rem; height: 6.0rem; object-fit: contain;">
|
|
24
|
+
<i class="fa-regular fa-file-lines fa-4x mb-2 text-secondary" ></i>
|
|
25
|
+
</div>
|
|
26
|
+
{{{ end }}}
|
|
27
|
+
</a>
|
|
28
|
+
<a class="text-xs text-break text-secondary" target="_blank" href="{config.relative_path}{./url}">{./name}</a>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="d-flex justify-content-center">
|
|
31
|
+
<button class="btn btn-ghost btn-sm" data-action="delete" aria-label="{{tx("aria:delete-upload-button")}}"><i class="fa fa-trash text-danger"></i> {{tx("uploads:delete-upload")}}</button>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
{{{ end }}}
|
|
34
37
|
</div>
|
|
35
38
|
|
|
36
39
|
<!-- IMPORT partials/paginator.tpl -->
|