nodebb-theme-harmony 1.0.0 → 1.0.1

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 (155) hide show
  1. package/README.md +12 -1
  2. package/languages/en-GB/harmony.json +6 -1
  3. package/library.js +56 -25
  4. package/package.json +1 -1
  5. package/plugin.json +0 -1
  6. package/public/harmony.js +165 -41
  7. package/public/settings.js +1 -0
  8. package/screenshots/categories.png +0 -0
  9. package/screenshots/recent.png +0 -0
  10. package/screenshots/topic.png +0 -0
  11. package/scss/account.scss +1 -1
  12. package/scss/chats.scss +81 -26
  13. package/scss/common.scss +84 -10
  14. package/scss/flags.scss +5 -0
  15. package/scss/groups.scss +2 -2
  16. package/scss/harmony.scss +3 -0
  17. package/scss/mixins.scss +7 -3
  18. package/scss/modals.scss +5 -3
  19. package/scss/modules/bottom-sheet.scss +1 -1
  20. package/scss/modules/composer.scss +0 -4
  21. package/scss/modules/cover.scss +1 -11
  22. package/scss/modules/filters.scss +8 -0
  23. package/scss/modules/paginator.scss +24 -0
  24. package/scss/modules/tags.scss +2 -2
  25. package/scss/modules/topic-navigator.scss +18 -42
  26. package/scss/modules/topics-list.scss +32 -17
  27. package/scss/modules/user-menu.scss +6 -0
  28. package/scss/overrides.scss +4 -1
  29. package/scss/sidebar.scss +61 -8
  30. package/scss/topic.scss +36 -13
  31. package/templates/account/blocks.tpl +35 -40
  32. package/templates/account/categories.tpl +47 -29
  33. package/templates/account/consent.tpl +66 -10
  34. package/templates/account/edit/password.tpl +25 -30
  35. package/templates/account/edit/username.tpl +21 -26
  36. package/templates/account/edit.tpl +105 -116
  37. package/templates/account/followers.tpl +12 -19
  38. package/templates/account/following.tpl +12 -18
  39. package/templates/account/groups.tpl +12 -17
  40. package/templates/account/info.tpl +178 -206
  41. package/templates/account/posts.tpl +31 -36
  42. package/templates/account/profile.tpl +82 -72
  43. package/templates/account/sessions.tpl +8 -30
  44. package/templates/account/settings.tpl +222 -203
  45. package/templates/account/theme.tpl +39 -25
  46. package/templates/account/topics.tpl +36 -38
  47. package/templates/account/uploads.tpl +33 -40
  48. package/templates/admin/plugins/harmony.tpl +21 -3
  49. package/templates/categories.tpl +3 -6
  50. package/templates/category.tpl +13 -14
  51. package/templates/chats.tpl +9 -10
  52. package/templates/flags/detail.tpl +160 -193
  53. package/templates/flags/list.tpl +3 -70
  54. package/templates/footer.tpl +2 -2
  55. package/templates/groups/details.tpl +22 -19
  56. package/templates/groups/list.tpl +1 -1
  57. package/templates/groups/members.tpl +0 -2
  58. package/templates/header.tpl +2 -2
  59. package/templates/login.tpl +4 -4
  60. package/templates/notifications.tpl +5 -5
  61. package/templates/partials/account/admin-menu.tpl +9 -9
  62. package/templates/partials/account/category-item.tpl +14 -17
  63. package/templates/partials/account/footer.tpl +3 -0
  64. package/templates/partials/account/header.tpl +78 -81
  65. package/templates/partials/account/session-list.tpl +18 -0
  66. package/templates/partials/account/sidebar-left.tpl +31 -25
  67. package/templates/partials/breadcrumbs.tpl +6 -6
  68. package/templates/partials/buttons/newTopic.tpl +1 -1
  69. package/templates/partials/categories/item.tpl +31 -27
  70. package/templates/partials/categories/lastpost.tpl +7 -7
  71. package/templates/partials/category/filter-dropdown-content.tpl +37 -0
  72. package/templates/partials/{category-selector-content.tpl → category/selector-dropdown-content.tpl} +7 -7
  73. package/templates/partials/category/sort.tpl +22 -7
  74. package/templates/partials/category/subcategory.tpl +2 -3
  75. package/templates/partials/category/tags.tpl +0 -2
  76. package/templates/partials/category/tools.tpl +28 -25
  77. package/templates/partials/category/watch.tpl +39 -6
  78. package/templates/partials/chats/dropdown.tpl +4 -1
  79. package/templates/partials/chats/message-window.tpl +12 -8
  80. package/templates/partials/chats/message.tpl +8 -10
  81. package/templates/partials/chats/options.tpl +14 -6
  82. package/templates/partials/chats/recent_room.tpl +41 -32
  83. package/templates/partials/cookie-consent.tpl +5 -5
  84. package/templates/partials/flags/bulk-actions.tpl +9 -0
  85. package/templates/partials/flags/filters.tpl +165 -78
  86. package/templates/partials/flags/results.tpl +38 -0
  87. package/templates/partials/groups/admin.tpl +4 -4
  88. package/templates/partials/groups/badge.tpl +1 -1
  89. package/templates/partials/groups/invited.tpl +1 -1
  90. package/templates/partials/groups/list.tpl +2 -2
  91. package/templates/partials/groups/memberlist.tpl +2 -2
  92. package/templates/partials/groups/sidebar-left.tpl +10 -10
  93. package/templates/partials/header/brand.tpl +9 -2
  94. package/templates/partials/mobile-footer.tpl +69 -61
  95. package/templates/partials/notifications_list.tpl +11 -8
  96. package/templates/partials/paginator.tpl +11 -9
  97. package/templates/partials/post_bar.tpl +26 -24
  98. package/templates/partials/posts_list_item.tpl +5 -5
  99. package/templates/partials/quick-search-results.tpl +3 -3
  100. package/templates/partials/search-filters.tpl +184 -0
  101. package/templates/partials/search-results.tpl +28 -35
  102. package/templates/partials/sidebar/chats.tpl +26 -34
  103. package/templates/partials/sidebar/drafts.tpl +45 -34
  104. package/templates/partials/sidebar/logged-in-menu.tpl +5 -5
  105. package/templates/partials/sidebar/logged-out-menu.tpl +1 -1
  106. package/templates/partials/sidebar/notifications.tpl +30 -9
  107. package/templates/partials/sidebar/search-mobile.tpl +1 -1
  108. package/templates/partials/sidebar/search.tpl +1 -1
  109. package/templates/partials/sidebar/user-menu.tpl +38 -29
  110. package/templates/partials/sidebar-left.tpl +14 -11
  111. package/templates/partials/sidebar-right.tpl +1 -3
  112. package/templates/partials/skin-switcher.tpl +3 -3
  113. package/templates/partials/tags/filter-dropdown-content.tpl +34 -0
  114. package/templates/partials/tags_list.tpl +4 -4
  115. package/templates/partials/topic/browsing-users.tpl +0 -2
  116. package/templates/partials/topic/event.tpl +1 -1
  117. package/templates/partials/topic/navigation-post.tpl +5 -9
  118. package/templates/partials/topic/navigator-mobile.tpl +62 -0
  119. package/templates/partials/topic/navigator.tpl +23 -17
  120. package/templates/partials/topic/post-editor.tpl +0 -2
  121. package/templates/partials/topic/post-menu-list.tpl +60 -62
  122. package/templates/partials/topic/post-menu.tpl +16 -11
  123. package/templates/partials/topic/post.tpl +45 -27
  124. package/templates/partials/topic/quickreply.tpl +8 -8
  125. package/templates/partials/topic/reply-button.tpl +7 -7
  126. package/templates/partials/topic/sort.tpl +17 -5
  127. package/templates/partials/topic/tools.tpl +2 -2
  128. package/templates/partials/topic/topic-menu-list.tpl +22 -24
  129. package/templates/partials/topic/watch.tpl +42 -9
  130. package/templates/partials/topic-filters.tpl +6 -3
  131. package/templates/partials/topic-list-bar.tpl +50 -46
  132. package/templates/partials/topic-terms.tpl +6 -3
  133. package/templates/partials/topics_list.tpl +88 -93
  134. package/templates/partials/userFilter-placeholders.tpl +5 -0
  135. package/templates/partials/users/filter-dropdown-content.tpl +23 -0
  136. package/templates/partials/users/item.tpl +25 -27
  137. package/templates/partials/users_list.tpl +1 -1
  138. package/templates/popular.tpl +3 -1
  139. package/templates/post-queue.tpl +166 -0
  140. package/templates/recent.tpl +3 -2
  141. package/templates/register.tpl +4 -4
  142. package/templates/search.tpl +39 -177
  143. package/templates/tags.tpl +3 -3
  144. package/templates/top.tpl +3 -1
  145. package/templates/topic.tpl +74 -68
  146. package/templates/unread.tpl +3 -1
  147. package/templates/users.tpl +7 -3
  148. package/templates/modules/usercard.tpl +0 -39
  149. package/templates/partials/acceptTos.tpl +0 -11
  150. package/templates/partials/category-filter-content.tpl +0 -30
  151. package/templates/partials/category-filter-right.tpl +0 -5
  152. package/templates/partials/category-filter.tpl +0 -3
  153. package/templates/partials/category-selector-right.tpl +0 -5
  154. package/templates/partials/category-selector.tpl +0 -3
  155. package/templates/partials/slideout-menu.tpl +0 -6
