nodebb-theme-harmony 1.0.0-beta.67 → 1.0.0-beta.69
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/sidebar.scss +1 -1
- package/templates/chats.tpl +2 -2
- package/templates/notifications.tpl +1 -1
- package/templates/partials/chats/recent_room.tpl +3 -2
- package/templates/partials/sidebar/chats.tpl +4 -4
- package/templates/partials/tags/filter-dropdown-content.tpl +31 -0
- package/templates/partials/topic/post.tpl +4 -5
- package/templates/partials/topic-list-bar.tpl +2 -0
package/package.json
CHANGED
package/scss/sidebar.scss
CHANGED
package/templates/chats.tpl
CHANGED
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
</div>
|
|
15
15
|
</div>
|
|
16
16
|
<hr class="text-muted opacity-25 my-1">
|
|
17
|
-
<
|
|
17
|
+
<div component="chat/recent" class="chats-list overflow-auto mb-0 pe-1" data-nextstart="{nextStart}">
|
|
18
18
|
{{{each rooms}}}
|
|
19
19
|
<!-- IMPORT partials/chats/recent_room.tpl -->
|
|
20
20
|
{{{end}}}
|
|
21
|
-
</
|
|
21
|
+
</div>
|
|
22
22
|
</div>
|
|
23
23
|
<div class="flex-1 ms-md-2 ps-md-2 border-1 border-start-md h-100" component="chat/main-wrapper">
|
|
24
24
|
<!-- IMPORT partials/chats/message-window.tpl -->
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div class="notifications">
|
|
2
2
|
<div class="btn-toolbar justify-content-end" role="toolbar">
|
|
3
|
-
<button class="btn btn-light" component="notifications/mark_all">[[notifications:mark_all_read]]</button>
|
|
3
|
+
<button class="btn btn-sm btn-light" component="notifications/mark_all">[[notifications:mark_all_read]]</button>
|
|
4
4
|
</div>
|
|
5
5
|
|
|
6
6
|
<hr class="text-muted opacity-25"/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<
|
|
1
|
+
<div component="chat/recent/room" data-roomid="{./roomId}" data-full="1" class="rounded-1 {{{ if ./unread }}}unread{{{ end }}}">
|
|
2
2
|
<div class="d-flex gap-1 justify-content-between p-1">
|
|
3
3
|
<div class="position-relative d-flex flex-grow-1 gap-2 justify-content-start align-items-start">
|
|
4
4
|
<div class="main-avatar">
|
|
@@ -42,4 +42,5 @@
|
|
|
42
42
|
</button>
|
|
43
43
|
</div>
|
|
44
44
|
</div>
|
|
45
|
-
</
|
|
45
|
+
</div>
|
|
46
|
+
<hr class="text-muted opacity-25 my-1" />
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
</a>
|
|
11
11
|
<ul class="chats-dropdown dropdown-menu p-1 shadow">
|
|
12
12
|
<li>
|
|
13
|
-
<
|
|
14
|
-
<
|
|
13
|
+
<div component="chat/list" class="chat-list chats-list overscroll-behavior-contain p-0 pe-1 ff-base">
|
|
14
|
+
<div class="rounded-1">
|
|
15
15
|
<div class="d-flex gap-1 justify-content-between">
|
|
16
16
|
<div class="dropdown-item p-2 d-flex gap-2 placeholder-wave">
|
|
17
17
|
<div class="main-avatar">
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
</button>
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|
|
32
|
-
</
|
|
33
|
-
</
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
34
|
</li>
|
|
35
35
|
<li class="dropdown-divider"></li>
|
|
36
36
|
<li class="notif-dropdown-link">
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<button type="button" class="btn-ghost-sm d-flex gap-2 align-items-baseline dropdown-toggle" data-bs-toggle="dropdown">
|
|
2
|
+
{{{ if selectedTag }}}
|
|
3
|
+
<span class="d-inline-flex align-items-center gap-1">
|
|
4
|
+
<i class="fa fa-fw fa-tags link-primary"></i>
|
|
5
|
+
<span class="visible-md-inline visible-lg-inline fw-semibold">{selectedTag.label}</span>
|
|
6
|
+
</span>
|
|
7
|
+
{{{ else }}}
|
|
8
|
+
<i class="fa fa-fw fa-tags link-primary"></i>
|
|
9
|
+
<span class="visible-md-inline visible-lg-inline fw-semibold">[[tags:all-tags]]</span>
|
|
10
|
+
{{{ end }}}
|
|
11
|
+
</button>
|
|
12
|
+
<div component="tag/filter/search" class="hidden position-absolute top-0">
|
|
13
|
+
<input type="text" class="form-control form-control-sm" autocomplete="off">
|
|
14
|
+
</div>
|
|
15
|
+
<ul component="tag/filter/list" class="dropdown-menu overflow-auto" role="menu" style="max-height: 500px;">
|
|
16
|
+
<li role="presentation" data-tag="">
|
|
17
|
+
<a class="dropdown-item" role="menu-item" href="#"><i component="tag/select/icon" class="fa fa-fw fa-check {{{if selectedTag }}}invisible{{{ end }}}"></i> [[tags:all-tags]]</a>
|
|
18
|
+
</li>
|
|
19
|
+
{{{ each tagItems }}}
|
|
20
|
+
<li role="presentation" data-tag="{./valueEscaped}">
|
|
21
|
+
<a class="dropdown-item" role="menu-item" href="#">
|
|
22
|
+
<i component="tag/select/icon" class="fa fa-fw fa-check {{{ if !./selected }}}invisible{{{ end }}}"></i>
|
|
23
|
+
<span component="tag-markup">
|
|
24
|
+
<div class="d-inline-flex align-items-center gap-1">
|
|
25
|
+
{./valueEscaped}
|
|
26
|
+
</div>
|
|
27
|
+
</span>
|
|
28
|
+
</a>
|
|
29
|
+
</li>
|
|
30
|
+
{{{ end }}}
|
|
31
|
+
</ul>
|
|
@@ -38,14 +38,13 @@
|
|
|
38
38
|
{{{ end }}}
|
|
39
39
|
|
|
40
40
|
<div class="d-flex gap-1 hidden-xs align-items-center">
|
|
41
|
+
<span class="text-muted">
|
|
41
42
|
{{{ if posts.toPid }}}
|
|
42
|
-
|
|
43
|
-
<a component="post/parent" data-topid="{posts.toPid}" href="{config.relative_path}/post/{posts.toPid}">{{{ if posts.parent.username }}}{posts.parent.username}{{{ else }}}[[global:guest]]{{{ end }}}</a>
|
|
43
|
+
{generateRepliedTo(@value, config.timeagoCutoff)}
|
|
44
44
|
{{{ else }}}
|
|
45
|
-
|
|
45
|
+
{generateWrote(@value, config.timeagoCutoff)}
|
|
46
46
|
{{{ end }}}
|
|
47
|
-
|
|
48
|
-
<a class="permalink text-muted" href="{config.relative_path}/post/{posts.pid}"><span class="timeago" title="{posts.timestampISO}"></span></a>
|
|
47
|
+
</span>
|
|
49
48
|
|
|
50
49
|
<i component="post/edit-indicator" class="fa fa-edit text-muted{{{ if privileges.posts:history }}} pointer{{{ end }}} edit-icon {{{ if !posts.editor.username }}}hidden{{{ end }}}" title="[[global:edited-timestamp, {./editedISO}]]"></i>
|
|
51
50
|
<span data-editor="{posts.editor.userslug}" component="post/editor" class="visually-hidden">[[global:last_edited_by, {posts.editor.username}]] <span class="timeago" title="{posts.editedISO}"></span></span>
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
<ul component="category/controls" class="navbar-nav me-auto gap-2 align-items-center">
|
|
5
5
|
{{{ if template.category }}}
|
|
6
6
|
<!-- IMPORT partials/category/watch.tpl -->
|
|
7
|
+
<!-- IMPORT partials/tags/filter-dropdown-left.tpl -->
|
|
7
8
|
<!-- IMPORT partials/category/sort.tpl -->
|
|
8
9
|
{{{ end }}}
|
|
9
10
|
{{{ if (template.popular || template.top)}}}
|
|
@@ -12,6 +13,7 @@
|
|
|
12
13
|
{{{ if (template.unread || (template.recent || (template.popular || template.top))) }}}
|
|
13
14
|
<!-- IMPORT partials/topic-filters.tpl -->
|
|
14
15
|
<!-- IMPORT partials/category/filter-dropdown-left.tpl -->
|
|
16
|
+
<!-- IMPORT partials/tags/filter-dropdown-left.tpl -->
|
|
15
17
|
{{{ end }}}
|
|
16
18
|
{{{ if template.unread }}}
|
|
17
19
|
<div class="markread btn-group {{{ if !topics.length }}}hidden{{{ end }}}">
|