nodebb-theme-harmony 1.2.96 → 1.2.97

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.
Files changed (142) hide show
  1. package/.eslintrc +3 -3
  2. package/README.md +22 -22
  3. package/lib/controllers.js +29 -29
  4. package/library.js +190 -190
  5. package/package.json +48 -48
  6. package/plugin.json +25 -25
  7. package/public/.eslintrc +3 -3
  8. package/public/admin.js +15 -15
  9. package/public/harmony.js +287 -287
  10. package/public/settings.js +31 -31
  11. package/renovate.json +6 -6
  12. package/scss/account.scss +27 -27
  13. package/scss/category.scss +3 -3
  14. package/scss/chats.scss +11 -11
  15. package/scss/common.scss +122 -122
  16. package/scss/fonts.scss +19 -19
  17. package/scss/groups.scss +22 -22
  18. package/scss/harmony.scss +24 -24
  19. package/scss/header.scss +15 -15
  20. package/scss/mixins.scss +176 -176
  21. package/scss/modals.scss +6 -6
  22. package/scss/modules/breadcrumbs.scss +15 -15
  23. package/scss/modules/cover.scss +102 -102
  24. package/scss/modules/filters.scss +7 -7
  25. package/scss/modules/nprogress.scss +80 -80
  26. package/scss/modules/paginator.scss +23 -23
  27. package/scss/modules/tags.scss +5 -5
  28. package/scss/modules/topic-navigator.scss +52 -52
  29. package/scss/modules/topics-list.scss +40 -40
  30. package/scss/modules/user-menu.scss +10 -10
  31. package/scss/overrides.scss +65 -65
  32. package/scss/sidebar.scss +188 -188
  33. package/scss/skins.scss +58 -58
  34. package/scss/status.scss +24 -24
  35. package/scss/topic.scss +130 -130
  36. package/templates/account/blocks.tpl +51 -51
  37. package/templates/account/categories.tpl +63 -63
  38. package/templates/account/consent.tpl +73 -73
  39. package/templates/account/edit/password.tpl +34 -34
  40. package/templates/account/edit/username.tpl +29 -29
  41. package/templates/account/edit.tpl +137 -137
  42. package/templates/account/followers.tpl +14 -14
  43. package/templates/account/following.tpl +15 -15
  44. package/templates/account/groups.tpl +15 -15
  45. package/templates/account/info.tpl +270 -270
  46. package/templates/account/posts.tpl +35 -35
  47. package/templates/account/profile.tpl +92 -92
  48. package/templates/account/sessions.tpl +8 -8
  49. package/templates/account/settings.tpl +236 -236
  50. package/templates/account/tags.tpl +12 -12
  51. package/templates/account/theme.tpl +63 -63
  52. package/templates/account/topics.tpl +44 -44
  53. package/templates/account/uploads.tpl +37 -37
  54. package/templates/admin/plugins/harmony.tpl +57 -57
  55. package/templates/categories.tpl +29 -29
  56. package/templates/category.tpl +72 -72
  57. package/templates/footer.tpl +17 -17
  58. package/templates/groups/details.tpl +86 -86
  59. package/templates/groups/list.tpl +58 -58
  60. package/templates/groups/members.tpl +9 -9
  61. package/templates/header.tpl +45 -45
  62. package/templates/notifications.tpl +32 -32
  63. package/templates/partials/account/admin-menu.tpl +36 -36
  64. package/templates/partials/account/category-item.tpl +22 -22
  65. package/templates/partials/account/footer.tpl +2 -2
  66. package/templates/partials/account/header.tpl +98 -98
  67. package/templates/partials/account/session-list.tpl +18 -18
  68. package/templates/partials/account/sidebar-left.tpl +102 -102
  69. package/templates/partials/breadcrumbs-json-ld.tpl +15 -15
  70. package/templates/partials/breadcrumbs.tpl +12 -12
  71. package/templates/partials/buttons/newTopic.tpl +22 -22
  72. package/templates/partials/categories/item.tpl +56 -56
  73. package/templates/partials/categories/lastpost.tpl +24 -24
  74. package/templates/partials/categories/link.tpl +4 -4
  75. package/templates/partials/category/subcategory.tpl +18 -18
  76. package/templates/partials/category/tags.tpl +3 -3
  77. package/templates/partials/cookie-consent.tpl +6 -6
  78. package/templates/partials/groups/admin.tpl +95 -95
  79. package/templates/partials/groups/invited.tpl +32 -32
  80. package/templates/partials/groups/list.tpl +15 -15
  81. package/templates/partials/groups/memberlist.tpl +46 -46
  82. package/templates/partials/groups/pending.tpl +29 -29
  83. package/templates/partials/groups/sidebar-left.tpl +27 -27
  84. package/templates/partials/header/brand.tpl +27 -27
  85. package/templates/partials/mobile-footer.tpl +95 -95
  86. package/templates/partials/notifications_list.tpl +44 -44
  87. package/templates/partials/paginator.tpl +46 -46
  88. package/templates/partials/post_bar.tpl +27 -27
  89. package/templates/partials/posts_list.tpl +7 -7
  90. package/templates/partials/posts_list_item.tpl +19 -19
  91. package/templates/partials/quick-search-results.tpl +46 -46
  92. package/templates/partials/search-filters.tpl +183 -183
  93. package/templates/partials/search-results.tpl +54 -54
  94. package/templates/partials/sidebar/chats.tpl +45 -45
  95. package/templates/partials/sidebar/drafts.tpl +63 -63
  96. package/templates/partials/sidebar/logged-in-menu.tpl +22 -22
  97. package/templates/partials/sidebar/logged-out-menu.tpl +44 -44
  98. package/templates/partials/sidebar/notifications.tpl +49 -49
  99. package/templates/partials/sidebar/search-mobile.tpl +28 -28
  100. package/templates/partials/sidebar/search.tpl +30 -30
  101. package/templates/partials/sidebar/user-menu.tpl +103 -103
  102. package/templates/partials/sidebar-left.tpl +39 -39
  103. package/templates/partials/sidebar-right.tpl +16 -16
  104. package/templates/partials/skin-switcher.tpl +50 -50
  105. package/templates/partials/tags_list.tpl +7 -7
  106. package/templates/partials/toast.tpl +19 -19
  107. package/templates/partials/topic/event.tpl +12 -12
  108. package/templates/partials/topic/navigation-post.tpl +9 -9
  109. package/templates/partials/topic/navigator-mobile.tpl +61 -61
  110. package/templates/partials/topic/navigator.tpl +26 -26
  111. package/templates/partials/topic/necro-post.tpl +5 -5
  112. package/templates/partials/topic/post-menu-list.tpl +142 -142
  113. package/templates/partials/topic/post-menu.tpl +4 -4
  114. package/templates/partials/topic/post-placeholder.tpl +14 -14
  115. package/templates/partials/topic/post.tpl +128 -128
  116. package/templates/partials/topic/quickreply.tpl +28 -28
  117. package/templates/partials/topic/reply-button.tpl +26 -26
  118. package/templates/partials/topic/selection-tooltip.tpl +2 -2
  119. package/templates/partials/topic/sort.tpl +27 -27
  120. package/templates/partials/topic/stats.tpl +14 -14
  121. package/templates/partials/topic/thumbs.tpl +4 -4
  122. package/templates/partials/topic/tools.tpl +8 -8
  123. package/templates/partials/topic/topic-menu-list.tpl +73 -73
  124. package/templates/partials/topic/watch.tpl +59 -59
  125. package/templates/partials/topic-filters.tpl +15 -15
  126. package/templates/partials/topic-list-bar.tpl +54 -54
  127. package/templates/partials/topic-terms.tpl +15 -15
  128. package/templates/partials/topics_list.tpl +131 -131
  129. package/templates/partials/users/item.tpl +39 -39
  130. package/templates/partials/users_list.tpl +4 -4
  131. package/templates/partials/users_list_menu.tpl +14 -14
  132. package/templates/popular.tpl +34 -34
  133. package/templates/post-queue.tpl +211 -211
  134. package/templates/recent.tpl +35 -35
  135. package/templates/search.tpl +46 -46
  136. package/templates/tag.tpl +34 -34
  137. package/templates/tags.tpl +49 -49
  138. package/templates/top.tpl +34 -34
  139. package/templates/topic.tpl +123 -123
  140. package/templates/unread.tpl +31 -31
  141. package/templates/users.tpl +39 -39
  142. package/theme.json +6 -6