@@ -6,86 +6,92 @@
6
6
  </div>
7
7
  {{{ end }}}
8
8
 
9
- <h2 component="post/header" class="fs-2 mb-0 {{{ if config.centerHeaderElements }}}text-center{{{ end }}}" itemprop="name">
10
- <span class="topic-title" component="topic/title">{title}</span>
11
- </h2>
9
+ <div class="d-flex flex-column gap-3" itemid="{url}" itemscope itemtype="https://schema.org/DiscussionForumPosting">
10
+ <h2 component="post/header" class="tracking-tight fw-semibold fs-2 mb-0 text-break {{{ if config.theme.centerHeaderElements }}}text-center{{{ end }}}" itemprop="headline">
11
+ <span class="topic-title" component="topic/title">{title}</span>
12
+ </h2>
12
13
 
13
- <div class="topic-info d-flex gap-2 align-items-center flex-wrap {{{ if config.centerHeaderElements }}}justify-content-center{{{ end }}}">
14
- <span component="topic/labels" class="d-flex gap-2">
15
- <span component="topic/scheduled" class="badge badge border border-gray-300 text-primary {{{ if !scheduled }}}hidden{{{ end }}}">
16
- <i class="fa fa-clock-o"></i>
17
- [[topic:scheduled]]
14
+ <div class="topic-info d-flex gap-2 align-items-center flex-wrap {{{ if config.theme.centerHeaderElements }}}justify-content-center{{{ end }}}">
15
+ <span component="topic/labels" class="d-flex gap-2 {{{ if (!scheduled && (!pinned && (!locked && (!oldCid && !icons.length)))) }}}hidden{{{ end }}}">
16
+ <span component="topic/scheduled" class="badge badge border border-gray-300 text-primary {{{ if !scheduled }}}hidden{{{ end }}}">
17
+ <i class="fa fa-clock-o"></i>
18
+ [[topic:scheduled]]
19
+ </span>
20
+ <span component="topic/pinned" class="badge badge border border-gray-300 text-primary {{{ if (scheduled || !pinned) }}}hidden{{{ end }}}">
21
+ <i class="fa fa-thumb-tack"></i>
22
+ {{{ if !pinExpiry }}}[[topic:pinned]]{{{ else }}}[[topic:pinned-with-expiry, {pinExpiryISO}]]{{{ end }}}
23
+ </span>
24
+ <span component="topic/locked" class="badge badge border border-gray-300 text-primary {{{ if !locked }}}hidden{{{ end }}}">
25
+ <i class="fa fa-lock"></i>
26
+ [[topic:locked]]
27
+ </span>
28
+ <span class="badge badge border border-gray-300 text-primary {{{ if !oldCid }}}hidden{{{ end }}}">
29
+ <i class="fa fa-arrow-circle-right"></i>
30
+ {{{ if privileges.isAdminOrMod }}}[[topic:moved-from, {oldCategory.name}]]{{{ else }}}[[topic:moved]]{{{ end }}}
31
+ </span>
32
+ {{{each icons}}}<span class="lh-1">{@value}</span>{{{end}}}
18
33
  </span>
