nodebb-theme-harmony 2.2.7 → 2.2.9
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 +2 -2
- package/templates/account/categories.tpl +1 -1
- package/templates/account/topics.tpl +1 -1
- package/templates/account/uploads.tpl +21 -21
- package/templates/partials/account/admin-menu.tpl +1 -1
- package/templates/partials/topic/sort.tpl +2 -2
- package/templates/partials/topic/tools.tpl +2 -2
- package/templates/partials/topic/watch.tpl +2 -2
- package/templates/partials/topic-filters.tpl +1 -1
- package/templates/partials/topic-list-bar.tpl +2 -2
- package/templates/partials/topic-terms.tpl +1 -1
- package/templates/topic.tpl +3 -0
- package/package-lock.json +0 -2939
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodebb-theme-harmony",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.9",
|
|
4
4
|
"nbbpm": {
|
|
5
5
|
"compatibility": "^4.0.0"
|
|
6
6
|
},
|
|
@@ -46,6 +46,6 @@
|
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"eslint": "10.0.0",
|
|
49
|
-
"eslint-config-nodebb": "^
|
|
49
|
+
"eslint-config-nodebb": "^2.0.0"
|
|
50
50
|
}
|
|
51
51
|
}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
</div>
|
|
7
7
|
|
|
8
8
|
<div class="d-flex gap-1">
|
|
9
|
-
<div class="
|
|
9
|
+
<div class="dropdown bottom-sheet" component="category/watch/all">
|
|
10
10
|
<button class="btn btn-ghost btn-sm ff-secondary fw-semibold dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" type="button">
|
|
11
11
|
<span>[[user:change-all]]</span>
|
|
12
12
|
</button>
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<div class="d-flex gap-1">
|
|
5
5
|
<h3 class="fw-semibold fs-5 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,28 +10,28 @@
|
|
|
10
10
|
<div class="alert alert-warning text-center">[[uploads:no-uploads-found]]</div>
|
|
11
11
|
{{{ end }}}
|
|
12
12
|
|
|
13
|
-
<
|
|
14
|
-
<
|
|
15
|
-
<
|
|
16
|
-
<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
<
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<
|
|
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
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
|
-
</
|
|
30
|
-
</
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
</
|
|
34
|
-
</
|
|
29
|
+
</td>
|
|
30
|
+
</tr>
|
|
31
|
+
{{{ end }}}
|
|
32
|
+
</tbody>
|
|
33
|
+
</table>
|
|
34
|
+
</div>
|
|
35
35
|
|
|
36
36
|
<!-- IMPORT partials/paginator.tpl -->
|
|
37
37
|
<!-- IMPORT partials/account/footer.tpl -->
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
<div class="
|
|
2
|
-
<button class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center dropdown-toggle text-truncate" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="[[aria:post-sort-option, {sortOptionLabel}]]">
|
|
1
|
+
<div class="dropdown bottom-sheet" component="thread/sort">
|
|
2
|
+
<button class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center dropdown-toggle text-truncate w-100" 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-primary"></i>
|
|
4
4
|
<span class="d-none d-md-inline fw-semibold text-truncate text-nowrap">{sortOptionLabel}</span>
|
|
5
5
|
</button>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{{{ if privileges.view_thread_tools }}}
|
|
2
|
-
<div class="
|
|
3
|
-
<button class="btn btn-ghost btn-sm ff-secondary d-flex align-items-center gap-2 dropdown-toggle text-truncate" data-bs-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false">
|
|
2
|
+
<div class="dropdown thread-tools bottom-sheet">
|
|
3
|
+
<button class="btn btn-ghost btn-sm ff-secondary d-flex align-items-center gap-2 dropdown-toggle text-truncate w-100" data-bs-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false">
|
|
4
4
|
<i class="fa fa-fw fa-gear text-primary"></i>
|
|
5
5
|
<span class="d-none d-md-inline fw-semibold text-truncate text-nowrap">[[topic:thread-tools.title]]</span>
|
|
6
6
|
</button>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{{{ if config.loggedIn }}}
|
|
2
|
-
<div class="
|
|
3
|
-
<button class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 dropdown-toggle text-truncate" data-bs-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false">
|
|
2
|
+
<div class="dropdown bottom-sheet" component="topic/watch">
|
|
3
|
+
<button class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 dropdown-toggle text-truncate w-100" data-bs-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false">
|
|
4
4
|
<span component="topic/following/menu" class="d-flex gap-2 align-items-center{{{ if !isFollowing }}} hidden{{{ end }}}">
|
|
5
5
|
<i class="flex-shrink-0 fa fa-fw fa-bell-o text-primary"></i>
|
|
6
6
|
<span class="d-none d-md-inline fw-semibold text-truncate text-nowrap">[[topic:watching]]</span>
|
|
@@ -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>
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<!-- IMPORT partials/tags/filter-dropdown-left.tpl -->
|
|
17
17
|
{{{ end }}}
|
|
18
18
|
{{{ if template.unread }}}
|
|
19
|
-
<div class="markread
|
|
19
|
+
<div class="markread {{{ if !topics.length }}}hidden{{{ end }}}">
|
|
20
20
|
<!-- IMPORT partials/category/selector-dropdown-left.tpl -->
|
|
21
21
|
</div>
|
|
22
22
|
{{{ end }}}
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
{{{ end }}}
|
|
27
27
|
|
|
28
28
|
{{{ if template.world }}}
|
|
29
|
-
<div class="
|
|
29
|
+
<div class="dropdown bottom-sheet">
|
|
30
30
|
<button class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center dropdown-toggle" data-bs-toggle="dropdown">
|
|
31
31
|
<i class="fa fa-fw fa-arrow-down-wide-short text-primary"></i>
|
|
32
32
|
<span id="sort-label" class="visible-md-inline visible-lg-inline fw-semibold"></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 align-items-center gap-2 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
|
@@ -100,6 +100,9 @@
|
|
|
100
100
|
{{{ if config.theme.enableQuickReply }}}
|
|
101
101
|
<!-- IMPORT partials/topic/quickreply.tpl -->
|
|
102
102
|
{{{ end }}}
|
|
103
|
+
{{{ if !config.loggedIn }}}
|
|
104
|
+
<!-- IMPORT partials/topic/guest-cta.tpl -->
|
|
105
|
+
{{{ end }}}
|
|
103
106
|
</div>
|
|
104
107
|
<div class="d-flex d-none d-lg-block flex-grow-1 mt-2">
|
|
105
108
|
<div class="sticky-top" style="{{{ if config.theme.topicSidebarTools }}}top:2rem;{{{ else }}}top:6rem; {{{ end }}} z-index:1;">
|