nodebb-theme-harmony 2.1.35 → 2.1.37
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
CHANGED
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
<div class="stat">
|
|
59
59
|
<div class="align-items-center justify-content-center card card-header p-3 border-0 rounded-1 h-100 gap-2">
|
|
60
60
|
<span class="stat-label text-xs fw-semibold"><i class="text-muted fa-solid fa-envelope"></i> <span>[[user:email]]</span> {{{ if emailHidden}}}<span class="text-lowercase">([[global:hidden]])</span>{{{ end }}}</span>
|
|
61
|
-
<span class="text-
|
|
61
|
+
<span class="text-center text-break w-100 px-2 ff-secondary">{email}</span>
|
|
62
62
|
</div>
|
|
63
63
|
</div>
|
|
64
64
|
{{{ end }}}
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
<div class="align-items-center justify-content-center card card-header p-3 border-0 rounded-1 h-100 gap-2">
|
|
79
79
|
<span class="stat-label text-xs fw-semibold"><span><i class="text-muted {./icon}"></i> {./name}</span></span>
|
|
80
80
|
{{{ if (./type == "input-link") }}}
|
|
81
|
-
<a class="text-
|
|
81
|
+
<a class="text-center text-break w-100 px-2 ff-secondary text-underline text-reset" href="{./value}" rel="nofollow noreferrer">{./linkValue}</a>
|
|
82
82
|
{{{ else }}}
|
|
83
83
|
<span class="text-center {{{ if (./type == "input-number") }}}fs-2{{{else }}}fs-6{{{ end }}} ff-secondary">{./value}</span>
|
|
84
84
|
{{{ end }}}
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
<nav component="pagination" class="pagination-container mt-3{{{ if !pagination.pages.length }}} hidden{{{ end }}}" aria-label="[[global:pagination]]">
|
|
2
2
|
<ul class="pagination pagination-sm gap-1 hidden-xs hidden-sm justify-content-center">
|
|
3
|
-
<li class="page-item previous {{{ if !pagination.prev.active }}}
|
|
4
|
-
<a class="page-link rounded fw-secondary px-3" href="?{pagination.prev.qs}" data-page="{pagination.prev.page}" aria-label="[[global:pagination.previouspage]]"><i class="fa fa-chevron-left"></i> </a>
|
|
3
|
+
<li class="page-item previous {{{ if !pagination.prev.active }}} opacity-50 pe-none{{{ end }}}">
|
|
4
|
+
<a class="page-link rounded fw-secondary px-3 border-0" href="?{pagination.prev.qs}" data-page="{pagination.prev.page}" aria-label="[[global:pagination.previouspage]]"><i class="fa fa-chevron-left"></i> </a>
|
|
5
5
|
</li>
|
|
6
6
|
|
|
7
7
|
{{{each pagination.pages}}}
|
|
8
8
|
{{{ if ./separator }}}
|
|
9
9
|
<li component="pagination/select-page" class="page-item page select-page">
|
|
10
|
-
<a class="page-link rounded fw-secondary px-3" href="#" aria-label="[[global:pagination.go-to-page]]"><i class="fa fa-ellipsis-h"></i></a>
|
|
10
|
+
<a class="page-link rounded fw-secondary px-3 border-0" href="#" aria-label="[[global:pagination.go-to-page]]"><i class="fa fa-ellipsis-h"></i></a>
|
|
11
11
|
</li>
|
|
12
12
|
{{{ else }}}
|
|
13
13
|
<li class="page-item page{{{ if ./active }}} active{{{ end }}}" >
|
|
14
|
-
<a class="page-link rounded fw-secondary px-3" href="?{./qs}" data-page="{./page}" aria-label="[[global:pagination.page-x, {./page}]]">{./page}</a>
|
|
14
|
+
<a class="page-link rounded fw-secondary px-3 border-0" href="?{./qs}" data-page="{./page}" aria-label="[[global:pagination.page-x, {./page}]]">{./page}</a>
|
|
15
15
|
</li>
|
|
16
16
|
{{{ end }}}
|
|
17
17
|
{{{end}}}
|
|
18
18
|
|
|
19
|
-
<li class="page-item next {{{ if !pagination.next.active }}}
|
|
20
|
-
<a class="page-link rounded fw-secondary px-3" href="?{pagination.next.qs}" data-page="{pagination.next.page}" aria-label="[[global:pagination.nextpage]]"> <i class="fa fa-chevron-right"></i></a>
|
|
19
|
+
<li class="page-item next {{{ if !pagination.next.active }}} opacity-50 pe-none{{{ end }}}">
|
|
20
|
+
<a class="page-link rounded fw-secondary px-3 border-0" href="?{pagination.next.qs}" data-page="{pagination.next.page}" aria-label="[[global:pagination.nextpage]]"> <i class="fa fa-chevron-right"></i></a>
|
|
21
21
|
</li>
|
|
22
22
|
</ul>
|
|
23
23
|
|
|
24
24
|
{{{ if !template.topic }}}
|
|
25
|
-
<ul class="pagination
|
|
26
|
-
<li class="page-item first{{{ if !pagination.prev.active }}}
|
|
27
|
-
<a class="page-link fw-secondary" href="?{pagination.first.qs}" data-page="1" aria-label="[[global:pagination.firstpage]]"><i class="fa fa-fast-backward"></i> </a>
|
|
25
|
+
<ul class="pagination hidden-md hidden-lg justify-content-center gap-3">
|
|
26
|
+
<li class="page-item first{{{ if !pagination.prev.active }}} opacity-50 pe-none{{{ end }}}">
|
|
27
|
+
<a class="page-link fw-secondary border-0" href="?{pagination.first.qs}" data-page="1" aria-label="[[global:pagination.firstpage]]"><i class="fa fa-fast-backward"></i> </a>
|
|
28
28
|
</li>
|
|
29
29
|
|
|
30
|
-
<li class="page-item previous{{{ if !pagination.prev.active }}}
|
|
31
|
-
<a class="page-link fw-secondary" href="?{pagination.prev.qs}" data-page="{pagination.prev.page}" aria-label="[[global:pagination.previouspage]]"><i class="fa fa-chevron-left"></i> </a>
|
|
30
|
+
<li class="page-item previous{{{ if !pagination.prev.active }}} opacity-50 pe-none{{{ end }}}">
|
|
31
|
+
<a class="page-link fw-secondary border-0" href="?{pagination.prev.qs}" data-page="{pagination.prev.page}" aria-label="[[global:pagination.previouspage]]"><i class="fa fa-chevron-left"></i> </a>
|
|
32
32
|
</li>
|
|
33
33
|
|
|
34
34
|
<li component="pagination/select-page" class="page-item page select-page">
|
|
35
|
-
<a class="page-link fw-secondary" href="#" aria-label="[[global:pagination.go-to-page]]">{pagination.currentPage} / {pagination.pageCount}</a>
|
|
35
|
+
<a class="page-link fw-secondary border-0" href="#" aria-label="[[global:pagination.go-to-page]]">{pagination.currentPage} / {pagination.pageCount}</a>
|
|
36
36
|
</li>
|
|
37
37
|
|
|
38
|
-
<li class="page-item next{{{ if !pagination.next.active }}}
|
|
39
|
-
<a class="page-link fw-secondary" href="?{pagination.next.qs}" data-page="{pagination.next.page}" aria-label="[[global:pagination.nextpage]]"> <i class="fa fa-chevron-right"></i></a>
|
|
38
|
+
<li class="page-item next{{{ if !pagination.next.active }}} opacity-50 pe-none{{{ end }}}">
|
|
39
|
+
<a class="page-link fw-secondary border-0" href="?{pagination.next.qs}" data-page="{pagination.next.page}" aria-label="[[global:pagination.nextpage]]"> <i class="fa fa-chevron-right"></i></a>
|
|
40
40
|
</li>
|
|
41
41
|
|
|
42
|
-
<li class="page-item last{{{ if !pagination.next.active }}}
|
|
43
|
-
<a class="page-link fw-secondary" href="?{pagination.last.qs}" data-page="{pagination.pageCount}" aria-label="[[global:pagination.lastpage]]"><i class="fa fa-fast-forward"></i> </a>
|
|
42
|
+
<li class="page-item last{{{ if !pagination.next.active }}} opacity-50 pe-none{{{ end }}}">
|
|
43
|
+
<a class="page-link fw-secondary border-0" href="?{pagination.last.qs}" data-page="{pagination.pageCount}" aria-label="[[global:pagination.lastpage]]"><i class="fa fa-fast-forward"></i> </a>
|
|
44
44
|
</li>
|
|
45
45
|
</ul>
|
|
46
46
|
{{{ end }}}
|
|
@@ -5,11 +5,7 @@
|
|
|
5
5
|
<!-- IMPORT partials/topic/mark-unread.tpl -->
|
|
6
6
|
<!-- IMPORT partials/topic/watch.tpl -->
|
|
7
7
|
<!-- IMPORT partials/topic/sort.tpl -->
|
|
8
|
-
|
|
9
|
-
<button component="topic/crosspost" title="[[topic:crosspost-topic]]" class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center dropdown-toggle text-truncate">
|
|
10
|
-
<i class="fa fa-fw fa-square-arrow-up-right text-primary"></i>
|
|
11
|
-
</button>
|
|
12
|
-
{{{ end }}}
|
|
8
|
+
<!-- IMPORT partials/topic/crosspost.tpl -->
|
|
13
9
|
<!-- IMPORT partials/topic/tools.tpl -->
|
|
14
10
|
|
|
15
11
|
{{{ if (!feeds:disableRSS && rssFeedUrl) }}}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{{{ if loggedIn }}}
|
|
2
|
+
<button component="topic/crosspost" title="[[topic:crosspost-topic]]" class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center text-truncate">
|
|
3
|
+
<i class="fa fa-fw fa-square-arrow-up-right text-primary"></i>
|
|
4
|
+
<span class="d-none d-md-inline fw-semibold text-truncate text-nowrap">[[topic:thread-tools.crosspost]]</span>
|
|
5
|
+
</button>
|
|
6
|
+
{{{ end }}}
|
package/templates/topic.tpl
CHANGED
|
@@ -110,12 +110,7 @@
|
|
|
110
110
|
<!-- IMPORT partials/topic/mark-unread.tpl -->
|
|
111
111
|
<!-- IMPORT partials/topic/watch.tpl -->
|
|
112
112
|
<!-- IMPORT partials/topic/sort.tpl -->
|
|
113
|
-
|
|
114
|
-
<button component="topic/crosspost" class="btn btn-ghost btn-sm ff-secondary d-flex gap-2 align-items-center text-truncate">
|
|
115
|
-
<i class="fa fa-fw fa-square-arrow-up-right text-primary"></i>
|
|
116
|
-
<span class="d-none d-md-inline fw-semibold text-truncate text-nowrap">[[topic:thread-tools.crosspost]]</span>
|
|
117
|
-
</button>
|
|
118
|
-
{{{ end }}}
|
|
113
|
+
<!-- IMPORT partials/topic/crosspost.tpl -->
|
|
119
114
|
<!-- IMPORT partials/topic/tools.tpl -->
|
|
120
115
|
</div>
|
|
121
116
|
{{{ end }}}
|