19
- <span component="topic/pinned" class="badge badge border border-gray-300 text-primary {{{ if (scheduled || !pinned) }}}hidden{{{ end }}}">
20
- <i class="fa fa-thumb-tack"></i>
21
- {{{ if !pinExpiry }}}[[topic:pinned]]{{{ else }}}[[topic:pinned-with-expiry, {pinExpiryISO}]]{{{ end }}}
22
- </span>
23
- <span component="topic/locked" class="badge badge border border-gray-300 text-primary {{{ if !locked }}}hidden{{{ end }}}">
24
- <i class="fa fa-lock"></i>
25
- [[topic:locked]]
26
- </span>
27
- <span class="badge badge border border-gray-300 text-primary {{{ if !oldCid }}}hidden{{{ end }}}">
28
- <i class="fa fa-arrow-circle-right"></i>
29
- {{{ if privileges.isAdminOrMod }}}[[topic:moved-from, {oldCategory.name}]]{{{ else }}}[[topic:moved]]{{{ end }}}
30
- </span>
31
- {{{each icons}}}<span class="align-middle">{@value}</span>{{{end}}}
32
- </span>
33
- <a class="lh-1" href="{config.relative_path}/category/{category.slug}">{function.buildCategoryLabel, category, "border"}</a>
34
- <div class="lh-1 tags tag-list d-flex hidden-xs gap-2"><!-- IMPORT partials/topic/tags.tpl --></div>
35
- <div class="d-flex hidden-xs gap-2">
36
- <!-- IMPORT partials/topic/stats.tpl -->
34
+ <a class="lh-1" href="{config.relative_path}/category/{category.slug}">{function.buildCategoryLabel, category, "border"}</a>
35
+ <div class="lh-1 tags tag-list d-flex flex-wrap hidden-xs gap-2"><!-- IMPORT partials/topic/tags.tpl --></div>
36
+ <div class="d-flex hidden-xs gap-2">
37
+ <!-- IMPORT partials/topic/stats.tpl -->
38
+ </div>
37
39
  </div>
