nodebb-theme-harmony 1.0.0-beta.17 → 1.0.0-beta.19
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/categories.tpl +1 -1
- package/templates/partials/account/header.tpl +1 -5
- package/templates/partials/{category-filter-content.tpl → category/filter-dropdown-content.tpl} +0 -0
- package/templates/partials/{category-selector-content.tpl → category/selector-dropdown-content.tpl} +0 -0
- package/templates/partials/category/subcategory.tpl +1 -1
- package/templates/partials/flags/filters.tpl +1 -1
- package/templates/partials/groups/admin.tpl +1 -1
- package/templates/partials/topic-list-bar.tpl +3 -3
- package/templates/partials/users/filter-dropdown-content.tpl +20 -0
- package/templates/post-queue.tpl +1 -2
- package/templates/partials/category-filter-right.tpl +0 -5
- package/templates/partials/category-filter.tpl +0 -3
- package/templates/partials/category-selector-right.tpl +0 -5
- package/templates/partials/category-selector.tpl +0 -3
package/package.json
CHANGED
package/templates/categories.tpl
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
<div class="row">
|
|
7
7
|
<div class="{{{ if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
|
|
8
8
|
{{{ if pagination.pages.length }}}
|
|
9
|
-
<div><!-- IMPORT partials/category-
|
|
9
|
+
<div><!-- IMPORT partials/category/selector-dropdown-left.tpl --></div>
|
|
10
10
|
{{{ end }}}
|
|
11
11
|
<ul class="categories list-unstyled" itemscope itemtype="http://www.schema.org/ItemList">
|
|
12
12
|
{{{ each categories }}}
|
|
@@ -22,11 +22,7 @@
|
|
|
22
22
|
|
|
23
23
|
<div class="d-flex flex-column flex-md-row gap-2 w-100 pb-4 mb-4 mt-2 border-bottom">
|
|
24
24
|
<div {{{ if (allowProfilePicture && isSelfOrAdminOrGlobalModerator)}}}component="profile/change/picture"{{{ end }}} class="avatar-wrapper border-4 position-relative align-self-center align-self-md-start hover-parent" style="margin-top: -75px;">
|
|
25
|
-
{
|
|
26
|
-
<img src="{picture}" class="avatar avatar-rounded" style="--avatar-size: 142px;" />
|
|
27
|
-
{{{ else }}}
|
|
28
|
-
<div class="avatar avatar-rounded" style="background-color: {icon:bgColor}; --avatar-size: 142px;" title="{username}">{icon:text}</div>
|
|
29
|
-
{{{ end }}}
|
|
25
|
+
{buildAvatar(@value, "142px", true)}
|
|
30
26
|
{{{ if (allowProfilePicture && isSelfOrAdminOrGlobalModerator)}}}
|
|
31
27
|
<div component="profile/change/picture" class="d-none d-md-block pointer p-2 rounded-1 opacity-75 text-bg-light position-absolute top-50 start-50 translate-middle hover-visible">
|
|
32
28
|
<span class="upload"><i class="fa fa-fw fa-upload"></i></span>
|
package/templates/partials/{category-filter-content.tpl → category/filter-dropdown-content.tpl}
RENAMED
|
File without changes
|
package/templates/partials/{category-selector-content.tpl → category/selector-dropdown-content.tpl}
RENAMED
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{{{ if children.length }}}
|
|
2
2
|
<div class="subcategory">
|
|
3
3
|
{{{ if hasMoreSubCategories }}}
|
|
4
|
-
<div class="mb-2"><!-- IMPORT partials/category-
|
|
4
|
+
<div class="mb-2"><!-- IMPORT partials/category/selector-dropdown-left.tpl --></div>
|
|
5
5
|
{{{ else }}}
|
|
6
6
|
<h3 class="fs-6 fw-semibold">[[category:subcategories]]</h3>
|
|
7
7
|
{{{ end }}}
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<div class="mb-3">
|
|
31
31
|
<label class="form-label" for="filter-cid">[[flags:filter-cid]]</label>
|
|
32
32
|
<div class="input-group">
|
|
33
|
-
<!-- IMPORT partials/category-
|
|
33
|
+
<!-- IMPORT partials/category/filter-dropdown-left.tpl -->
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
36
|
<div class="mb-3">
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
<label class="form-label" for="memberPostCids">[[groups:details.member-post-cids]]</label>
|
|
83
83
|
<div class="d-flex gap-1">
|
|
84
84
|
<div class="member-post-cids-selector">
|
|
85
|
-
<!-- IMPORT partials/category-
|
|
85
|
+
<!-- IMPORT partials/category/selector-dropdown-left.tpl -->
|
|
86
86
|
</div>
|
|
87
87
|
<input id="memberPostCids" type="text" class="form-control" value="{group.memberPostCids}">
|
|
88
88
|
</div>
|
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
{{{ end }}}
|
|
11
11
|
{{{ if (template.unread || (template.recent || (template.popular || template.top))) }}}
|
|
12
12
|
<!-- IMPORT partials/topic-filters.tpl -->
|
|
13
|
-
<!-- IMPORT partials/category-
|
|
13
|
+
<!-- IMPORT partials/category/filter-dropdown-left.tpl -->
|
|
14
14
|
{{{ end }}}
|
|
15
15
|
{{{ if template.unread }}}
|
|
16
16
|
<div class="markread btn-group {{{ if !topics.length }}}hidden{{{ end }}}">
|
|
17
|
-
<!-- IMPORT partials/category-
|
|
17
|
+
<!-- IMPORT partials/category/selector-dropdown-left.tpl -->
|
|
18
18
|
</div>
|
|
19
19
|
{{{ end }}}
|
|
20
20
|
{{{ if template.tag }}}
|
|
21
|
-
<!-- IMPORT partials/category-
|
|
21
|
+
<!-- IMPORT partials/category/filter-dropdown-left.tpl -->
|
|
22
22
|
{{{ end }}}
|
|
23
23
|
<!-- IMPORT partials/category/tools.tpl -->
|
|
24
24
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<button type="button" class="btn-ghost-sm dropdown-toggle" data-bs-toggle="dropdown">
|
|
2
|
+
{{{ if selectedUser }}}
|
|
3
|
+
<span class="fw-semibold">{buildAvatar(selectedUser, "20px", true, "not-responsive")} {selectedUser.username}</span>
|
|
4
|
+
{{{ else }}}
|
|
5
|
+
<span class="fw-semibold">[[users:all-users]]</span>
|
|
6
|
+
{{{ end }}} <span class="caret"></span>
|
|
7
|
+
</button>
|
|
8
|
+
<ul class="dropdown-menu" role="menu">
|
|
9
|
+
<li role="presentation" class="user {{{ if !selectedUser}}}selected{{{end}}}">
|
|
10
|
+
<a class="dropdown-item" role="menu-item" href="{config.relative_path}/{allUsersUrl}"><i class="fa fa-fw {{{ if !selectedUser }}}fa-check{{{ end }}}"></i>[[users:all-users]]</a>
|
|
11
|
+
</li>
|
|
12
|
+
{{{ each users }}}
|
|
13
|
+
<li role="presentation" class="user {{{ if ./selected}}}selected{{{end}}}">
|
|
14
|
+
<a class="dropdown-item" role="menu-item" href="{config.relative_path}/{./url}">
|
|
15
|
+
<i class="fa fa-fw {{{ if ./selected }}}fa-check{{{ end }}}"></i>
|
|
16
|
+
<div class="d-inline-flex gap-1 align-items-center">{buildAvatar(@value, "24px", true, "not-responsive")} {./username}</div>
|
|
17
|
+
</a>
|
|
18
|
+
</li>
|
|
19
|
+
{{{end}}}
|
|
20
|
+
</ul>
|
package/templates/post-queue.tpl
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
1
|
<div class="btn-toolbar justify-content-end">
|
|
3
2
|
{{{ if (!singlePost && posts.length) }}}
|
|
4
3
|
<div class="me-2">
|
|
5
|
-
<!-- IMPORT partials/category
|
|
4
|
+
<!-- IMPORT partials/category/filter-dropdown-right.tpl -->
|
|
6
5
|
</div>
|
|
7
6
|
<div class="btn-group bottom-sheet" component="post-queue/bulk-actions">
|
|
8
7
|
<button type="button" class="btn-ghost-sm dropdown-toggle" data-bs-toggle="dropdown" autocomplete="off" aria-haspopup="true" aria-expanded="false">
|