nodebb-theme-persona 13.0.37 → 13.0.39
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/account/edit.tpl +1 -1
- package/templates/categories.tpl +1 -1
- package/templates/partials/{category-filter-content.tpl → category/filter-dropdown-content.tpl} +6 -5
- 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/category/watch.tpl +28 -4
- package/templates/partials/flags/filters.tpl +1 -1
- package/templates/partials/groups/admin.tpl +1 -1
- package/templates/partials/topic/watch.tpl +30 -4
- package/templates/partials/users/filter-dropdown-content.tpl +20 -0
- package/templates/popular.tpl +1 -1
- package/templates/recent.tpl +1 -1
- package/templates/tag.tpl +1 -1
- package/templates/top.tpl +1 -1
- package/templates/unread.tpl +2 -2
- package/templates/partials/category-filter-right.tpl +0 -3
- package/templates/partials/category-filter.tpl +0 -3
- package/templates/partials/category-selector-right.tpl +0 -3
- package/templates/partials/category-selector.tpl +0 -3
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
</div>
|
|
16
16
|
<ul class="list-group mb-3">
|
|
17
17
|
<!-- IF allowProfilePicture -->
|
|
18
|
-
<a
|
|
18
|
+
<a component="profile/change/picture" href="#" class="list-group-item">[[user:change_picture]]</a>
|
|
19
19
|
<!-- ENDIF allowProfilePicture -->
|
|
20
20
|
<!-- IF !username:disableEdit -->
|
|
21
21
|
<a href="{config.relative_path}/user/{userslug}/edit/username" class="list-group-item">[[user:change_username]]</a>
|
package/templates/categories.tpl
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<div class="row">
|
|
8
8
|
<div class="{{{ if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
|
|
9
9
|
{{{ if pagination.pages.length }}}
|
|
10
|
-
<div><!-- IMPORT partials/category-
|
|
10
|
+
<div><!-- IMPORT partials/category/selector-dropdown-left.tpl --></div>
|
|
11
11
|
{{{ else }}}
|
|
12
12
|
<h1 class="categories-title">[[pages:categories]]</h1>
|
|
13
13
|
{{{ end }}}
|
package/templates/partials/{category-filter-content.tpl → category/filter-dropdown-content.tpl}
RENAMED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
<button type="button" class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown">
|
|
1
|
+
<button type="button" class="btn btn-outline-secondary d-flex gap-2 align-items-baseline dropdown-toggle" data-bs-toggle="dropdown">
|
|
2
2
|
{{{ if selectedCategory }}}
|
|
3
3
|
<span class="category-item">
|
|
4
|
-
{buildCategoryIcon(selectedCategory, "
|
|
5
|
-
<span class="visible-
|
|
4
|
+
{buildCategoryIcon(selectedCategory, "20px", "rounded-circle")}
|
|
5
|
+
<span class="visible-md-inline visible-lg-inline">{selectedCategory.name}</span>
|
|
6
6
|
</span>
|
|
7
7
|
{{{ else }}}
|
|
8
|
-
<
|
|
8
|
+
<i class="fa fa-fw fa-list"></i>
|
|
9
|
+
<span class="visible-md-inline visible-lg-inline">[[unread:all_categories]]</span>{{{ end }}}
|
|
9
10
|
</button>
|
|
10
11
|
<div component="category-selector-search" class="hidden position-absolute">
|
|
11
|
-
<input type="text" class="form-control" autocomplete="off">
|
|
12
|
+
<input type="text" class="form-control form-control-sm" autocomplete="off">
|
|
12
13
|
</div>
|
|
13
14
|
<ul component="category/list" class="dropdown-menu category-dropdown-menu" role="menu">
|
|
14
15
|
<li role="presentation" class="category" data-all="all">
|
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
|
<p>[[category:subcategories]]</p>
|
|
7
7
|
{{{ end }}}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- IF config.loggedIn -->
|
|
2
|
-
<div class="btn-group
|
|
2
|
+
<div class="btn-group bottom-sheet" component="topic/watch">
|
|
3
3
|
|
|
4
4
|
<button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" type="button">
|
|
5
5
|
<span component="category/watching/menu" <!-- IF !../isWatched -->class="hidden"<!-- ENDIF !../isWatched -->><i class="fa fa-fw fa-inbox"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline"> [[category:watching]]</span></span>
|
|
@@ -11,11 +11,35 @@
|
|
|
11
11
|
</button>
|
|
12
12
|
|
|
13
13
|
<ul class="dropdown-menu dropdown-menu-end">
|
|
14
|
-
<li
|
|
14
|
+
<li>
|
|
15
|
+
<a class="dropdown-item d-flex" href="#" component="category/watching" data-state="watching">
|
|
16
|
+
<span><i component="category/watching/check" class="fa fa-fw {{{ if ./isWatched }}}fa-check{{{ end }}}"></i></span>
|
|
17
|
+
<div class="d-flex flex-column">
|
|
18
|
+
<span><i class="fa fa-fw fa-inbox"></i> [[category:watching]]</span>
|
|
19
|
+
<p class="help-text text-muted"><small>[[category:watching.description]]</small></p>
|
|
20
|
+
</div>
|
|
21
|
+
</a>
|
|
22
|
+
</li>
|
|
15
23
|
|
|
16
|
-
<li
|
|
24
|
+
<li>
|
|
25
|
+
<a class="dropdown-item d-flex" href="#" component="category/notwatching" data-state="notwatching">
|
|
26
|
+
<span><i component="category/notwatching/check" class="fa fa-fw {{{ if ./isNotWatched }}}fa-check{{{ end }}}"></i></span>
|
|
27
|
+
<div class="d-flex flex-column">
|
|
28
|
+
<span><i class="fa fa-fw fa-clock-o"></i> [[category:not-watching]]</span>
|
|
29
|
+
<p class="help-text text-muted"><small>[[category:not-watching.description]]</small></p>
|
|
30
|
+
</div>
|
|
31
|
+
</a>
|
|
32
|
+
</li>
|
|
17
33
|
|
|
18
|
-
<li
|
|
34
|
+
<li>
|
|
35
|
+
<a class="dropdown-item d-flex" href="#" component="category/ignoring" data-state="ignoring">
|
|
36
|
+
<span><i component="category/ignoring/check" class="fa fa-fw {{{ if ./isIgnored }}}fa-check{{{ end }}}"></i></span>
|
|
37
|
+
<div class="d-flex flex-column">
|
|
38
|
+
<span><i class="fa fa-fw fa-eye-slash"></i> [[category:ignoring]]</span>
|
|
39
|
+
<p class="help-text text-muted"><small>[[category:ignoring.description]]</small></p>
|
|
40
|
+
</div>
|
|
41
|
+
</a>
|
|
42
|
+
</li>
|
|
19
43
|
</ul>
|
|
20
44
|
</div>
|
|
21
45
|
<!-- ENDIF config.loggedIn -->
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
<div class="mb-3">
|
|
29
29
|
<label class="form-label" for="filter-cid">[[flags:filter-cid]]</label>
|
|
30
30
|
<div class="input-group">
|
|
31
|
-
<!-- IMPORT partials/category-
|
|
31
|
+
<!-- IMPORT partials/category/filter-dropdown-left.tpl -->
|
|
32
32
|
</div>
|
|
33
33
|
</div>
|
|
34
34
|
<div class="mb-3">
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
<input id="memberPostCids" type="text" class="form-control" value="{group.memberPostCids}">
|
|
120
120
|
</div>
|
|
121
121
|
<div class="col-md-6 member-post-cids-selector">
|
|
122
|
-
<!-- IMPORT partials/category-
|
|
122
|
+
<!-- IMPORT partials/category/selector-dropdown-left.tpl -->
|
|
123
123
|
</div>
|
|
124
124
|
</div>
|
|
125
125
|
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!-- IF config.loggedIn -->
|
|
2
|
-
<div class="btn-group
|
|
2
|
+
<div class="btn-group bottom-sheet" component="topic/watch"
|
|
3
3
|
data-bs-toggle="tooltip"
|
|
4
4
|
{{{if isFollowing}}}title="[[topic:watching]]"{{{end}}}
|
|
5
5
|
{{{if isNotFollowing}}}title="[[topic:not-watching]]"{{{end}}}
|
|
@@ -14,9 +14,35 @@ data-bs-toggle="tooltip"
|
|
|
14
14
|
|
|
15
15
|
</button>
|
|
16
16
|
<ul class="dropdown-menu dropdown-menu-end">
|
|
17
|
-
<li
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
<li>
|
|
18
|
+
<a class="dropdown-item d-flex" href="#" component="topic/following">
|
|
19
|
+
<span><i component="topic/following/check" class="fa fa-fw {{{ if isFollowing }}}fa-check{{{ end }}}"></i></span>
|
|
20
|
+
<div class="d-flex flex-column">
|
|
21
|
+
<span><i class="fa fa-fw fa-bell-o"></i> [[topic:watching]]</span>
|
|
22
|
+
<p class="help-text text-muted"><small>[[topic:watching.description]]</small></p>
|
|
23
|
+
</div>
|
|
24
|
+
</a>
|
|
25
|
+
</li>
|
|
26
|
+
|
|
27
|
+
<li>
|
|
28
|
+
<a class="dropdown-item d-flex" href="#" component="topic/not-following">
|
|
29
|
+
<span><i component="topic/not-following/check" class="fa fa-fw {{{ if isNotFollowing }}}fa-check{{{ end }}}"></i></span>
|
|
30
|
+
<div class="d-flex flex-column">
|
|
31
|
+
<span><i class="fa fa-fw fa-bell-slash-o"></i> [[topic:not-watching]]</span>
|
|
32
|
+
<p class="help-text text-muted"><small>[[topic:not-watching.description]]</small></p>
|
|
33
|
+
</div>
|
|
34
|
+
</a>
|
|
35
|
+
</li>
|
|
36
|
+
|
|
37
|
+
<li>
|
|
38
|
+
<a class="dropdown-item d-flex" href="#" component="topic/ignoring">
|
|
39
|
+
<span><i component="topic/ignoring/check" class="fa fa-fw {{{ if isIgnoring }}}fa-check{{{ end }}}"></i></span>
|
|
40
|
+
<div class="d-flex flex-column">
|
|
41
|
+
<span><i class="fa fa-fw fa-eye-slash"></i> [[topic:ignoring]]</span>
|
|
42
|
+
<p class="help-text text-muted"><small>[[topic:ignoring.description]]</small></p>
|
|
43
|
+
</div>
|
|
44
|
+
</a>
|
|
45
|
+
</li>
|
|
20
46
|
</ul>
|
|
21
47
|
</div>
|
|
22
48
|
<!-- ENDIF config.loggedIn -->
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<button type="button" class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown">
|
|
2
|
+
{{{ if selectedUser }}}
|
|
3
|
+
<span class="">{buildAvatar(selectedUser, "20px", true, "not-responsive")} {selectedUser.username}</span>
|
|
4
|
+
{{{ else }}}
|
|
5
|
+
<span class="">[[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/popular.tpl
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<div class="d-flex gap-1 align-items-stretch">
|
|
17
17
|
<!-- IMPORT partials/topic-terms.tpl -->
|
|
18
18
|
<!-- IMPORT partials/topic-filters.tpl -->
|
|
19
|
-
<!-- IMPORT partials/category
|
|
19
|
+
<!-- IMPORT partials/category/filter-dropdown-right.tpl -->
|
|
20
20
|
<!-- IMPORT partials/category/tools.tpl -->
|
|
21
21
|
</div>
|
|
22
22
|
</div>
|
package/templates/recent.tpl
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
<div class="d-flex gap-1 align-items-stretch">
|
|
20
20
|
<!-- IMPORT partials/topic-filters.tpl -->
|
|
21
|
-
<!-- IMPORT partials/category
|
|
21
|
+
<!-- IMPORT partials/category/filter-dropdown-right.tpl -->
|
|
22
22
|
<!-- IMPORT partials/category/tools.tpl -->
|
|
23
23
|
</div>
|
|
24
24
|
</div>
|
package/templates/tag.tpl
CHANGED
package/templates/top.tpl
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<div class="d-flex gap-1 align-items-stretch">
|
|
17
17
|
<!-- IMPORT partials/topic-terms.tpl -->
|
|
18
18
|
<!-- IMPORT partials/topic-filters.tpl -->
|
|
19
|
-
<!-- IMPORT partials/category
|
|
19
|
+
<!-- IMPORT partials/category/filter-dropdown-right.tpl -->
|
|
20
20
|
<!-- IMPORT partials/category/tools.tpl -->
|
|
21
21
|
</div>
|
|
22
22
|
</div>
|
package/templates/unread.tpl
CHANGED
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
|
|
16
16
|
<div class="d-flex gap-1 align-items-stretch">
|
|
17
17
|
<!-- IMPORT partials/topic-filters.tpl -->
|
|
18
|
-
<!-- IMPORT partials/category
|
|
18
|
+
<!-- IMPORT partials/category/filter-dropdown-right.tpl -->
|
|
19
19
|
|
|
20
20
|
<div class="markread btn-group {{{ if !topics.length }}}hidden{{{ end }}}">
|
|
21
|
-
<!-- IMPORT partials/category
|
|
21
|
+
<!-- IMPORT partials/category/selector-dropdown-right.tpl -->
|
|
22
22
|
</div>
|
|
23
23
|
|
|
24
24
|
<!-- IMPORT partials/category/tools.tpl -->
|