38
- </div>
39
40
 
40
- <div class="row">
41
- <div class="topic {{{ if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
42
- <!-- IMPORT partials/post_bar.tpl -->
41
+ <div class="row">
42
+ <div class="topic {{{ if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
43
+ <!-- IMPORT partials/post_bar.tpl -->
43
44
 
44
- {{{ if merger }}}
45
- <!-- IMPORT partials/topic/merged-message.tpl -->
46
- {{{ end }}}
45
+ {{{ if merger }}}
46
+ <!-- IMPORT partials/topic/merged-message.tpl -->
47
+ {{{ end }}}
47
48
 
48
- {{{ if !scheduled }}}
49
- <!-- IMPORT partials/topic/deleted-message.tpl -->
50
- {{{ end }}}
49
+ {{{ if !scheduled }}}
50
+ <!-- IMPORT partials/topic/deleted-message.tpl -->
51
+ {{{ end }}}
51
52
 
52
- <ul component="topic" class="posts timeline mt-sm-4 p-0 py-3" data-tid="{tid}" data-cid="{cid}">
53
- {{{each posts}}}
54
- <li component="post" class="pt-4 {{{ if posts.deleted }}}deleted{{{ end }}} {{{ if posts.selfPost }}}self-post{{{ end }}} {{{ if posts.topicOwnerPost }}}topic-owner-post{{{ end }}}" <!-- IMPORT partials/data/topic.tpl -->>
55
- <a component="post/anchor" data-index="{posts.index}" id="{posts.index}"></a>
53
+ <div class="d-flex gap-0 gap-lg-5">
54
+ <ul component="topic" class="posts timeline mt-sm-2 p-0 py-3" style="min-width: 0;" data-tid="{tid}" data-cid="{cid}">
55
+ {{{each posts}}}
56
+ <li component="post" class="pt-4 {{{ if posts.deleted }}}deleted{{{ end }}} {{{ if posts.selfPost }}}self-post{{{ end }}} {{{ if posts.topicOwnerPost }}}topic-owner-post{{{ end }}}" <!-- IMPORT partials/data/topic.tpl -->>
57
+ <a component="post/anchor" data-index="{./index}" id="{increment(./index, "1")}"></a>
56
58
 
