nodebb-theme-harmony 1.1.73 → 1.1.74
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
CHANGED
|
@@ -3,76 +3,79 @@
|
|
|
3
3
|
<!-- IMPORT partials/topic/navigator-mobile.tpl -->
|
|
4
4
|
|
|
5
5
|
<div class="bottombar-nav p-2 text-dark bg-light d-flex justify-content-between align-items-center w-100">
|
|
6
|
-
<div class="">
|
|
7
|
-
<
|
|
8
|
-
<
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
<
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
<span class="
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
6
|
+
<div class="bottombar-nav-left d-flex gap-3 align-items-center">
|
|
7
|
+
<div>
|
|
8
|
+
<a href="#" role="button" class="nav-link nav-btn d-flex justify-content-between align-items-center position-relative" data-bs-toggle="dropdown">
|
|
9
|
+
<span class="position-relative">
|
|
10
|
+
<i class="fa fa-fw fa-lg fa-bars"></i>
|
|
11
|
+
<span component="unread/count" data-unread-url="{unreadCount.unreadUrl}" class="position-absolute top-0 start-100 translate-middle badge rounded-1 bg-primary {{{ if !unreadCount.mobileUnread }}}hidden{{{ end }}}">{unreadCount.mobileUnread}</span>
|
|
12
|
+
</span>
|
|
13
|
+
</a>
|
|
14
|
+
<ul class="navigation-dropdown dropdown-menu">
|
|
15
|
+
{{{ each navigation }}}
|
|
16
|
+
{{{ if displayMenuItem(@root, @index) }}}
|
|
17
|
+
<li class="nav-item {./class}{{{ if ./dropdown }}} dropend{{{ end }}}" title="{./title}">
|
|
18
|
+
<a class="nav-link nav-btn navigation-link px-3 py-2 {{{ if ./dropdown }}}dropdown-toggle{{{ end }}}"
|
|
19
|
+
{{{ if ./dropdown }}} href="#" role="button" data-bs-toggle="collapse" data-bs-target="#collapse-target-{@index}" onclick="event.stopPropagation();" {{{ else }}} href="{./route}"{{{ end }}} {{{ if ./id }}}id="{./id}"{{{ end }}}{{{ if ./targetBlank }}} target="_blank"{{{ end }}}>
|
|
20
|
+
<span class="d-inline-flex justify-content-between align-items-center w-100">
|
|
21
|
+
<span class="text-nowrap">
|
|
22
|
+
{{{ if ./iconClass }}}
|
|
23
|
+
<i class="fa fa-fw {./iconClass}" data-content="{./content}"></i>
|
|
24
|
+
{{{ end }}}
|
|
25
|
+
{{{ if ./text }}}
|
|
26
|
+
<span class="nav-text px-2 fw-semibold">{./text}</span>
|
|
27
|
+
{{{ end }}}
|
|
28
|
+
</span>
|
|
29
|
+
<span component="navigation/count" class="badge rounded-1 bg-primary {{{ if !./content }}}hidden{{{ end }}}">{./content}</span>
|
|
27
30
|
</span>
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
</
|
|
31
|
+
</a>
|
|
32
|
+
{{{ if ./dropdown }}}
|
|
33
|
+
<div class="ps-3">
|
|
34
|
+
<ul id="collapse-target-{@index}" class="collapse list-unstyled ps-3">
|
|
35
|
+
{./dropdownContent}
|
|
36
|
+
</ul>
|
|
37
|
+
</div>
|
|
38
|
+
{{{ end }}}
|
|
39
|
+
</li>
|
|
37
40
|
{{{ end }}}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
</ul>
|
|
41
|
+
{{{ end }}}
|
|
42
|
+
</ul>
|
|
43
|
+
</div>
|
|
42
44
|
</div>
|
|
45
|
+
<div class="bottombar-nav-right d-flex gap-3 align-items-center">
|
|
46
|
+
<div>
|
|
47
|
+
{{{ if config.loggedIn }}}
|
|
48
|
+
<ul id="logged-in-menu" class="list-unstyled d-flex align-items-center w-100 gap-3 mb-0">
|
|
49
|
+
{{{ if config.searchEnabled }}}
|
|
50
|
+
<li component="sidebar/search" class="nav-item m-0 search">
|
|
51
|
+
<!-- IMPORT partials/sidebar/search-mobile.tpl -->
|
|
52
|
+
</li>
|
|
53
|
+
{{{ end }}}
|
|
43
54
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
{{{ if config.searchEnabled }}}
|
|
48
|
-
<li component="sidebar/search" class="nav-item m-0 search">
|
|
49
|
-
<!-- IMPORT partials/sidebar/search-mobile.tpl -->
|
|
50
|
-
</li>
|
|
51
|
-
{{{ end }}}
|
|
52
|
-
|
|
53
|
-
<li component="notifications" class="nav-item m-0 notifications">
|
|
54
|
-
<!-- IMPORT partials/sidebar/notifications.tpl -->
|
|
55
|
-
</li>
|
|
55
|
+
<li component="notifications" class="nav-item m-0 notifications">
|
|
56
|
+
<!-- IMPORT partials/sidebar/notifications.tpl -->
|
|
57
|
+
</li>
|
|
56
58
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
{{{ if canChat }}}
|
|
60
|
+
<li class="nav-item m-0 chats">
|
|
61
|
+
<!-- IMPORT partials/sidebar/chats.tpl -->
|
|
62
|
+
</li>
|
|
63
|
+
{{{ end }}}
|
|
62
64
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
65
|
+
<li component="sidebar/drafts" class="hidden nav-item m-0 drafts">
|
|
66
|
+
<!-- IMPORT partials/sidebar/drafts.tpl -->
|
|
67
|
+
</li>
|
|
66
68
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
69
|
+
<li id="user_label" class="nav-item m-0 py-2 usermenu">
|
|
70
|
+
<!-- IMPORT partials/sidebar/user-menu.tpl -->
|
|
71
|
+
</li>
|
|
72
|
+
</ul>
|
|
73
|
+
{{{ else }}}
|
|
74
|
+
<ul id="logged-out-menu" class="list-unstyled d-flex w-100 gap-3 mb-0 logged-out-menu">
|
|
75
|
+
<!-- IMPORT partials/sidebar/logged-out-menu.tpl -->
|
|
76
|
+
</ul>
|
|
77
|
+
{{{ end }}}
|
|
78
|
+
</div>
|
|
76
79
|
</div>
|
|
77
80
|
</div>
|
|
78
81
|
</div>
|