nodebb-theme-persona 13.3.29 → 13.3.31

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 (146) hide show
  1. package/.eslintrc +2 -2
  2. package/README.md +20 -20
  3. package/lib/controllers.js +24 -24
  4. package/library.js +97 -97
  5. package/package.json +52 -52
  6. package/plugin.json +20 -20
  7. package/public/.eslintrc +2 -2
  8. package/public/admin.js +15 -15
  9. package/public/modules/autohidingnavbar.js +220 -220
  10. package/public/modules/mobile-menu.js +190 -190
  11. package/public/modules/taskbar.js +65 -65
  12. package/public/persona.js +257 -257
  13. package/public/settings.js +53 -53
  14. package/scss/account.scss +336 -336
  15. package/scss/categories.scss +205 -205
  16. package/scss/category.scss +161 -161
  17. package/scss/chats.scss +14 -14
  18. package/scss/flags.scss +42 -42
  19. package/scss/footer.scss +16 -16
  20. package/scss/groups.scss +166 -166
  21. package/scss/header.scss +361 -361
  22. package/scss/keyframes.scss +152 -152
  23. package/scss/mixins.scss +129 -129
  24. package/scss/mobile.scss +331 -331
  25. package/scss/modules/composer.scss +20 -20
  26. package/scss/modules/cookie-consent.scss +12 -12
  27. package/scss/modules/fab.scss +32 -32
  28. package/scss/modules/morph.scss +268 -268
  29. package/scss/modules/necro-post.scss +8 -8
  30. package/scss/modules/nprogress.scss +80 -80
  31. package/scss/modules/taskbar.scss +160 -160
  32. package/scss/modules/user-menu.scss +7 -7
  33. package/scss/modules/usercard.scss +64 -64
  34. package/scss/noscript.scss +80 -80
  35. package/scss/overrides.scss +39 -39
  36. package/scss/persona.scss +34 -35
  37. package/scss/posts_list.scss +127 -127
  38. package/scss/search.scss +48 -48
  39. package/scss/style.scss +270 -270
  40. package/scss/tags.scss +10 -10
  41. package/scss/topic.scss +571 -571
  42. package/scss/topics_list.scss +16 -16
  43. package/scss/variables.scss +6 -6
  44. package/templates/account/blocks.tpl +46 -46
  45. package/templates/account/categories.tpl +28 -28
  46. package/templates/account/consent.tpl +68 -68
  47. package/templates/account/edit/password.tpl +29 -29
  48. package/templates/account/edit/username.tpl +25 -25
  49. package/templates/account/edit.tpl +136 -136
  50. package/templates/account/followers.tpl +17 -17
  51. package/templates/account/following.tpl +17 -17
  52. package/templates/account/groups.tpl +16 -16
  53. package/templates/account/info.tpl +291 -291
  54. package/templates/account/posts.tpl +18 -18
  55. package/templates/account/profile.tpl +166 -166
  56. package/templates/account/sessions.tpl +31 -31
  57. package/templates/account/settings.tpl +251 -251
  58. package/templates/account/tags.tpl +9 -9
  59. package/templates/account/theme.tpl +25 -25
  60. package/templates/account/topics.tpl +29 -29
  61. package/templates/account/uploads.tpl +42 -42
  62. package/templates/admin/plugins/persona.tpl +24 -24
  63. package/templates/categories.tpl +31 -31
  64. package/templates/category.tpl +63 -63
  65. package/templates/flags/detail.tpl +208 -208
  66. package/templates/flags/list.tpl +71 -71
  67. package/templates/footer.tpl +11 -11
  68. package/templates/groups/details.tpl +77 -77
  69. package/templates/groups/list.tpl +48 -48
  70. package/templates/groups/members.tpl +5 -5
  71. package/templates/header.tpl +47 -47
  72. package/templates/modules/taskbar.tpl +2 -2
  73. package/templates/modules/usercard.tpl +36 -36
  74. package/templates/notifications.tpl +66 -66
  75. package/templates/partials/account/category-item.tpl +23 -23
  76. package/templates/partials/account/header.tpl +47 -47
  77. package/templates/partials/account/menu.tpl +108 -108
  78. package/templates/partials/breadcrumbs.tpl +18 -18
  79. package/templates/partials/buttons/newTopic.tpl +22 -22
  80. package/templates/partials/categories/item.tpl +60 -60
  81. package/templates/partials/categories/lastpost.tpl +26 -26
  82. package/templates/partials/category/filter-dropdown-content.tpl +31 -31
  83. package/templates/partials/category/selector-dropdown-content.tpl +32 -32
  84. package/templates/partials/category/sort.tpl +14 -14
  85. package/templates/partials/category/subcategory.tpl +17 -17
  86. package/templates/partials/category/tags.tpl +3 -3
  87. package/templates/partials/category/tools.tpl +86 -86
  88. package/templates/partials/category/watch.tpl +55 -55
  89. package/templates/partials/chats-menu.tpl +40 -40
  90. package/templates/partials/cookie-consent.tpl +4 -4
  91. package/templates/partials/flags/filters.tpl +173 -173
  92. package/templates/partials/groups/admin.tpl +200 -200
  93. package/templates/partials/groups/filter-dropdown-content.tpl +24 -24
  94. package/templates/partials/groups/list.tpl +20 -20
  95. package/templates/partials/groups/memberlist.tpl +42 -42
  96. package/templates/partials/header/chats.tpl +18 -18
  97. package/templates/partials/header/notifications.tpl +18 -18
  98. package/templates/partials/header/search.tpl +24 -24
  99. package/templates/partials/header/user-menu.tpl +96 -96
  100. package/templates/partials/menu.tpl +128 -128
  101. package/templates/partials/notifications_list.tpl +30 -30
  102. package/templates/partials/paginator.tpl +44 -44
  103. package/templates/partials/post_bar.tpl +20 -20
  104. package/templates/partials/posts_list.tpl +7 -7
  105. package/templates/partials/posts_list_item.tpl +31 -31
  106. package/templates/partials/quick-search-results.tpl +33 -33
  107. package/templates/partials/search-filters.tpl +183 -183
  108. package/templates/partials/search-results.tpl +54 -54
  109. package/templates/partials/slideout-menu.tpl +4 -4
  110. package/templates/partials/tags/filter-dropdown-content.tpl +33 -33
  111. package/templates/partials/tags/watch.tpl +35 -35
  112. package/templates/partials/tags_list.tpl +4 -4
  113. package/templates/partials/toast.tpl +19 -19
  114. package/templates/partials/topic/event.tpl +12 -12
  115. package/templates/partials/topic/navigation-post.tpl +11 -11
  116. package/templates/partials/topic/navigator.tpl +39 -39
  117. package/templates/partials/topic/necro-post.tpl +2 -2
  118. package/templates/partials/topic/post-menu-list.tpl +132 -132
  119. package/templates/partials/topic/post-menu.tpl +4 -4
  120. package/templates/partials/topic/post.tpl +128 -128
  121. package/templates/partials/topic/quickreply.tpl +28 -28
  122. package/templates/partials/topic/reply-button.tpl +26 -26
  123. package/templates/partials/topic/selection-tooltip.tpl +2 -2
  124. package/templates/partials/topic/sort.tpl +9 -9
  125. package/templates/partials/topic/stats.tpl +11 -11
  126. package/templates/partials/topic/tags.tpl +2 -2
  127. package/templates/partials/topic/tools.tpl +7 -7
  128. package/templates/partials/topic/topic-menu-list.tpl +74 -74
  129. package/templates/partials/topic/watch.tpl +47 -47
  130. package/templates/partials/topic-filters.tpl +11 -11
  131. package/templates/partials/topic-terms.tpl +11 -11
  132. package/templates/partials/topics_list.tpl +117 -117
  133. package/templates/partials/users/filter-dropdown-content.tpl +20 -20
  134. package/templates/partials/users/item.tpl +43 -43
  135. package/templates/partials/users_list.tpl +14 -14
  136. package/templates/partials/users_list_menu.tpl +20 -20
  137. package/templates/popular.tpl +35 -35
  138. package/templates/recent.tpl +37 -37
  139. package/templates/search.tpl +47 -47
  140. package/templates/tag.tpl +34 -34
  141. package/templates/tags.tpl +32 -32
  142. package/templates/top.tpl +35 -35
  143. package/templates/topic.tpl +129 -129
  144. package/templates/unread.tpl +37 -37
  145. package/templates/users.tpl +34 -34
  146. package/scss/register.scss +0 -71
