nodebb-theme-harmony 1.2.14 → 1.2.15
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/partials/paginator.tpl +2 -2
- package/templates/partials/post_bar.tpl +2 -2
- package/templates/partials/sidebar/search-mobile.tpl +3 -3
- package/templates/partials/sidebar/search.tpl +3 -3
- package/templates/partials/topic/navigator.tpl +1 -1
- package/templates/partials/topic-list-bar.tpl +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div component="pagination" class="pagination-container mt-3{{{ if !pagination.pages.length }}} hidden{{{ end }}}">
|
|
2
2
|
<ul class="pagination pagination-sm gap-1 hidden-xs hidden-sm justify-content-center">
|
|
3
|
-
<li class="page-item previous
|
|
3
|
+
<li class="page-item previous {{{ if !pagination.prev.active }}} disabled{{{ end }}}">
|
|
4
4
|
<a class="page-link rounded fw-secondary px-3" href="?{pagination.prev.qs}" data-page="{pagination.prev.page}"><i class="fa fa-chevron-left"></i> </a>
|
|
5
5
|
</li>
|
|
6
6
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
{{{ end }}}
|
|
17
17
|
{{{end}}}
|
|
18
18
|
|
|
19
|
-
<li class="page-item next
|
|
19
|
+
<li class="page-item next {{{ if !pagination.next.active }}} disabled{{{ end }}}">
|
|
20
20
|
<a class="page-link rounded fw-secondary px-3" href="?{pagination.next.qs}" data-page="{pagination.next.page}"> <i class="fa fa-chevron-right"></i></a>
|
|
21
21
|
</li>
|
|
22
22
|
</ul>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div class="{{{ if config.theme.stickyToolbar }}}sticky-tools{{{ end }}}">
|
|
2
2
|
<nav class="d-flex flex-nowrap my-2 p-0 border-0 rounded topic-main-buttons">
|
|
3
3
|
<div class="d-flex flex-row p-2 text-bg-light border rounded w-100 align-items-center">
|
|
4
|
-
<
|
|
4
|
+
<div class="d-flex list-unstyled me-auto mb-0 gap-2 align-items-center flex-wrap">
|
|
5
5
|
{{{ if loggedIn }}}
|
|
6
6
|
<button component="topic/mark-unread" class="btn-ghost-sm ff-secondary d-flex gap-2 align-items-center">
|
|
7
7
|
<i class="fa fa-fw fa-inbox text-primary"></i>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<!-- IMPORT partials/topic/browsing-users.tpl -->
|
|
23
23
|
</div>
|
|
24
24
|
{{{ end }}}
|
|
25
|
-
</
|
|
25
|
+
</div>
|
|
26
26
|
<!-- IMPORT partials/topic/reply-button.tpl -->
|
|
27
27
|
</div>
|
|
28
28
|
</nav>
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
</div>
|
|
17
17
|
|
|
18
18
|
<div class="d-flex gap-1 input-container">
|
|
19
|
-
<input autocomplete="off" type="text" class="form-control" placeholder="[[global:search]]" name="query" value="">
|
|
19
|
+
<input autocomplete="off" type="text" class="form-control" placeholder="[[global:search]]" name="query" value="" aria-label="[[search:type-to-search]]">
|
|
20
20
|
|
|
21
|
-
<
|
|
21
|
+
<a class="nav-link d-flex justify-content-center align-items-center advanced-search-link" href="{config.relative_path}/search" title="[[search:advanced-search]]">
|
|
22
22
|
<i class="fa fa-gears fa-fw text-muted"></i>
|
|
23
|
-
</
|
|
23
|
+
</a>
|
|
24
24
|
</div>
|
|
25
25
|
|
|
26
26
|
<button type="submit" class="btn btn-outline-secondary hide">[[global:search]]</button>
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
<form component="search/form" id="search-form" class="d-flex justify-content-end align-items-center" role="search" method="GET">
|
|
9
9
|
<div component="search/fields" class="w-100" id="search-fields">
|
|
10
10
|
<div class="d-flex gap-1">
|
|
11
|
-
<input autocomplete="off" type="text" class="form-control" placeholder="[[global:search]]" name="query" value="">
|
|
11
|
+
<input autocomplete="off" type="text" class="form-control" placeholder="[[global:search]]" name="query" value="" aria-label="[[search:type-to-search]]">
|
|
12
12
|
|
|
13
|
-
<
|
|
13
|
+
<a class="btn-ghost advanced-search-link" href="{config.relative_path}/search" title="[[search:advanced-search]]">
|
|
14
14
|
<i class="fa fa-gears fa-fw text-muted"></i>
|
|
15
|
-
</
|
|
15
|
+
</a>
|
|
16
16
|
</div>
|
|
17
17
|
|
|
18
18
|
<div id="quick-search-container" class="quick-search-container d-block mt-2 hidden">
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
<div class="unread d-inline-block position-absolute bottom-0">
|
|
16
16
|
<div class="meta small position-absolute top-50 translate-middle-y text-nowrap fw-semibold ms-2">
|
|
17
|
-
<a class="text-decoration-none" href="{url}"></a>
|
|
17
|
+
<a class="text-decoration-none" href="{url}" tabindex="-1" aria-disabled="true" aria-label="[[topic:unread-posts-link]]"></a>
|
|
18
18
|
</div>
|
|
19
19
|
</div>
|
|
20
20
|
</div>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<div class="{{{ if config.theme.stickyToolbar }}}sticky-tools{{{ end }}} mb-3">
|
|
2
2
|
<nav class="topic-list-header d-flex flex-nowrap my-2 p-0 border-0 rounded">
|
|
3
3
|
<div class="d-flex flex-row p-2 text-bg-light gap-1 border rounded w-100 align-items-center">
|
|
4
|
-
<
|
|
4
|
+
<div component="category/controls" class="d-flex me-auto mb-0 gap-2 align-items-start flex-wrap">
|
|
5
5
|
{{{ if template.category }}}
|
|
6
6
|
<!-- IMPORT partials/category/watch.tpl -->
|
|
7
7
|
<!-- IMPORT partials/tags/filter-dropdown-left.tpl -->
|
|
@@ -27,13 +27,13 @@
|
|
|
27
27
|
<!-- IMPORT partials/category/tools.tpl -->
|
|
28
28
|
|
|
29
29
|
{{{ if (!feeds:disableRSS && rssFeedUrl) }}}
|
|
30
|
-
<a class="btn-ghost-sm d-none d-lg-flex align-self-stretch" target="_blank" href="{rssFeedUrl}" itemprop="item"><i class="fa fa-rss text-primary"></i></a>
|
|
30
|
+
<a class="btn-ghost-sm d-none d-lg-flex align-self-stretch" target="_blank" href="{rssFeedUrl}" itemprop="item" title="[[global:rss-feed]]"><i class="fa fa-rss text-primary"></i></a>
|
|
31
31
|
{{{ end }}}
|
|
32
32
|
|
|
33
33
|
<a href="{config.relative_path}{{{ if template.category }}}{url}{{{ else }}}/{selectedFilter.url}{querystring}{{{ end }}}" class="btn btn-secondary fw-semibold position-absolute top-100 translate-middle-x start-50 mt-1 hide" style="--bs-btn-padding-y: .25rem; --bs-btn-padding-x: .5rem; --bs-btn-font-size: .75rem;" id="new-topics-alert">
|
|
34
34
|
<i class="fa fa-fw fa-arrow-up"></i> [[recent:load-new-posts]]
|
|
35
35
|
</a>
|
|
36
|
-
</
|
|
36
|
+
</div>
|
|
37
37
|
|
|
38
38
|
<div class="d-flex gap-1 align-items-center">
|
|
39
39
|
{{{ if template.category }}}
|