57
- <meta itemprop="datePublished" content="{posts.timestampISO}">
58
- <meta itemprop="dateModified" content="{posts.editedISO}">
59
+ <meta itemprop="datePublished" content="{./timestampISO}">
60
+ <meta itemprop="dateModified" content="{./editedISO}">
59
61
 
60
- <!-- IMPORT partials/topic/post.tpl -->
61
- </li>
62
- {{{ if (config.topicPostSort != "most_votes") }}}
63
- {{{ each ./events}}}
64
- <!-- IMPORT partials/topic/event.tpl -->
65
- {{{ end }}}
66
- {{{ end }}}
67
- {{{end}}}
68
- </ul>
62
+ <!-- IMPORT partials/topic/post.tpl -->
63
+ </li>
64
+ {{{ if (config.topicPostSort != "most_votes") }}}
65
+ {{{ each ./events}}}
66
+ <!-- IMPORT partials/topic/event.tpl -->
67
+ {{{ end }}}
68
+ {{{ end }}}
69
+ {{{end}}}
70
+ </ul>
69
71
 
70
- {{{ if browsingUsers }}}
71
- <div class="visible-xs">
72
- <!-- IMPORT partials/topic/browsing-users.tpl -->
73
- <hr/>
74
- </div>
75
- {{{ end }}}
72
+ <!-- IMPORT partials/topic/navigator.tpl -->
73
+ </div>
76
74
 
77
- {{{ if config.enableQuickReply }}}
78
- <!-- IMPORT partials/topic/quickreply.tpl -->
79
- {{{ end }}}
75
+ {{{ if browsingUsers }}}
76
+ <div class="visible-xs">
77
+ <!-- IMPORT partials/topic/browsing-users.tpl -->
78
+ <hr/>
79
+ </div>
80
+ {{{ end }}}
80
81
 
81
- {{{ if config.usePagination }}}
82
- <!-- IMPORT partials/paginator.tpl -->
83
- {{{ end }}}
84
- </div>
85
- <div data-widget-area="sidebar" class="col-lg-3 col-sm-12 {{{ if !widgets.sidebar.length }}}hidden{{{ end }}}">
86
- {{{each widgets.sidebar}}}
87
- {{widgets.sidebar.html}}
88
- {{{end}}}
82
+ {{{ if config.theme.enableQuickReply }}}
83
+ <!-- IMPORT partials/topic/quickreply.tpl -->
84
+ {{{ end }}}
85
+
86
+ {{{ if config.usePagination }}}
87
+ <!-- IMPORT partials/paginator.tpl -->
88
+ {{{ end }}}
89
+ </div>
90
+ <div data-widget-area="sidebar" class="col-lg-3 col-sm-12 {{{ if !widgets.sidebar.length }}}hidden{{{ end }}}">
91
+ {{{each widgets.sidebar}}}
92
+ {{widgets.sidebar.html}}
93
+ {{{end}}}
94
+ </div>
89
95
  </div>
90
96
  </div>
91
97
 
@@ -1,12 +1,14 @@
1
+ {{{ if widgets.header.length }}}
1
2
  <div data-widget-area="header">
2
3
  {{{each widgets.header}}}
3
4
  {{widgets.header.html}}
4
5
  {{{end}}}