@@ -1,92 +1,92 @@
1
- <!-- IMPORT partials/account/header.tpl -->
2
-
3
- {{{ if widgets.profile-aboutme-before.length }}}
4
- <div data-widget-area="profile-aboutme-before">
5
- {{{each widgets.profile-aboutme-before}}}
6
- {./html}
7
- {{{end}}}
8
- </div>
9
- {{{ end }}}
10
-
11
- {{{ if aboutme }}}
12
- <div component="aboutme" class="text-sm text-break">
13
- {aboutmeParsed}
14
- </div>
15
- {{{ end }}}
16
-
17
- {{{ if widgets.profile-aboutme-after.length }}}
18
- <div data-widget-area="profile-aboutme-after">
19
- {{{each widgets.profile-aboutme-after}}}
20
- {./html}
21
- {{{end}}}
22
- </div>
23
- {{{ end }}}
24
-
25
- <div class="account-stats container">
26
- <div class="row row-cols-2 row-cols-xl-3 row-cols-xxl-4 g-2 mb-5">
27
- {{{ if !reputation:disabled }}}
28
- <div class="stat">
29
- <div class="align-items-center justify-content-center card card-header px-0 py-3 border-0 rounded-1 h-100">
30
- <span class="stat-label text-xs fw-semibold">[[global:reputation]]</span>
31
- <span class="fs-2 ff-secondary" title="{reputation}">{humanReadableNumber(reputation)}</span>
32
- </div>
33
- </div>
34
- {{{ end }}}
35
- <div class="stat">
36
- <div class="align-items-center justify-content-center card card-header px-0 py-3 border-0 rounded-1 h-100">
37
- <span class="stat-label text-xs fw-semibold">[[user:profile-views]]</span>
38
- <span class="fs-2 ff-secondary" title="
39
- {profileviews}">{humanReadableNumber(profileviews)}</span>
40
- </div>
41
- </div>
42
-
43
- <div class="stat">
44
- <div class="align-items-center justify-content-center card card-header px-0 py-3 border-0 rounded-1 h-100 gap-2">
45
- <span class="stat-label text-xs fw-semibold"><i class="text-muted fa-solid fa-user-plus"></i> <span>[[user:joined]]</span></span>
46
- <span class="timeago fs-6 ff-secondary" title="{joindateISO}"></span>
47
- </div>
48
- </div>
49
-
50
- <div class="stat">
51
- <div class="align-items-center justify-content-center card card-header px-0 py-3 border-0 rounded-1 h-100 gap-2">
52
- <span class="stat-label text-xs fw-semibold"><i class="text-muted fa-solid fa-clock"></i> <span>[[user:lastonline]]</span></span>
53
- <span class="timeago text-center text-break w-100 px-2 fs-6 ff-secondary" title="{lastonlineISO}"></span>
54
- </div>
55
- </div>
56
-
57
- {{{ if email }}}
58
- <div class="stat">
59
- <div class="align-items-center justify-content-center card card-header px-0 py-3 border-0 rounded-1 h-100 gap-2">
60
- <span class="stat-label text-xs fw-semibold"><i class="text-muted fa-solid fa-envelope"></i> <span>[[user:email]]</span> {{{ if emailHidden}}}<span class="text-lowercase">([[global:hidden]])</span>{{{ end }}}</span>
61
- <span class="text-sm text-center text-break w-100 px-2 ff-secondary">{email}</span>
62
- </div>
63
- </div>
64
- {{{ end }}}
65
-
66
- {{{ if age }}}
67
- <div class="stat">
68
- <div class="align-items-center justify-content-center card card-header px-0 py-3 border-0 rounded-1 h-100 gap-2">
69
- <span class="stat-label text-xs fw-semibold"><span><i class="text-muted fa-solid fa-cake-candles"></i> [[user:age]]</span></span>
70
- <span class="fs-6 ff-secondary">{age}</span>
71
- </div>
72
- </div>
73
- {{{ end }}}
74
-
75
- {{{ each customUserFields }}}
76
- {{{ if ./value }}}
77
- <div class="stat">
78
- <div class="align-items-center justify-content-center card card-header px-0 py-3 border-0 rounded-1 h-100 gap-2">
79
- <span class="stat-label text-xs fw-semibold"><span><i class="text-muted {./icon}"></i> {./name}</span></span>
80
- {{{ if (./type == "input-link") }}}
81
- <a class="text-sm text-center text-break w-100 px-2 ff-secondary text-underline text-reset" href="{./value}" rel="nofollow noreferrer">{./linkValue}</a>
82
- {{{ else }}}
83
- <span class="text-center {{{ if (./type == "input-number") }}}fs-2{{{else }}}fs-6{{{ end }}} ff-secondary">{./value}</span>
84
- {{{ end }}}
85
- </div>
86
- </div>
87
- {{{ end }}}
88
- {{{ end }}}
89
- </div>
90
- </div>
91
-
92
- <!-- IMPORT partials/account/footer.tpl -->
1
+ <!-- IMPORT partials/account/header.tpl -->
2
+
3
+ {{{ if widgets.profile-aboutme-before.length }}}
4
+ <div data-widget-area="profile-aboutme-before">
5
+ {{{each widgets.profile-aboutme-before}}}
6
+ {./html}
7
+ {{{end}}}
8
+ </div>
9
+ {{{ end }}}
10
+
11
+ {{{ if aboutme }}}
12
+ <div component="aboutme" class="text-sm text-break">
13
+ {aboutmeParsed}
14
+ </div>
15
+ {{{ end }}}
16
+
17
+ {{{ if widgets.profile-aboutme-after.length }}}
18
+ <div data-widget-area="profile-aboutme-after">
19
+ {{{each widgets.profile-aboutme-after}}}
20
+ {./html}
21
+ {{{end}}}
22
+ </div>
23
+ {{{ end }}}
24
+
25
+ <div class="account-stats container">
26
+ <div class="row row-cols-2 row-cols-xl-3 row-cols-xxl-4 g-2 mb-5">
27
+ {{{ if !reputation:disabled }}}
28
+ <div class="stat">
29
+ <div class="align-items-center justify-content-center card card-header px-0 py-3 border-0 rounded-1 h-100">
30
+ <span class="stat-label text-xs fw-semibold">[[global:reputation]]</span>
31
+ <span class="fs-2 ff-secondary" title="{reputation}">{humanReadableNumber(reputation)}</span>
32
+ </div>
33
+ </div>
34
+ {{{ end }}}
35
+ <div class="stat">
36
+ <div class="align-items-center justify-content-center card card-header px-0 py-3 border-0 rounded-1 h-100">
37
+ <span class="stat-label text-xs fw-semibold">[[user:profile-views]]</span>
38
+ <span class="fs-2 ff-secondary" title="
39
+ {profileviews}">{humanReadableNumber(profileviews)}</span>
40
+ </div>
41
+ </div>
42
+
43
+ <div class="stat">
44
+ <div class="align-items-center justify-content-center card card-header px-0 py-3 border-0 rounded-1 h-100 gap-2">
45
+ <span class="stat-label text-xs fw-semibold"><i class="text-muted fa-solid fa-user-plus"></i> <span>[[user:joined]]</span></span>
46
+ <span class="timeago fs-6 ff-secondary" title="{joindateISO}"></span>
47
+ </div>
48
+ </div>
49
+
50
+ <div class="stat">
51
+ <div class="align-items-center justify-content-center card card-header px-0 py-3 border-0 rounded-1 h-100 gap-2">
52
+ <span class="stat-label text-xs fw-semibold"><i class="text-muted fa-solid fa-clock"></i> <span>[[user:lastonline]]</span></span>
53
+ <span class="timeago text-center text-break w-100 px-2 fs-6 ff-secondary" title="{lastonlineISO}"></span>
54
+ </div>
55
+ </div>
56
+
57
+ {{{ if email }}}
58
+ <div class="stat">
59
+ <div class="align-items-center justify-content-center card card-header px-0 py-3 border-0 rounded-1 h-100 gap-2">
60
+ <span class="stat-label text-xs fw-semibold"><i class="text-muted fa-solid fa-envelope"></i> <span>[[user:email]]</span> {{{ if emailHidden}}}<span class="text-lowercase">([[global:hidden]])</span>{{{ end }}}</span>
61
+ <span class="text-sm text-center text-break w-100 px-2 ff-secondary">{email}</span>
62
+ </div>
63
+ </div>
64
+ {{{ end }}}
65
+
66
+ {{{ if age }}}
67
+ <div class="stat">
68
+ <div class="align-items-center justify-content-center card card-header px-0 py-3 border-0 rounded-1 h-100 gap-2">
69
+ <span class="stat-label text-xs fw-semibold"><span><i class="text-muted fa-solid fa-cake-candles"></i> [[user:age]]</span></span>
70
+ <span class="fs-6 ff-secondary">{age}</span>
71
+ </div>
72
+ </div>
73
+ {{{ end }}}
74
+
75
+ {{{ each customUserFields }}}
76
+ {{{ if ./value }}}
77
+ <div class="stat">
78
+ <div class="align-items-center justify-content-center card card-header px-0 py-3 border-0 rounded-1 h-100 gap-2">
79
+ <span class="stat-label text-xs fw-semibold"><span><i class="text-muted {./icon}"></i> {./name}</span></span>
80
+ {{{ if (./type == "input-link") }}}
81
+ <a class="text-sm text-center text-break w-100 px-2 ff-secondary text-underline text-reset" href="{./value}" rel="nofollow noreferrer">{./linkValue}</a>
82
+ {{{ else }}}
83
+ <span class="text-center {{{ if (./type == "input-number") }}}fs-2{{{else }}}fs-6{{{ end }}} ff-secondary">{./value}</span>
84
+ {{{ end }}}
85
+ </div>
86
+ </div>
87
+ {{{ end }}}
88
+ {{{ end }}}
89
+ </div>
90
+ </div>
91
+
92
+ <!-- IMPORT partials/account/footer.tpl -->
@@ -1,9 +1,9 @@
1
- <!-- IMPORT partials/account/header.tpl -->
2
-
3
- <p class="lead">[[user:sessions.description]]</p>
4
- <hr />
5
- <ul class="list-group" component="user/sessions">
6
- <!-- IMPORT partials/account/session-list.tpl -->
7
- </ul>
8
-
1
+ <!-- IMPORT partials/account/header.tpl -->
2
+
3
+ <p class="lead">[[user:sessions.description]]</p>
4
+ <hr />
5
+ <ul class="list-group" component="user/sessions">
6
+ <!-- IMPORT partials/account/session-list.tpl -->
7
+ </ul>
8
+
9
9
  <!-- IMPORT partials/account/footer.tpl -->