nodebb-theme-persona 14.2.1 → 14.2.3
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/scss/account.scss +1 -1
- package/scss/modules/fab.scss +0 -4
- package/templates/account/categories.tpl +1 -1
- package/templates/account/topics.tpl +1 -1
- package/templates/account/uploads.tpl +22 -27
- package/templates/notifications.tpl +1 -1
- package/templates/partials/account/menu.tpl +1 -1
- package/templates/partials/categories/link.tpl +10 -10
- package/templates/partials/post_bar.tpl +1 -1
- package/templates/partials/topic/sort.tpl +1 -1
- package/templates/partials/topic/tools.tpl +1 -1
- package/templates/partials/topic/watch.tpl +1 -1
- package/templates/partials/topic-filters.tpl +1 -1
- package/templates/partials/topic-terms.tpl +1 -1
- package/templates/topic.tpl +4 -0
- package/templates/unread.tpl +1 -1
- package/templates/world.tpl +1 -1
- package/package-lock.json +0 -2802
package/package.json
CHANGED
package/scss/account.scss
CHANGED
package/scss/modules/fab.scss
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<div class="d-flex justify-content-between align-items-center mb-3">
|
|
5
5
|
<h1 class="fs-4">{title}</h1>
|
|
6
6
|
<div class="mb-2">
|
|
7
|
-
<div class="
|
|
7
|
+
<div class="dropdown bottom-sheet" component="category/watch/all">
|
|
8
8
|
<button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false">
|
|
9
9
|
<span>[[user:change-all]]</span>
|
|
10
10
|
<span class="caret"></span>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<div class="d-flex gap-1">
|
|
5
5
|
<h3 class="fw-semibold fs-4 mb-0 align-self-center">[[global:topics]]</h3>
|
|
6
6
|
{{{ if showSort }}}
|
|
7
|
-
<div class="
|
|
7
|
+
<div class="dropdown bottom-sheet" component="thread/sort">
|
|
8
8
|
<button title="[[global:sort]]" class="btn btn-ghost btn-sm dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" type="button"><i class="fa-solid fa-arrow-up-wide-short"></i></button>
|
|
9
9
|
<ul class="dropdown-menu p-1 text-sm" role="menu">
|
|
10
10
|
{{{each sortOptions }}}
|
|
@@ -10,33 +10,28 @@
|
|
|
10
10
|
<div class="alert alert-warning text-center">[[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
|
-
|
|
34
|
-
{{{end}}}
|
|
35
|
-
</tbody>
|
|
36
|
-
</table>
|
|
37
|
-
|
|
38
|
-
<!-- IMPORT partials/paginator.tpl -->
|
|
39
|
-
</div>
|
|
13
|
+
<div class="table-responsive">
|
|
14
|
+
<table class="table table-striped w-100">
|
|
15
|
+
<thead>
|
|
16
|
+
<tr>
|
|
17
|
+
<th></th>
|
|
18
|
+
<th></th>
|
|
19
|
+
</tr>
|
|
20
|
+
</thead>
|
|
21
|
+
<tbody>
|
|
22
|
+
{{{ each uploads }}}
|
|
23
|
+
<tr data-name="{./name}">
|
|
24
|
+
<td>
|
|
25
|
+
<a class="text-break" href="{config.relative_path}{./url}">{./url}</a>
|
|
26
|
+
</td>
|
|
27
|
+
<td style="width: 1%; white-space: nowrap;">
|
|
28
|
+
<button class="btn btn-danger btn-sm" data-action="delete" aria-label="[[aria:delete-upload-button]]"><i class="fa fa-trash"></i></button>
|
|
29
|
+
</td>
|
|
30
|
+
</tr>
|
|
31
|
+
{{{ end }}}
|
|
32
|
+
</tbody>
|
|
33
|
+
</table>
|
|
40
34
|
</div>
|
|
41
35
|
|
|
36
|
+
<!-- IMPORT partials/paginator.tpl -->
|
|
42
37
|
<!-- IMPORT partials/account/footer.tpl -->
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
5
5
|
<div class="d-flex gap-2 justify-content-end" role="toolbar">
|
|
6
|
-
<div class="
|
|
6
|
+
<div class="dropdown me-2">
|
|
7
7
|
<button class="btn btn-ghost btn-sm dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
8
8
|
{{{ if selectedFilter }}}{selectedFilter.name}{{{ end}}} <span class="caret"></span>
|
|
9
9
|
</button>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="
|
|
1
|
+
<div class="dropdown account-fab bottom-sheet">
|
|
2
2
|
<button type="button" class="persona-fab dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
3
3
|
<i class="fa fa-ellipsis-v"></i>
|
|
4
4
|
</button>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<!-- IF ../isSection -->
|
|
2
|
-
{../name}
|
|
3
|
-
<!-- ELSE -->
|
|
4
|
-
<!-- IF ../link -->
|
|
5
|
-
<a href="{../link}" itemprop="url">
|
|
6
|
-
<!-- ELSE -->
|
|
7
|
-
<a href="{config.relative_path}/category/{../slug}" itemprop="url">
|
|
8
|
-
<!-- ENDIF ../link -->
|
|
9
|
-
{../name}
|
|
10
|
-
</a>
|
|
1
|
+
<!-- IF ../isSection -->
|
|
2
|
+
{../name}
|
|
3
|
+
<!-- ELSE -->
|
|
4
|
+
<!-- IF ../link -->
|
|
5
|
+
<a href="{../link}" itemprop="url">
|
|
6
|
+
<!-- ELSE -->
|
|
7
|
+
<a href="{config.relative_path}/category/{../slug}" itemprop="url">
|
|
8
|
+
<!-- ENDIF ../link -->
|
|
9
|
+
{../name}
|
|
10
|
+
</a>
|
|
11
11
|
<!-- ENDIF ../isSection -->
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="topic-main-buttons
|
|
1
|
+
<div class="topic-main-buttons d-flex gap-2 align-items-center">
|
|
2
2
|
<span class="loading-indicator btn float-start hidden" done="0">
|
|
3
3
|
<span class="hidden-xs">[[topic:loading-more-posts]]</span> <i class="fa fa-refresh fa-spin"></i>
|
|
4
4
|
</span>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div title="[[topic:sort-by]]" class="
|
|
1
|
+
<div title="[[topic:sort-by]]" class="dropdown bottom-sheet hidden-xs" component="thread/sort">
|
|
2
2
|
<button class="btn btn-sm btn-ghost dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="[[aria:post-sort-option, {sortOptionLabel}]]">
|
|
3
3
|
<i class="fa fa-fw fa-arrow-down-wide-short text-secondary"></i></button>
|
|
4
4
|
<ul class="dropdown-menu dropdown-menu-end p-1 text-sm" role="menu">
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{{ if privileges.view_thread_tools }}}
|
|
2
|
-
<div title="[[topic:thread-tools.title]]" class="
|
|
2
|
+
<div title="[[topic:thread-tools.title]]" class="dropdown thread-tools bottom-sheet">
|
|
3
3
|
<button class="btn btn-sm btn-ghost dropdown-toggle" data-bs-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false">
|
|
4
4
|
<i class="fa fa-fw fa-gear text-secondary"></i>
|
|
5
5
|
</button>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{{{ if config.loggedIn }}}
|
|
2
|
-
<div class="
|
|
2
|
+
<div class="dropdown bottom-sheet" component="topic/watch"
|
|
3
3
|
data-bs-toggle="tooltip"
|
|
4
4
|
{{{if isFollowing}}}title="[[topic:watching]]"{{{end}}}
|
|
5
5
|
{{{if isNotFollowing}}}title="[[topic:not-watching]]"{{{end}}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="
|
|
1
|
+
<div class="dropdown bottom-sheet{{{ if !filters.length }}} hidden{{{ end }}}">
|
|
2
2
|
<button type="button" class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
3
3
|
<i class="fa fa-fw fa-filter text-primary"></i>
|
|
4
4
|
<span class="visible-md-inline visible-lg-inline fw-semibold">{selectedFilter.name}</span>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="
|
|
1
|
+
<div class="dropdown bottom-sheet {{{ if !terms.length }}}hidden{{{ end }}}">
|
|
2
2
|
<button type="button" class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
3
3
|
<i class="fa fa-fw fa-clock text-primary"></i>
|
|
4
4
|
<span class="visible-md-inline visible-lg-inline fw-semibold">{selectedTerm.name}</span>
|
package/templates/topic.tpl
CHANGED
|
@@ -101,6 +101,10 @@
|
|
|
101
101
|
<!-- IMPORT partials/topic/quickreply.tpl -->
|
|
102
102
|
{{{ end }}}
|
|
103
103
|
|
|
104
|
+
{{{ if !config.loggedIn }}}
|
|
105
|
+
<!-- IMPORT partials/topic/guest-cta.tpl -->
|
|
106
|
+
{{{ end }}}
|
|
107
|
+
|
|
104
108
|
{{{ if config.usePagination }}}
|
|
105
109
|
<!-- IMPORT partials/paginator.tpl -->
|
|
106
110
|
{{{ end }}}
|
package/templates/unread.tpl
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<!-- IMPORT partials/topic-filters.tpl -->
|
|
18
18
|
<!-- IMPORT partials/category/filter-dropdown-right.tpl -->
|
|
19
19
|
|
|
20
|
-
<div class="markread
|
|
20
|
+
<div class="markread {{{ if !topics.length }}}hidden{{{ end }}}">
|
|
21
21
|
<!-- IMPORT partials/category/selector-dropdown-right.tpl -->
|
|
22
22
|
</div>
|
|
23
23
|
|
package/templates/world.tpl
CHANGED
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
<div class="col-lg-8 col-sm-12">
|
|
71
71
|
{{{ if posts.length }}}
|
|
72
72
|
<div class="topic-list-header sticky-top btn-toolbar justify-content-end align-items-center px-1 py-2 mb-2 flex-nowrap">
|
|
73
|
-
<div class="
|
|
73
|
+
<div class="dropdown bottom-sheet">
|
|
74
74
|
<button class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center dropdown-toggle" data-bs-toggle="dropdown">
|
|
75
75
|
<i class="fa fa-fw fa-arrow-down-wide-short text-primary"></i>
|
|
76
76
|
<span id="sort-label" class="visible-md-inline visible-lg-inline fw-semibold"></span>
|