5
6
  </div>
7
+ {{{ end }}}
6
8
  <div class="unread">
7
9
  <!-- IMPORT partials/topic-list-bar.tpl -->
8
10
  <div class="category">
9
- <div id="category-no-topics" class="alert alert-warning {{{ if topics.length }}}hidden{{{ end }}}">[[unread:no_unread_topics]]</div>
11
+ <div id="category-no-topics" class="alert alert-info {{{ if topics.length }}}hidden{{{ end }}}">[[unread:no_unread_topics]]</div>
10
12
 
11
13
  <!-- IMPORT partials/topics_list.tpl -->
12
14
  <button id="load-more-btn" class="btn btn-primary hide">[[unread:load_more]]</button>
@@ -4,7 +4,7 @@
4
4
  {{{end}}}
5
5
  </div>
6
6
  <div class="users">
7
- <h2 class="fw-semibold">[[global:users]]</h2>
7
+ <h3 class="fw-semibold">[[global:users]]</h3>
8
8
  <div class="d-flex flex-wrap justify-content-between">
9
9
  <div class="mb-2 mb-md-0">
10
10
  <!-- IMPORT partials/users_list_menu.tpl -->
@@ -12,7 +12,7 @@
12
12
  <div class="">
13
13
  <div class="d-flex justify-content-end gap-2">
14
14
  {{{ if showInviteButton }}}
15
- <button component="user/invite" class="btn btn-primary btn-sm"><i class="fa fa-user-plus"></i> [[users:invite]]</button>
15
+ <button component="user/invite" class="btn btn-primary btn-sm text-nowrap"><i class="fa fa-user-plus"></i> [[users:invite]]</button>
16
16
  {{{ end }}}
17
17
  {{{ if displayUserSearch }}}
18
18
  <div class="search">
@@ -29,7 +29,11 @@
29
29
  </div>
30
30
  <hr/>
31
31
 
32
- <!-- IMPORT partials/users_list.tpl -->
32
+ <div id="users-container" class="users-container row row-cols-2 row-cols-md-3 row-cols-lg-4 row-cols-xl-5 g-4">
33
+ {{{ each users }}}
34
+ <!-- IMPORT partials/users/item.tpl -->
35
+ {{{ end }}}
36
+ </div>
33
37
 
34
38
  <!-- IMPORT partials/paginator.tpl -->
35
39
  </div>
