nodebb-theme-harmony 2.1.4 → 2.1.6
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-lock.json +2 -2
- package/package.json +1 -1
- package/templates/category.tpl +1 -1
- package/templates/world.tpl +16 -5
package/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodebb-theme-harmony",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.6",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "nodebb-theme-harmony",
|
|
9
|
-
"version": "2.1.
|
|
9
|
+
"version": "2.1.6",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@fontsource/inter": "5.0.15",
|
package/package.json
CHANGED
package/templates/category.tpl
CHANGED
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
<!-- IMPORT partials/topic-list-bar.tpl -->
|
|
48
48
|
{{{ end }}}
|
|
49
49
|
|
|
50
|
-
{{{ if (./hasFollowers == false) }}}
|
|
50
|
+
{{{ if (./inbox && (./hasFollowers == false)) }}}
|
|
51
51
|
<div class="alert alert-warning mb-4" id="category-no-followers" data-bs-toggle="dropdown" data-bs-target='[component="topic/watch"] button' aria-hidden="true">
|
|
52
52
|
<i class="fa fa-triangle-exclamation pe-2"></i>
|
|
53
53
|
[[category:no-followers]]
|
package/templates/world.tpl
CHANGED
|
@@ -29,9 +29,22 @@
|
|
|
29
29
|
|
|
30
30
|
<div class="row flex-fill">
|
|
31
31
|
<div class="world {{{if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
|
|
32
|
-
<form role="search" method="GET" action="{config.relative_path}/search">
|
|
32
|
+
<form class="mb-4" role="search" method="GET" action="{config.relative_path}/search">
|
|
33
33
|
<input type="hidden" name="in" value="categories" />
|
|
34
|
-
<
|
|
34
|
+
<div class="input-group" id="category-options">
|
|
35
|
+
<input class="form-control form-control-lg" component="category-search" name="term" type="text" autocomplete="off" placeholder="Find a category..." aria-label="Category Search" />
|
|
36
|
+
<button class="btn dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false"><i class="fa fa-cog"></i></button>
|
|
37
|
+
<ul class="dropdown-menu dropdown-menu-end">
|
|
38
|
+
<li id="show-categories"><a class="dropdown-item" href="#">
|
|
39
|
+
<i class="fa fa-eye"></i>
|
|
40
|
+
[[world:show-categories]]
|
|
41
|
+
</a></li>
|
|
42
|
+
<li id="hide-categories"><a class="dropdown-item" href="#">
|
|
43
|
+
<i class="fa fa-eye-slash"></i>
|
|
44
|
+
[[world:hide-categories]]
|
|
45
|
+
</a></li>
|
|
46
|
+
</ul>
|
|
47
|
+
</div>
|
|
35
48
|
</form>
|
|
36
49
|
|
|
37
50
|
<div class="quick-search-container dropdown-menu d-block p-2 hidden">
|
|
@@ -39,9 +52,7 @@
|
|
|
39
52
|
<div class="quick-search-results-container"></div>
|
|
40
53
|
</div>
|
|
41
54
|
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
<ul class="categories-list">
|
|
55
|
+
<ul class="categories-list ps-0 hidden">
|
|
45
56
|
{{{ each categories }}}
|
|
46
57
|
<!-- IMPORT partials/categories/item.tpl -->
|
|
47
58
|
{{{ end }}}
|