@@ -1,129 +1,129 @@
1
- <div data-widget-area="header">
2
- {{{each widgets.header}}}
3
- {{widgets.header.html}}
4
- {{{end}}}
5
- </div>
6
- <div class="row mb-5">
7
- <div class="topic {{{ if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}" itemid="{url}" itemscope itemtype="https://schema.org/DiscussionForumPosting">
8
- <meta itemprop="headline" content="{escape(titleRaw)}">
9
- <meta itemprop="text" content="{escape(titleRaw)}">
10
- <meta itemprop="url" content="{url}">
11
- <meta itemprop="datePublished" content="{timestampISO}">
12
- <meta itemprop="dateModified" content="{lastposttimeISO}">
13
- <div itemprop="author" itemscope itemtype="https://schema.org/Person">
14
- <meta itemprop="name" content="{author.username}">
15
- {{{ if author.userslug }}}<meta itemprop="url" content="{config.relative_path}/user/{author.userslug}">{{{ end }}}
16
- </div>
17
-
18
- <div class="topic-header sticky-top mb-3">
19
- <h1 component="post/header" itemprop="name">
20
- <div class="topic-title d-flex">
21
- <span class="fs-3" component="topic/title">{title}</span>
22
- </div>
23
- </h1>
24
-
25
- <div class="topic-info pb-2 d-flex gap-3 align-items-center flex-wrap">
26
- <span component="topic/labels" class="d-flex text-md gap-2 {{{ if (!scheduled && (!pinned && (!locked && (!oldCid && !icons.length)))) }}}hidden{{{ end }}}">
27
- <span component="topic/scheduled" class="badge badge border border-gray-300 text-body {{{ if !scheduled }}}hidden{{{ end }}}">
28
- <i class="fa fa-clock-o"></i> [[topic:scheduled]]
29
- </span>
30
- <span component="topic/pinned" class="badge badge border border-gray-300 text-body {{{ if (scheduled || !pinned) }}}hidden{{{ end }}}">
31
- <i class="fa fa-thumb-tack"></i> {{{ if !pinExpiry }}}[[topic:pinned]]{{{ else }}}[[topic:pinned-with-expiry, {isoTimeToLocaleString(./pinExpiryISO, config.userLang)}]]{{{ end }}}
32
- </span>
33
- <span component="topic/locked" class="badge badge border border-gray-300 text-body {{{ if !locked }}}hidden{{{ end }}}">
34
- <i class="fa fa-lock"></i> [[topic:locked]]
35
- </span>
36
- <a component="topic/moved" href="{config.relative_path}/category/{oldCid}" class="badge badge border border-gray-300 text-body text-decoration-none {{{ if !oldCid }}}hidden{{{ end }}}">
37
- <i class="fa fa-arrow-circle-right"></i> {{{ if privileges.isAdminOrMod }}}[[topic:moved-from, {oldCategory.name}]]{{{ else }}}[[topic:moved]]{{{ end }}}
38
- </a>
39
- {{{each icons}}}<span class="lh-1">{@value}</span>{{{end}}}
40
- </span>
41
-
42
- <div class="category-item d-inline-block">
43
- {buildCategoryIcon(category, "24px", "rounded-circle")}
44
- <a href="{config.relative_path}/category/{category.slug}">{category.name}</a>
45
- </div>
46
-
47
- <div data-tid="{./tid}" component="topic/tags" class="tags tag-list d-inline-block hidden-xs hidden-empty"><!-- IMPORT partials/topic/tags.tpl --></div>
48
- <div class="d-inline-block hidden-xs">
49
- <!-- IMPORT partials/topic/stats.tpl -->
50
- </div>
51
- {{{ if !feeds:disableRSS }}}
52
- {{{ if rssFeedUrl }}}<a class="hidden-xs" target="_blank" href="{rssFeedUrl}"><i class="fa fa-rss-square"></i></a>{{{ end }}}
53
- {{{ end }}}
54
- {{{ if browsingUsers }}}
55
- <div class="d-inline-block hidden-xs">
56
- <!-- IMPORT partials/topic/browsing-users.tpl -->
57
- </div>
58
- {{{ end }}}
59
- <div class="ms-auto">
60
- <!-- IMPORT partials/post_bar.tpl -->
61
- </div>
62
- </div>
63
- </div>
64
- {{{ if merger }}}
65
- <!-- IMPORT partials/topic/merged-message.tpl -->
66
- {{{ end }}}
67
-
68
- {{{ if forker }}}
69
- <!-- IMPORT partials/topic/forked-message.tpl -->
70
- {{{ end }}}
71
-
72
-
73
- {{{ if !scheduled }}}
74
- <!-- IMPORT partials/topic/deleted-message.tpl -->
75
- {{{ end }}}
76
-
77
- <ul component="topic" class="posts timeline" data-tid="{tid}" data-cid="{cid}">
78
- {{{each posts}}}
79
- <li component="post" class="{{{ if posts.deleted }}}deleted{{{ end }}} {{{ if posts.selfPost }}}self-post{{{ end }}} {{{ if posts.topicOwnerPost }}}topic-owner-post{{{ end }}}" <!-- IMPORT partials/data/topic.tpl -->>
80
- <a component="post/anchor" data-index="{./index}" id="{increment(./index, "1")}"></a>
81
-
82
- <meta itemprop="datePublished" content="{posts.timestampISO}">
83
- <meta itemprop="dateModified" content="{posts.editedISO}">
84
-
85
- <!-- IMPORT partials/topic/post.tpl -->
86
- </li>
87
- {{{ if (config.topicPostSort != "most_votes") }}}
88
- {{{ each ./events}}}
89
- <!-- IMPORT partials/topic/event.tpl -->
90
- {{{ end }}}
91
- {{{ end }}}
92
- {{{end}}}
93
- </ul>
94
-
95
- {{{ if browsingUsers }}}
96
- <div class="visible-xs">
97
- <!-- IMPORT partials/topic/browsing-users.tpl -->
98
- <hr/>
99
- </div>
100
- {{{ end }}}
101
-
102
- {{{ if config.enableQuickReply }}}
103
- <!-- IMPORT partials/topic/quickreply.tpl -->
104
- {{{ end }}}
105
-
106
- {{{ if config.usePagination }}}
107
- <!-- IMPORT partials/paginator.tpl -->
108
- {{{ end }}}
109
-
110
- <!-- IMPORT partials/topic/navigator.tpl -->
111
- </div>
112
- <div data-widget-area="sidebar" class="col-lg-3 col-sm-12 {{{ if !widgets.sidebar.length }}}hidden{{{ end }}}">
113
- {{{each widgets.sidebar}}}
114
- {{widgets.sidebar.html}}
115
- {{{end}}}
116
- </div>
117
- </div>
118
-
119
- <div data-widget-area="footer">
120
- {{{each widgets.footer}}}
121
- {{widgets.footer.html}}
122
- {{{end}}}
123
- </div>
124
-
125
- {{{ if !config.usePagination }}}
126
- <noscript>
127
- <!-- IMPORT partials/paginator.tpl -->
128
- </noscript>
129
- {{{ end }}}
1
+ <div data-widget-area="header">
2
+ {{{each widgets.header}}}
3
+ {{widgets.header.html}}
4
+ {{{end}}}
5
+ </div>
6
+ <div class="row mb-5">
7
+ <div class="topic {{{ if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}" itemid="{url}" itemscope itemtype="https://schema.org/DiscussionForumPosting">
8
+ <meta itemprop="headline" content="{escape(titleRaw)}">
9
+ <meta itemprop="text" content="{escape(titleRaw)}">
10
+ <meta itemprop="url" content="{url}">
11
+ <meta itemprop="datePublished" content="{timestampISO}">
12
+ <meta itemprop="dateModified" content="{lastposttimeISO}">
13
+ <div itemprop="author" itemscope itemtype="https://schema.org/Person">
14
+ <meta itemprop="name" content="{author.username}">
15
+ {{{ if author.userslug }}}<meta itemprop="url" content="{config.relative_path}/user/{author.userslug}">{{{ end }}}
16
+ </div>
17
+
18
+ <div class="topic-header sticky-top mb-3">
19
+ <h1 component="post/header" itemprop="name">
20
+ <div class="topic-title d-flex">
21
+ <span class="fs-3" component="topic/title">{title}</span>
22
+ </div>
23
+ </h1>
24
+
25
+ <div class="topic-info pb-2 d-flex gap-3 align-items-center flex-wrap">
26
+ <span component="topic/labels" class="d-flex text-md gap-2 {{{ if (!scheduled && (!pinned && (!locked && (!oldCid && !icons.length)))) }}}hidden{{{ end }}}">
27
+ <span component="topic/scheduled" class="badge badge border border-gray-300 text-body {{{ if !scheduled }}}hidden{{{ end }}}">
28
+ <i class="fa fa-clock-o"></i> [[topic:scheduled]]
29
+ </span>
30
+ <span component="topic/pinned" class="badge badge border border-gray-300 text-body {{{ if (scheduled || !pinned) }}}hidden{{{ end }}}">
31
+ <i class="fa fa-thumb-tack"></i> {{{ if !pinExpiry }}}[[topic:pinned]]{{{ else }}}[[topic:pinned-with-expiry, {isoTimeToLocaleString(./pinExpiryISO, config.userLang)}]]{{{ end }}}
32
+ </span>
33
+ <span component="topic/locked" class="badge badge border border-gray-300 text-body {{{ if !locked }}}hidden{{{ end }}}">
34
+ <i class="fa fa-lock"></i> [[topic:locked]]
35
+ </span>
36
+ <a component="topic/moved" href="{config.relative_path}/category/{oldCid}" class="badge badge border border-gray-300 text-body text-decoration-none {{{ if !oldCid }}}hidden{{{ end }}}">
37
+ <i class="fa fa-arrow-circle-right"></i> {{{ if privileges.isAdminOrMod }}}[[topic:moved-from, {oldCategory.name}]]{{{ else }}}[[topic:moved]]{{{ end }}}
38
+ </a>
39
+ {{{each icons}}}<span class="lh-1">{@value}</span>{{{end}}}
40
+ </span>
41
+
42
+ <div class="category-item d-inline-block">
43
+ {buildCategoryIcon(category, "24px", "rounded-circle")}
44
+ <a href="{config.relative_path}/category/{category.slug}">{category.name}</a>
45
+ </div>
46
+
47
+ <div data-tid="{./tid}" component="topic/tags" class="tags tag-list d-inline-block hidden-xs hidden-empty"><!-- IMPORT partials/topic/tags.tpl --></div>
48
+ <div class="d-inline-block hidden-xs">
49
+ <!-- IMPORT partials/topic/stats.tpl -->
50
+ </div>
51
+ {{{ if !feeds:disableRSS }}}
52
+ {{{ if rssFeedUrl }}}<a class="hidden-xs" target="_blank" href="{rssFeedUrl}"><i class="fa fa-rss-square"></i></a>{{{ end }}}
53
+ {{{ end }}}
54
+ {{{ if browsingUsers }}}
55
+ <div class="d-inline-block hidden-xs">
56
+ <!-- IMPORT partials/topic/browsing-users.tpl -->
57
+ </div>
58
+ {{{ end }}}
59
+ <div class="ms-auto">
60
+ <!-- IMPORT partials/post_bar.tpl -->
61
+ </div>
62
+ </div>
63
+ </div>
64
+ {{{ if merger }}}
65
+ <!-- IMPORT partials/topic/merged-message.tpl -->
66
+ {{{ end }}}
67
+
68
+ {{{ if forker }}}
69
+ <!-- IMPORT partials/topic/forked-message.tpl -->
70
+ {{{ end }}}
71
+
72
+
73
+ {{{ if !scheduled }}}
74
+ <!-- IMPORT partials/topic/deleted-message.tpl -->
75
+ {{{ end }}}
76
+
77
+ <ul component="topic" class="posts timeline" data-tid="{tid}" data-cid="{cid}">
78
+ {{{each posts}}}
79
+ <li component="post" class="{{{ if posts.deleted }}}deleted{{{ end }}} {{{ if posts.selfPost }}}self-post{{{ end }}} {{{ if posts.topicOwnerPost }}}topic-owner-post{{{ end }}}" <!-- IMPORT partials/data/topic.tpl -->>
80
+ <a component="post/anchor" data-index="{./index}" id="{increment(./index, "1")}"></a>
81
+
82
+ <meta itemprop="datePublished" content="{posts.timestampISO}">
83
+ <meta itemprop="dateModified" content="{posts.editedISO}">
84
+
85
+ <!-- IMPORT partials/topic/post.tpl -->
86
+ </li>
87
+ {{{ if (config.topicPostSort != "most_votes") }}}
88
+ {{{ each ./events}}}
89
+ <!-- IMPORT partials/topic/event.tpl -->
90
+ {{{ end }}}
91
+ {{{ end }}}
92
+ {{{end}}}
93
+ </ul>
94
+
95
+ {{{ if browsingUsers }}}
96
+ <div class="visible-xs">
97
+ <!-- IMPORT partials/topic/browsing-users.tpl -->
98
+ <hr/>
99
+ </div>
100
+ {{{ end }}}
101
+
102
+ {{{ if config.enableQuickReply }}}
103
+ <!-- IMPORT partials/topic/quickreply.tpl -->
104
+ {{{ end }}}
105
+
106
+ {{{ if config.usePagination }}}
107
+ <!-- IMPORT partials/paginator.tpl -->
108
+ {{{ end }}}
109
+
110
+ <!-- IMPORT partials/topic/navigator.tpl -->
111
+ </div>
112
+ <div data-widget-area="sidebar" class="col-lg-3 col-sm-12 {{{ if !widgets.sidebar.length }}}hidden{{{ end }}}">
113
+ {{{each widgets.sidebar}}}
114
+ {{widgets.sidebar.html}}
115
+ {{{end}}}
116
+ </div>
117
+ </div>
118
+
119
+ <div data-widget-area="footer">
120
+ {{{each widgets.footer}}}
121
+ {{widgets.footer.html}}
122
+ {{{end}}}
123
+ </div>
124
+
125
+ {{{ if !config.usePagination }}}
126
+ <noscript>
127
+ <!-- IMPORT partials/paginator.tpl -->
128
+ </noscript>
129
+ {{{ end }}}
@@ -1,37 +1,37 @@
1
- <!-- IMPORT partials/breadcrumbs.tpl -->
2
- <div data-widget-area="header">
3
- {{{each widgets.header}}}
4
- {{widgets.header.html}}
5
- {{{end}}}
6
- </div>
7
- <div class="unread">
8
- <div class="topic-list-header sticky-top btn-toolbar justify-content-between py-2 mb-2 gap-1">
9
- <div class="d-flex gap-1 align-items-stretch">
10
- <!-- IMPORT partials/buttons/newTopic.tpl -->
11
- <a href="{config.relative_path}/{selectedFilter.url}{querystring}" class="d-inline-block">
12
- <div class="alert alert-warning h-100 m-0 px-2 py-1 d-flex gap-1 align-items-center hide" id="new-topics-alert"><i class="fa fa-fw fa-rotate-right"></i>[[recent:load-new-posts]]</div>
13
- </a>
14
- </div>
15
-
16
- <div class="d-flex gap-1 align-items-stretch">
17
- <!-- IMPORT partials/topic-filters.tpl -->
18
- <!-- IMPORT partials/category/filter-dropdown-right.tpl -->
19
-
20
- <div class="markread btn-group {{{ if !topics.length }}}hidden{{{ end }}}">
21
- <!-- IMPORT partials/category/selector-dropdown-right.tpl -->
22
- </div>
23
-
24
- <!-- IMPORT partials/category/tools.tpl -->
25
- </div>
26
- </div>
27
-
28
- <div class="category">
29
- <div id="category-no-topics" class="alert alert-warning {{{ if topics.length }}}hidden{{{ end }}}">[[unread:no-unread-topics]]</div>
30
-
31
- <!-- IMPORT partials/topics_list.tpl -->
32
- <button id="load-more-btn" class="btn btn-primary hide">[[unread:load-more]]</button>
33
- {{{ if config.usePagination }}}
34
- <!-- IMPORT partials/paginator.tpl -->
35
- {{{ end }}}
36
- </div>
37
- </div>
1
+ <!-- IMPORT partials/breadcrumbs.tpl -->
2
+ <div data-widget-area="header">
3
+ {{{each widgets.header}}}
4
+ {{widgets.header.html}}
5
+ {{{end}}}
6
+ </div>
7
+ <div class="unread">
8
+ <div class="topic-list-header sticky-top btn-toolbar justify-content-between py-2 mb-2 gap-1">
9
+ <div class="d-flex gap-1 align-items-stretch">
10
+ <!-- IMPORT partials/buttons/newTopic.tpl -->
11
+ <a href="{config.relative_path}/{selectedFilter.url}{querystring}" class="d-inline-block">
12
+ <div class="alert alert-warning h-100 m-0 px-2 py-1 d-flex gap-1 align-items-center hide" id="new-topics-alert"><i class="fa fa-fw fa-rotate-right"></i>[[recent:load-new-posts]]</div>
13
+ </a>
14
+ </div>
15
+
16
+ <div class="d-flex gap-1 align-items-stretch">
17
+ <!-- IMPORT partials/topic-filters.tpl -->
18
+ <!-- IMPORT partials/category/filter-dropdown-right.tpl -->
19
+
20
+ <div class="markread btn-group {{{ if !topics.length }}}hidden{{{ end }}}">
21
+ <!-- IMPORT partials/category/selector-dropdown-right.tpl -->
22
+ </div>
23
+
24
+ <!-- IMPORT partials/category/tools.tpl -->
25
+ </div>
26
+ </div>
27
+
28
+ <div class="category">
29
+ <div id="category-no-topics" class="alert alert-warning {{{ if topics.length }}}hidden{{{ end }}}">[[unread:no-unread-topics]]</div>
30
+
31
+ <!-- IMPORT partials/topics_list.tpl -->
32
+ <button id="load-more-btn" class="btn btn-primary hide">[[unread:load-more]]</button>
33
+ {{{ if config.usePagination }}}
34
+ <!-- IMPORT partials/paginator.tpl -->
35
+ {{{ end }}}
36
+ </div>
37
+ </div>
@@ -1,34 +1,34 @@
1
- <!-- IMPORT partials/breadcrumbs.tpl -->
2
- <div data-widget-area="header">
3
- {{{each widgets.header}}}
4
- {{widgets.header.html}}
5
- {{{end}}}
6
- </div>
7
- <div class="users">
8
- <div class="row mb-3">
9
- <div class="col-lg-6">
10
- <!-- IMPORT partials/users_list_menu.tpl -->
11
- </div>
12
- <div class="col-3 text-end">
13
- <!-- IF showInviteButton -->
14
- <button component="user/invite" class="btn btn-success"><i class="fa fa-users"></i> [[users:invite]]</button>
15
- <!-- ENDIF showInviteButton -->
16
- </div>
17
- <!-- IF displayUserSearch -->
18
- <div class="col-lg-3 col-9">
19
- <div class="search">
20
- <div class="input-group">
21
- <input class="form-control" id="search-user" type="text" placeholder="[[global:search]]"/>
22
- <button class="btn btn-primary" type="button">
23
- <i component="user/search/icon" class="fa fa-search"></i>
24
- </button>
25
- </div>
26
- </div>
27
- </div>
28
- <!-- ENDIF displayUserSearch -->
29
- </div>
30
-
31
- <!-- IMPORT partials/users_list.tpl -->
32
-
33
- <!-- IMPORT partials/paginator.tpl -->
34
- </div>
1
+ <!-- IMPORT partials/breadcrumbs.tpl -->
2
+ <div data-widget-area="header">
3
+ {{{each widgets.header}}}
4
+ {{widgets.header.html}}
5
+ {{{end}}}
6
+ </div>
7
+ <div class="users">
8
+ <div class="row mb-3">
9
+ <div class="col-lg-6">
10
+ <!-- IMPORT partials/users_list_menu.tpl -->
11
+ </div>
12
+ <div class="col-3 text-end">
13
+ <!-- IF showInviteButton -->
14
+ <button component="user/invite" class="btn btn-success"><i class="fa fa-users"></i> [[users:invite]]</button>
15
+ <!-- ENDIF showInviteButton -->
16
+ </div>
17
+ <!-- IF displayUserSearch -->
18
+ <div class="col-lg-3 col-9">
19
+ <div class="search">
20
+ <div class="input-group">
21
+ <input class="form-control" id="search-user" type="text" placeholder="[[global:search]]"/>
22
+ <button class="btn btn-primary" type="button">
23
+ <i component="user/search/icon" class="fa fa-search"></i>
24
+ </button>
25
+ </div>
26
+ </div>
27
+ </div>
28
+ <!-- ENDIF displayUserSearch -->
29
+ </div>
30
+
31
+ <!-- IMPORT partials/users_list.tpl -->
32
+
33
+ <!-- IMPORT partials/paginator.tpl -->
34
+ </div>
@@ -1,71 +0,0 @@
1
- .page-register-complete {
2
- .tos {
3
- background: $body-bg;
4
- max-height: 350px;
5
- margin-top: 5px;
6
- overflow-y: scroll;
7
- padding: 15px;
8
- font-size: 1.25rem;
9
- line-height: 2rem;
10
- }
11
- }
12
-
13
- .register-block {
14
- margin-top: 15px;
15
-
16
- .register-success {
17
- .form-control {
18
- border-color: #5cb85c;
19
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%235cb85c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3E%3C/svg%3E");
20
- padding-right: 2.25rem;
21
- background-repeat: no-repeat;
22
- background-position: center right .625rem;
23
- -webkit-background-size: 1.25rem 1.25rem;
24
- background-size: 1.25rem 1.25rem;
25
- }
26
-
27
- .register-feedback {
28
- color: #5cb85c;
29
- display: block;
30
- margin-top: .25rem;
31
- }
32
- }
33
-
34
- .register-danger {
35
- .form-control {
36
- border-color: #d9534f;
37
- background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23d9534f' viewBox='-2 -2 7 7'%3E%3Cpath stroke='%23d9534f' d='M0 0l3 3m0-3L0 3'/%3E%3Ccircle r='.5'/%3E%3Ccircle cx='3' r='.5'/%3E%3Ccircle cy='3' r='.5'/%3E%3Ccircle cx='3' cy='3' r='.5'/%3E%3C/svg%3E");
38
- padding-right: 2.25rem;
39
- background-repeat: no-repeat;
40
- background-position: center right .625rem;
41
- -webkit-background-size: 1.25rem 1.25rem;
42
- background-size: 1.25rem 1.25rem;
43
- }
44
-
45
- .register-feedback {
46
- color: #d9534f;
47
- display: block;
48
- margin-top: .25rem;
49
- }
50
- }
51
- }
52
-
53
- .login-block {
54
- margin-top: 15px;
55
-
56
- #login {
57
- margin-bottom: 10px;
58
- }
59
- }
60
-
61
- .register-block, .login-block {
62
- #caps-lock-warning {
63
- margin-top: 10px;
64
- }
65
- }
66
-
67
- @include media-breakpoint-down(sm) {
68
- .alt-login-block {
69
- margin-bottom: 20px;
70
- }
71
- }