nodebb-theme-persona 13.3.29 → 13.3.32
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/.eslintrc +2 -2
- package/README.md +20 -20
- package/lib/controllers.js +24 -24
- package/library.js +97 -97
- package/package.json +52 -52
- package/plugin.json +20 -20
- package/public/.eslintrc +2 -2
- package/public/admin.js +15 -15
- package/public/modules/autohidingnavbar.js +220 -220
- package/public/modules/mobile-menu.js +190 -190
- package/public/modules/taskbar.js +65 -65
- package/public/persona.js +257 -257
- package/public/settings.js +53 -53
- package/scss/account.scss +336 -336
- package/scss/categories.scss +205 -205
- package/scss/category.scss +161 -161
- package/scss/chats.scss +14 -14
- package/scss/flags.scss +42 -42
- package/scss/footer.scss +16 -16
- package/scss/groups.scss +166 -166
- package/scss/header.scss +361 -361
- package/scss/keyframes.scss +152 -152
- package/scss/mixins.scss +129 -129
- package/scss/mobile.scss +331 -331
- package/scss/modules/composer.scss +20 -20
- package/scss/modules/cookie-consent.scss +12 -12
- package/scss/modules/fab.scss +32 -32
- package/scss/modules/morph.scss +268 -268
- package/scss/modules/necro-post.scss +8 -8
- package/scss/modules/nprogress.scss +80 -80
- package/scss/modules/taskbar.scss +160 -160
- package/scss/modules/user-menu.scss +7 -7
- package/scss/modules/usercard.scss +64 -64
- package/scss/noscript.scss +80 -80
- package/scss/overrides.scss +39 -39
- package/scss/persona.scss +34 -35
- package/scss/posts_list.scss +127 -127
- package/scss/search.scss +48 -48
- package/scss/style.scss +256 -270
- package/scss/tags.scss +10 -10
- package/scss/topic.scss +571 -571
- package/scss/topics_list.scss +16 -16
- package/scss/variables.scss +6 -6
- package/templates/account/blocks.tpl +46 -46
- package/templates/account/categories.tpl +28 -28
- package/templates/account/consent.tpl +68 -68
- package/templates/account/edit/password.tpl +29 -29
- package/templates/account/edit/username.tpl +25 -25
- package/templates/account/edit.tpl +136 -136
- package/templates/account/followers.tpl +17 -17
- package/templates/account/following.tpl +17 -17
- package/templates/account/groups.tpl +16 -16
- package/templates/account/info.tpl +291 -291
- package/templates/account/posts.tpl +18 -18
- package/templates/account/profile.tpl +166 -166
- package/templates/account/sessions.tpl +31 -31
- package/templates/account/settings.tpl +251 -251
- package/templates/account/tags.tpl +9 -9
- package/templates/account/theme.tpl +25 -25
- package/templates/account/topics.tpl +29 -29
- package/templates/account/uploads.tpl +42 -42
- package/templates/admin/plugins/persona.tpl +24 -24
- package/templates/categories.tpl +31 -31
- package/templates/category.tpl +63 -63
- package/templates/flags/detail.tpl +208 -208
- package/templates/flags/list.tpl +71 -71
- package/templates/footer.tpl +11 -11
- package/templates/groups/details.tpl +77 -77
- package/templates/groups/list.tpl +48 -48
- package/templates/groups/members.tpl +5 -5
- package/templates/header.tpl +47 -47
- package/templates/modules/taskbar.tpl +2 -2
- package/templates/modules/usercard.tpl +36 -36
- package/templates/notifications.tpl +66 -66
- package/templates/partials/account/category-item.tpl +23 -23
- package/templates/partials/account/header.tpl +47 -47
- package/templates/partials/account/menu.tpl +108 -108
- package/templates/partials/breadcrumbs.tpl +18 -18
- package/templates/partials/buttons/newTopic.tpl +22 -22
- package/templates/partials/categories/item.tpl +60 -60
- package/templates/partials/categories/lastpost.tpl +26 -26
- package/templates/partials/category/filter-dropdown-content.tpl +31 -31
- package/templates/partials/category/selector-dropdown-content.tpl +32 -32
- package/templates/partials/category/sort.tpl +14 -14
- package/templates/partials/category/subcategory.tpl +17 -17
- package/templates/partials/category/tags.tpl +3 -3
- package/templates/partials/category/tools.tpl +86 -86
- package/templates/partials/category/watch.tpl +55 -55
- package/templates/partials/chats-menu.tpl +40 -40
- package/templates/partials/cookie-consent.tpl +4 -4
- package/templates/partials/flags/filters.tpl +173 -173
- package/templates/partials/groups/admin.tpl +200 -200
- package/templates/partials/groups/filter-dropdown-content.tpl +24 -24
- package/templates/partials/groups/list.tpl +20 -20
- package/templates/partials/groups/memberlist.tpl +42 -42
- package/templates/partials/header/chats.tpl +18 -18
- package/templates/partials/header/notifications.tpl +18 -18
- package/templates/partials/header/search.tpl +24 -24
- package/templates/partials/header/user-menu.tpl +96 -96
- package/templates/partials/menu.tpl +128 -128
- package/templates/partials/notifications_list.tpl +30 -30
- package/templates/partials/paginator.tpl +44 -44
- package/templates/partials/post_bar.tpl +20 -20
- package/templates/partials/posts_list.tpl +7 -7
- package/templates/partials/posts_list_item.tpl +31 -31
- package/templates/partials/quick-search-results.tpl +33 -33
- package/templates/partials/search-filters.tpl +183 -183
- package/templates/partials/search-results.tpl +54 -54
- package/templates/partials/slideout-menu.tpl +4 -4
- package/templates/partials/tags/filter-dropdown-content.tpl +33 -33
- package/templates/partials/tags/watch.tpl +35 -35
- package/templates/partials/tags_list.tpl +4 -4
- package/templates/partials/toast.tpl +19 -19
- package/templates/partials/topic/event.tpl +12 -12
- package/templates/partials/topic/navigation-post.tpl +11 -11
- package/templates/partials/topic/navigator.tpl +39 -39
- package/templates/partials/topic/necro-post.tpl +2 -2
- package/templates/partials/topic/post-menu-list.tpl +132 -132
- package/templates/partials/topic/post-menu.tpl +4 -4
- package/templates/partials/topic/post.tpl +128 -128
- package/templates/partials/topic/quickreply.tpl +28 -28
- package/templates/partials/topic/reply-button.tpl +26 -26
- package/templates/partials/topic/selection-tooltip.tpl +2 -2
- package/templates/partials/topic/sort.tpl +9 -9
- package/templates/partials/topic/stats.tpl +11 -11
- package/templates/partials/topic/tags.tpl +2 -2
- package/templates/partials/topic/tools.tpl +7 -7
- package/templates/partials/topic/topic-menu-list.tpl +74 -74
- package/templates/partials/topic/watch.tpl +47 -47
- package/templates/partials/topic-filters.tpl +11 -11
- package/templates/partials/topic-terms.tpl +11 -11
- package/templates/partials/topics_list.tpl +117 -117
- package/templates/partials/users/filter-dropdown-content.tpl +20 -20
- package/templates/partials/users/item.tpl +43 -43
- package/templates/partials/users_list.tpl +14 -14
- package/templates/partials/users_list_menu.tpl +20 -20
- package/templates/popular.tpl +35 -35
- package/templates/recent.tpl +37 -37
- package/templates/search.tpl +47 -47
- package/templates/tag.tpl +34 -34
- package/templates/tags.tpl +32 -32
- package/templates/top.tpl +35 -35
- package/templates/topic.tpl +129 -129
- package/templates/unread.tpl +37 -37
- package/templates/users.tpl +34 -34
- package/scss/register.scss +0 -71
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
<!-- IF !notifications.length -->
|
|
3
|
-
<li class="no-notifs"><a href="#">[[notifications:no-notifs]]</a></li>
|
|
4
|
-
<!-- ENDIF !notifications.length -->
|
|
5
|
-
|
|
6
|
-
{{{each notifications}}}
|
|
7
|
-
<li class="{notifications.readClass}" data-nid="{notifications.nid}" data-path="{notifications.path}" <!-- IF notifications.pid --> data-pid="{notifications.pid}"<!-- ENDIF notifications.pid --><!-- IF notifications.tid --> data-tid="{notifications.tid}"<!-- ENDIF notifications.tid -->>
|
|
8
|
-
<!-- IF notifications.image -->
|
|
9
|
-
<!-- IF notifications.from -->
|
|
10
|
-
<a href="{config.relative_path}/user/{notifications.user.userslug}"><img class="float-start user-img avatar avatar-rounded" style="--avatar-size: 32px;" src="{notifications.image}" /></a>
|
|
11
|
-
<!-- ENDIF notifications.from -->
|
|
12
|
-
<!-- ELSE -->
|
|
13
|
-
<a href="{config.relative_path}/user/{notifications.user.userslug}"><div class="float-start avatar avatar-rounded" style="--avatar-size: 32px; background-color: {notifications.user.icon:bgColor};">{notifications.user.icon:text}</div></a>
|
|
14
|
-
<!-- ENDIF notifications.image -->
|
|
15
|
-
|
|
16
|
-
<a href="{notifications.path}" class="notification-chat-content deco-none">
|
|
17
|
-
<span class="text">{notifications.bodyShort}</span>
|
|
18
|
-
</a>
|
|
19
|
-
|
|
20
|
-
<div class="notification-chat-controls">
|
|
21
|
-
{{{ if ./nid }}}
|
|
22
|
-
<div class="mark-read" aria-label="Mark Read">
|
|
23
|
-
<i class="unread fa fa-circle"></i>
|
|
24
|
-
<i class="read fa fa-circle-o"></i>
|
|
25
|
-
</div>
|
|
26
|
-
{{{ end }}}
|
|
27
|
-
<span class="relTime">{notifications.timeago}</span>
|
|
28
|
-
</div>
|
|
29
|
-
</li>
|
|
30
|
-
{{{end}}}
|
|
1
|
+
|
|
2
|
+
<!-- IF !notifications.length -->
|
|
3
|
+
<li class="no-notifs"><a href="#">[[notifications:no-notifs]]</a></li>
|
|
4
|
+
<!-- ENDIF !notifications.length -->
|
|
5
|
+
|
|
6
|
+
{{{each notifications}}}
|
|
7
|
+
<li class="{notifications.readClass}" data-nid="{notifications.nid}" data-path="{notifications.path}" <!-- IF notifications.pid --> data-pid="{notifications.pid}"<!-- ENDIF notifications.pid --><!-- IF notifications.tid --> data-tid="{notifications.tid}"<!-- ENDIF notifications.tid -->>
|
|
8
|
+
<!-- IF notifications.image -->
|
|
9
|
+
<!-- IF notifications.from -->
|
|
10
|
+
<a href="{config.relative_path}/user/{notifications.user.userslug}"><img class="float-start user-img avatar avatar-rounded" style="--avatar-size: 32px;" src="{notifications.image}" /></a>
|
|
11
|
+
<!-- ENDIF notifications.from -->
|
|
12
|
+
<!-- ELSE -->
|
|
13
|
+
<a href="{config.relative_path}/user/{notifications.user.userslug}"><div class="float-start avatar avatar-rounded" style="--avatar-size: 32px; background-color: {notifications.user.icon:bgColor};">{notifications.user.icon:text}</div></a>
|
|
14
|
+
<!-- ENDIF notifications.image -->
|
|
15
|
+
|
|
16
|
+
<a href="{notifications.path}" class="notification-chat-content deco-none">
|
|
17
|
+
<span class="text">{notifications.bodyShort}</span>
|
|
18
|
+
</a>
|
|
19
|
+
|
|
20
|
+
<div class="notification-chat-controls">
|
|
21
|
+
{{{ if ./nid }}}
|
|
22
|
+
<div class="mark-read" aria-label="Mark Read">
|
|
23
|
+
<i class="unread fa fa-circle"></i>
|
|
24
|
+
<i class="read fa fa-circle-o"></i>
|
|
25
|
+
</div>
|
|
26
|
+
{{{ end }}}
|
|
27
|
+
<span class="relTime">{notifications.timeago}</span>
|
|
28
|
+
</div>
|
|
29
|
+
</li>
|
|
30
|
+
{{{end}}}
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
<nav component="pagination" class="pagination-container<!-- IF !pagination.pages.length --> hidden<!-- ENDIF !pagination.pages.length -->" aria-label="[[global:pagination]]">
|
|
2
|
-
<ul class="pagination hidden-xs justify-content-center">
|
|
3
|
-
<li class="page-item previous float-start<!-- IF !pagination.prev.active --> disabled<!-- ENDIF !pagination.prev.active -->">
|
|
4
|
-
<a class="page-link" href="?{pagination.prev.qs}" data-page="{pagination.prev.page}" aria-label="[[global:pagination.previouspage]]"><i class="fa fa-chevron-left"></i> </a>
|
|
5
|
-
</li>
|
|
6
|
-
|
|
7
|
-
{{{each pagination.pages}}}
|
|
8
|
-
<!-- IF pagination.pages.separator -->
|
|
9
|
-
<li component="pagination/select-page" class="page-item page select-page">
|
|
10
|
-
<a class="page-link" href="#" aria-label="[[global:pagination.go-to-page]]"><i class="fa fa-ellipsis-h"></i></a>
|
|
11
|
-
</li>
|
|
12
|
-
<!-- ELSE -->
|
|
13
|
-
<li class="page-item page<!-- IF pagination.pages.active --> active<!-- ENDIF pagination.pages.active -->" >
|
|
14
|
-
<a class="page-link" href="?{pagination.pages.qs}" data-page="{pagination.pages.page}" aria-label="[[global:pagination.page-x, {./page}]]">{pagination.pages.page}</a>
|
|
15
|
-
</li>
|
|
16
|
-
<!-- ENDIF pagination.pages.separator -->
|
|
17
|
-
{{{end}}}
|
|
18
|
-
|
|
19
|
-
<li class="page-item next float-end<!-- IF !pagination.next.active --> disabled<!-- ENDIF !pagination.next.active -->">
|
|
20
|
-
<a class="page-link" href="?{pagination.next.qs}" data-page="{pagination.next.page}" aria-label="[[global:pagination.nextpage]]"><i class="fa fa-chevron-right"></i></a>
|
|
21
|
-
</li>
|
|
22
|
-
</ul>
|
|
23
|
-
|
|
24
|
-
<ul class="pagination hidden-sm hidden-md hidden-lg justify-content-center">
|
|
25
|
-
<li class="page-item first<!-- IF !pagination.prev.active --> disabled<!-- ENDIF !pagination.prev.active -->">
|
|
26
|
-
<a class="page-link" href="?{pagination.first.qs}" data-page="1" aria-label="[[global:pagination.firstpage]]"><i class="fa fa-fast-backward"></i> </a>
|
|
27
|
-
</li>
|
|
28
|
-
|
|
29
|
-
<li class="page-item previous<!-- IF !pagination.prev.active --> disabled<!-- ENDIF !pagination.prev.active -->">
|
|
30
|
-
<a class="page-link" href="?{pagination.prev.qs}" data-page="{pagination.prev.page}" aria-label="[[global:pagination.previouspage]]"><i class="fa fa-chevron-left"></i> </a>
|
|
31
|
-
</li>
|
|
32
|
-
|
|
33
|
-
<li component="pagination/select-page" class="page-item page select-page">
|
|
34
|
-
<a class="page-link" href="#" aria-label="[[global:pagination.go-to-page]]">{pagination.currentPage} / {pagination.pageCount}</a>
|
|
35
|
-
</li>
|
|
36
|
-
|
|
37
|
-
<li class="page-item next<!-- IF !pagination.next.active --> disabled<!-- ENDIF !pagination.next.active -->">
|
|
38
|
-
<a class="page-link" href="?{pagination.next.qs}" data-page="{pagination.next.page}" aria-label="[[global:pagination.nextpage]]"><i class="fa fa-chevron-right"></i></a>
|
|
39
|
-
</li>
|
|
40
|
-
|
|
41
|
-
<li class="page-item last<!-- IF !pagination.next.active --> disabled<!-- ENDIF !pagination.next.active -->">
|
|
42
|
-
<a class="page-link" href="?{pagination.last.qs}" data-page="{pagination.pageCount}" aria-label="[[global:pagination.lastpage]]"><i class="fa fa-fast-forward"></i> </a>
|
|
43
|
-
</li>
|
|
44
|
-
</ul>
|
|
1
|
+
<nav component="pagination" class="pagination-container<!-- IF !pagination.pages.length --> hidden<!-- ENDIF !pagination.pages.length -->" aria-label="[[global:pagination]]">
|
|
2
|
+
<ul class="pagination hidden-xs justify-content-center">
|
|
3
|
+
<li class="page-item previous float-start<!-- IF !pagination.prev.active --> disabled<!-- ENDIF !pagination.prev.active -->">
|
|
4
|
+
<a class="page-link" href="?{pagination.prev.qs}" data-page="{pagination.prev.page}" aria-label="[[global:pagination.previouspage]]"><i class="fa fa-chevron-left"></i> </a>
|
|
5
|
+
</li>
|
|
6
|
+
|
|
7
|
+
{{{each pagination.pages}}}
|
|
8
|
+
<!-- IF pagination.pages.separator -->
|
|
9
|
+
<li component="pagination/select-page" class="page-item page select-page">
|
|
10
|
+
<a class="page-link" href="#" aria-label="[[global:pagination.go-to-page]]"><i class="fa fa-ellipsis-h"></i></a>
|
|
11
|
+
</li>
|
|
12
|
+
<!-- ELSE -->
|
|
13
|
+
<li class="page-item page<!-- IF pagination.pages.active --> active<!-- ENDIF pagination.pages.active -->" >
|
|
14
|
+
<a class="page-link" href="?{pagination.pages.qs}" data-page="{pagination.pages.page}" aria-label="[[global:pagination.page-x, {./page}]]">{pagination.pages.page}</a>
|
|
15
|
+
</li>
|
|
16
|
+
<!-- ENDIF pagination.pages.separator -->
|
|
17
|
+
{{{end}}}
|
|
18
|
+
|
|
19
|
+
<li class="page-item next float-end<!-- IF !pagination.next.active --> disabled<!-- ENDIF !pagination.next.active -->">
|
|
20
|
+
<a class="page-link" href="?{pagination.next.qs}" data-page="{pagination.next.page}" aria-label="[[global:pagination.nextpage]]"><i class="fa fa-chevron-right"></i></a>
|
|
21
|
+
</li>
|
|
22
|
+
</ul>
|
|
23
|
+
|
|
24
|
+
<ul class="pagination hidden-sm hidden-md hidden-lg justify-content-center">
|
|
25
|
+
<li class="page-item first<!-- IF !pagination.prev.active --> disabled<!-- ENDIF !pagination.prev.active -->">
|
|
26
|
+
<a class="page-link" href="?{pagination.first.qs}" data-page="1" aria-label="[[global:pagination.firstpage]]"><i class="fa fa-fast-backward"></i> </a>
|
|
27
|
+
</li>
|
|
28
|
+
|
|
29
|
+
<li class="page-item previous<!-- IF !pagination.prev.active --> disabled<!-- ENDIF !pagination.prev.active -->">
|
|
30
|
+
<a class="page-link" href="?{pagination.prev.qs}" data-page="{pagination.prev.page}" aria-label="[[global:pagination.previouspage]]"><i class="fa fa-chevron-left"></i> </a>
|
|
31
|
+
</li>
|
|
32
|
+
|
|
33
|
+
<li component="pagination/select-page" class="page-item page select-page">
|
|
34
|
+
<a class="page-link" href="#" aria-label="[[global:pagination.go-to-page]]">{pagination.currentPage} / {pagination.pageCount}</a>
|
|
35
|
+
</li>
|
|
36
|
+
|
|
37
|
+
<li class="page-item next<!-- IF !pagination.next.active --> disabled<!-- ENDIF !pagination.next.active -->">
|
|
38
|
+
<a class="page-link" href="?{pagination.next.qs}" data-page="{pagination.next.page}" aria-label="[[global:pagination.nextpage]]"><i class="fa fa-chevron-right"></i></a>
|
|
39
|
+
</li>
|
|
40
|
+
|
|
41
|
+
<li class="page-item last<!-- IF !pagination.next.active --> disabled<!-- ENDIF !pagination.next.active -->">
|
|
42
|
+
<a class="page-link" href="?{pagination.last.qs}" data-page="{pagination.pageCount}" aria-label="[[global:pagination.lastpage]]"><i class="fa fa-fast-forward"></i> </a>
|
|
43
|
+
</li>
|
|
44
|
+
</ul>
|
|
45
45
|
</nav>
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
<div class="topic-main-buttons float-end d-inline-block">
|
|
2
|
-
<span class="loading-indicator btn float-start hidden" done="0">
|
|
3
|
-
<span class="hidden-xs">[[topic:loading-more-posts]]</span> <i class="fa fa-refresh fa-spin"></i>
|
|
4
|
-
</span>
|
|
5
|
-
|
|
6
|
-
<!-- IF loggedIn -->
|
|
7
|
-
<button component="topic/mark-unread" class="btn btn-sm btn-outline-secondary" title="[[topic:mark-unread]]">
|
|
8
|
-
<i class="fa fa-fw fa-inbox"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline"></span>
|
|
9
|
-
</button>
|
|
10
|
-
<!-- ENDIF loggedIn -->
|
|
11
|
-
|
|
12
|
-
<!-- IMPORT partials/topic/watch.tpl -->
|
|
13
|
-
|
|
14
|
-
<!-- IMPORT partials/topic/sort.tpl -->
|
|
15
|
-
|
|
16
|
-
<div class="d-inline-block">
|
|
17
|
-
<!-- IMPORT partials/topic/tools.tpl -->
|
|
18
|
-
</div>
|
|
19
|
-
<!-- IMPORT partials/topic/reply-button.tpl -->
|
|
20
|
-
</div>
|
|
1
|
+
<div class="topic-main-buttons float-end d-inline-block">
|
|
2
|
+
<span class="loading-indicator btn float-start hidden" done="0">
|
|
3
|
+
<span class="hidden-xs">[[topic:loading-more-posts]]</span> <i class="fa fa-refresh fa-spin"></i>
|
|
4
|
+
</span>
|
|
5
|
+
|
|
6
|
+
<!-- IF loggedIn -->
|
|
7
|
+
<button component="topic/mark-unread" class="btn btn-sm btn-outline-secondary" title="[[topic:mark-unread]]">
|
|
8
|
+
<i class="fa fa-fw fa-inbox"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline"></span>
|
|
9
|
+
</button>
|
|
10
|
+
<!-- ENDIF loggedIn -->
|
|
11
|
+
|
|
12
|
+
<!-- IMPORT partials/topic/watch.tpl -->
|
|
13
|
+
|
|
14
|
+
<!-- IMPORT partials/topic/sort.tpl -->
|
|
15
|
+
|
|
16
|
+
<div class="d-inline-block">
|
|
17
|
+
<!-- IMPORT partials/topic/tools.tpl -->
|
|
18
|
+
</div>
|
|
19
|
+
<!-- IMPORT partials/topic/reply-button.tpl -->
|
|
20
|
+
</div>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<ul component="posts" class="posts-list list-unstyled" data-nextstart="{nextStart}">
|
|
2
|
-
{{{each posts}}}
|
|
3
|
-
<!-- IMPORT partials/posts_list_item.tpl -->
|
|
4
|
-
{{{end}}}
|
|
5
|
-
</ul>
|
|
6
|
-
<div component="posts/loading" class="loading-indicator text-center hidden">
|
|
7
|
-
<i class="fa fa-refresh fa-spin"></i>
|
|
1
|
+
<ul component="posts" class="posts-list list-unstyled" data-nextstart="{nextStart}">
|
|
2
|
+
{{{each posts}}}
|
|
3
|
+
<!-- IMPORT partials/posts_list_item.tpl -->
|
|
4
|
+
{{{end}}}
|
|
5
|
+
</ul>
|
|
6
|
+
<div component="posts/loading" class="loading-indicator text-center hidden">
|
|
7
|
+
<i class="fa fa-refresh fa-spin"></i>
|
|
8
8
|
</div>
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
<li component="post" class="posts-list-item row<!-- IF ../deleted --> deleted<!-- ELSE --><!-- IF ../topic.deleted --> deleted<!-- ENDIF --><!-- ENDIF -->{{{ if ../topic.scheduled }}} scheduled{{{ end }}}" data-pid="{../pid}" data-uid="{../uid}">
|
|
2
|
-
<div class="col-lg-11 col-sm-10 col-9 post-body">
|
|
3
|
-
<a class="topic-title" href="{config.relative_path}/post/{../pid}">
|
|
4
|
-
<!-- IF !../isMainPost -->RE: <!-- ENDIF -->{../topic.title}
|
|
5
|
-
</a>
|
|
6
|
-
|
|
7
|
-
<div component="post/content" class="content">
|
|
8
|
-
{../content}
|
|
9
|
-
</div>
|
|
10
|
-
|
|
11
|
-
<small class="topic-category"><a href="{config.relative_path}/category/{../category.slug}">[[global:posted-in, {../category.name}]]</a></small>
|
|
12
|
-
|
|
13
|
-
{{{ if ../isMainPost }}}
|
|
14
|
-
{{{ if ../topic.tags.length }}}
|
|
15
|
-
<span class="tag-list">
|
|
16
|
-
{{{ each ../topic.tags }}}
|
|
17
|
-
<a href="{config.relative_path}/tags/{topic.tags.valueEncoded}"><span class="tag tag-item tag-class-{topic.tags.class}">{topic.tags.valueEscaped}</span></a>
|
|
18
|
-
{{{ end }}}
|
|
19
|
-
</span>
|
|
20
|
-
{{{ end }}}
|
|
21
|
-
{{{ end }}}
|
|
22
|
-
|
|
23
|
-
<div class="post-info">
|
|
24
|
-
<a href="{config.relative_path}/user/{../user.userslug}">{buildAvatar(../user, "28px", true, "user-img not-responsive")}</a>
|
|
25
|
-
|
|
26
|
-
<div class="post-author">
|
|
27
|
-
<a href="{config.relative_path}/user/{../user.userslug}">{../user.displayname}</a><br />
|
|
28
|
-
<span class="timeago" title="{../timestampISO}"></span>
|
|
29
|
-
</div>
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
1
|
+
<li component="post" class="posts-list-item row<!-- IF ../deleted --> deleted<!-- ELSE --><!-- IF ../topic.deleted --> deleted<!-- ENDIF --><!-- ENDIF -->{{{ if ../topic.scheduled }}} scheduled{{{ end }}}" data-pid="{../pid}" data-uid="{../uid}">
|
|
2
|
+
<div class="col-lg-11 col-sm-10 col-9 post-body">
|
|
3
|
+
<a class="topic-title" href="{config.relative_path}/post/{../pid}">
|
|
4
|
+
<!-- IF !../isMainPost -->RE: <!-- ENDIF -->{../topic.title}
|
|
5
|
+
</a>
|
|
6
|
+
|
|
7
|
+
<div component="post/content" class="content">
|
|
8
|
+
{../content}
|
|
9
|
+
</div>
|
|
10
|
+
|
|
11
|
+
<small class="topic-category"><a href="{config.relative_path}/category/{../category.slug}">[[global:posted-in, {../category.name}]]</a></small>
|
|
12
|
+
|
|
13
|
+
{{{ if ../isMainPost }}}
|
|
14
|
+
{{{ if ../topic.tags.length }}}
|
|
15
|
+
<span class="tag-list">
|
|
16
|
+
{{{ each ../topic.tags }}}
|
|
17
|
+
<a href="{config.relative_path}/tags/{topic.tags.valueEncoded}"><span class="tag tag-item tag-class-{topic.tags.class}">{topic.tags.valueEscaped}</span></a>
|
|
18
|
+
{{{ end }}}
|
|
19
|
+
</span>
|
|
20
|
+
{{{ end }}}
|
|
21
|
+
{{{ end }}}
|
|
22
|
+
|
|
23
|
+
<div class="post-info">
|
|
24
|
+
<a href="{config.relative_path}/user/{../user.userslug}">{buildAvatar(../user, "28px", true, "user-img not-responsive")}</a>
|
|
25
|
+
|
|
26
|
+
<div class="post-author">
|
|
27
|
+
<a href="{config.relative_path}/user/{../user.userslug}">{../user.displayname}</a><br />
|
|
28
|
+
<span class="timeago" title="{../timestampISO}"></span>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
32
|
</li>
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
<ul id="quick-search-results" class="quick-search-results list-unstyled mb-0 p-0 overflow-auto" style="max-width: {dropdown.maxWidth}; max-height: {dropdown.maxHeight};">
|
|
2
|
-
{{{each posts}}}
|
|
3
|
-
<li data-tid="{posts.topic.tid}" data-pid="{posts.pid}">
|
|
4
|
-
<a href="{config.relative_path}/post/{posts.pid}"
|
|
5
|
-
class="text-decoration-none text-reset clearfix d-block text-truncate px-3 py-1">
|
|
6
|
-
{buildAvatar(posts.user, "24px", true)}
|
|
7
|
-
<span class="quick-search-title fw-bold">{posts.topic.title}</span>
|
|
8
|
-
<br/>
|
|
9
|
-
<p class="snippet text-break text-wrap">
|
|
10
|
-
{posts.snippet}
|
|
11
|
-
</p>
|
|
12
|
-
<small class="post-info float-end">
|
|
13
|
-
<div class="category-item d-inline-block">
|
|
14
|
-
{buildCategoryIcon(./category, "24px", "rounded-circle")} {posts.category.name}
|
|
15
|
-
• <span class="timeago" title="{posts.timestampISO}"></span>
|
|
16
|
-
</div>
|
|
17
|
-
</small>
|
|
18
|
-
</a>
|
|
19
|
-
</li>
|
|
20
|
-
<!-- IF !@last -->
|
|
21
|
-
<li role="separator" class="dropdown-divider"></li>
|
|
22
|
-
<!-- ENDIF -->
|
|
23
|
-
{{{end}}}
|
|
24
|
-
</ul>
|
|
25
|
-
<!-- IF multiplePages -->
|
|
26
|
-
<div class="text-center mt-2">
|
|
27
|
-
<a href="{url}">
|
|
28
|
-
[[search:see-more-results, {matchCount}]]
|
|
29
|
-
</a>
|
|
30
|
-
</div>
|
|
31
|
-
<!-- ENDIF multiplePages -->
|
|
32
|
-
{{{if !posts.length}}}
|
|
33
|
-
<div class="text-center no-results">[[search:no-matches]]</li>
|
|
1
|
+
<ul id="quick-search-results" class="quick-search-results list-unstyled mb-0 p-0 overflow-auto" style="max-width: {dropdown.maxWidth}; max-height: {dropdown.maxHeight};">
|
|
2
|
+
{{{each posts}}}
|
|
3
|
+
<li data-tid="{posts.topic.tid}" data-pid="{posts.pid}">
|
|
4
|
+
<a href="{config.relative_path}/post/{posts.pid}"
|
|
5
|
+
class="text-decoration-none text-reset clearfix d-block text-truncate px-3 py-1">
|
|
6
|
+
{buildAvatar(posts.user, "24px", true)}
|
|
7
|
+
<span class="quick-search-title fw-bold">{posts.topic.title}</span>
|
|
8
|
+
<br/>
|
|
9
|
+
<p class="snippet text-break text-wrap">
|
|
10
|
+
{posts.snippet}
|
|
11
|
+
</p>
|
|
12
|
+
<small class="post-info float-end">
|
|
13
|
+
<div class="category-item d-inline-block">
|
|
14
|
+
{buildCategoryIcon(./category, "24px", "rounded-circle")} {posts.category.name}
|
|
15
|
+
• <span class="timeago" title="{posts.timestampISO}"></span>
|
|
16
|
+
</div>
|
|
17
|
+
</small>
|
|
18
|
+
</a>
|
|
19
|
+
</li>
|
|
20
|
+
<!-- IF !@last -->
|
|
21
|
+
<li role="separator" class="dropdown-divider"></li>
|
|
22
|
+
<!-- ENDIF -->
|
|
23
|
+
{{{end}}}
|
|
24
|
+
</ul>
|
|
25
|
+
<!-- IF multiplePages -->
|
|
26
|
+
<div class="text-center mt-2">
|
|
27
|
+
<a href="{url}">
|
|
28
|
+
[[search:see-more-results, {matchCount}]]
|
|
29
|
+
</a>
|
|
30
|
+
</div>
|
|
31
|
+
<!-- ENDIF multiplePages -->
|
|
32
|
+
{{{if !posts.length}}}
|
|
33
|
+
<div class="text-center no-results">[[search:no-matches]]</li>
|
|
34
34
|
{{{end}}}
|