@@ -1,39 +0,0 @@
1
- <!-- THIS FILE IS STILL PERSONA -->
2
-
3
- <div class="persona-usercard">
4
- <a href="{config.relative_path}/user/{userslug}">
5
- <!-- IF picture -->
6
- <div class="usercard-picture" style="background-image:url({picture})"></div>
7
- <!-- ELSE -->
8
- <div class="usercard-picture" style="background-color: {icon:bgColor};">{icon:text}</div>
9
- <!-- ENDIF picture -->
10
- </a>
11
- <div class="usercard-body">
12
- <a href="{config.relative_path}/user/{userslug}">
13
- <span class="usercard-name"><!-- IF fullname -->{fullname}<!-- ELSE -->{username}<!-- ENDIF fullname --></span><br />
14
- <span class="usercard-username"><!-- IF !banned -->@{username}<!-- ELSE -->[[user:banned]]<!-- ENDIF !banned --></span>
15
- <!-- IF !banned -->
16
- <i component="user/status" class="fa fa-circle status {status}" title="[[global:{status}]]"></i>
17
- <!-- ENDIF !banned -->
18
- </a>
19
-
20
- <div class="row usercard-info">
21
- <div class="col-4">
22
- <small>[[global:posts]]</small>
23
- <span class="human-readable-number">{postcount}</span>
24
- </div>
25
- <div class="col-4">
26
- <small>[[global:reputation]]</small>
27
- <span class="human-readable-number">{reputation}</span>
28
- </div>
29
-
30
- <button class="btn-morph persona-fab <!-- IF banned --> hide<!-- ENDIF banned -->">
31
- <span>
32
- <span class="s1"></span>
33
- <span class="s2"></span>
34
- <span class="s3"></span>
35
- </span>
36
- </button>
37
- </div>
38
- </div>
39
- </div>
@@ -1,11 +0,0 @@
1
- <!-- THIS FILE IS STILL PERSONA -->
2
-
3
- <div class="form-group">
4
- <label for="agree-terms">[[register:terms_of_use]]</label>
5
- <div class="tos">{termsOfUse}</div>
6
- <div class="checkbox">
7
- <label>
8
- <input type="checkbox" name="agree-terms" id="agree-terms"> [[register:agree_to_terms_of_use]]
9
- </label>
10
- </div>
11
- </div>
@@ -1,30 +0,0 @@
1
- <button type="button" class="btn-ghost-sm d-flex gap-2 align-items-baseline dropdown-toggle" data-bs-toggle="dropdown">
2
- {{{ if selectedCategory }}}
3
- <span class="category-item">
4
- {buildCategoryIcon(selectedCategory, "20px", "rounded-circle")}
5
- <span class="visible-md-inline visible-lg-inline fw-semibold">{selectedCategory.name}</span>
6
- </span>
7
- {{{ else }}}
8
- <i class="fa fa-fw fa-list link-primary"></i>
9
- <span class="visible-md-inline visible-lg-inline fw-semibold">[[unread:all_categories]]</span>{{{ end }}}
10
- </button>
11
- <div component="category-selector-search" class="hidden position-absolute">
12
- <input type="text" class="form-control" autocomplete="off">
13
- </div>
14
- <ul component="category/list" class="dropdown-menu category-dropdown-menu" role="menu">
15
- <li role="presentation" class="category" data-all="all">
16
- <a class="dropdown-item" role="menu-item" href="{config.relative_path}/{allCategoriesUrl}"><i component="category/select/icon" class="fa fa-fw fa-check {{{if selectedCategory}}}invisible{{{end}}}"></i> [[unread:all_categories]]</a>
17
- </li>
18
- {{{each categoryItems}}}
19
- <li role="presentation" class="category {{{ if ../disabledClass }}}disabled{{{ end }}}" data-cid="{../cid}" data-parent-cid="{../parentCid}" data-name="{../name}">
20
- <a class="dropdown-item" role="menu-item" href="#">{../level}<i component="category/select/icon" class="fa fa-fw fa-check {{{ if !../selected }}}invisible{{{ end }}}"></i>
21
- <span component="category-markup" style="{{{ if ../match }}}font-weight: bold;{{{end}}}">
22
- <div class="category-item d-inline-block">
23
- {buildCategoryIcon(@value, "24px", "rounded-circle")}
24
- {./name}
25
- </div>
26
- </span>
27
- </a>
28
- </li>
29
- {{{end}}}
30
- </ul>
@@ -1,5 +0,0 @@
1
- <!-- THIS FILE IS STILL PERSONA -->
2
-
3
- <div component="category/dropdown" class="btn-group right category-dropdown-container bottom-sheet">
4
- <!-- IMPORT partials/category-filter-content.tpl -->
5
- </div>
@@ -1,3 +0,0 @@
1
- <div component="category/dropdown" class="btn-group category-dropdown-container bottom-sheet">
2
- <!-- IMPORT partials/category-filter-content.tpl -->
3
- </div>
@@ -1,5 +0,0 @@
1
- <!-- THIS FILE IS STILL PERSONA -->
2
-
3
- <div component="category-selector" class="btn-group right category-dropdown-container bottom-sheet">
4
- <!-- IMPORT partials/category-selector-content.tpl -->
5
- </div>
@@ -1,3 +0,0 @@
1
- <div component="category-selector" class="btn-group bottom-sheet">
2
- <!-- IMPORT partials/category-selector-content.tpl -->
3
- </div>
@@ -1,6 +0,0 @@
1
- <!-- THIS FILE IS STILL PERSONA -->
2
-
3
- <section class="menu-section" data-section="navigation">
4
- <ul class="menu-section-list text-bg-dark"></ul>
5
- </section>
6
-