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
package/templates/popular.tpl
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
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="popular">
|
|
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
|
-
{{{ if canPost }}}
|
|
11
|
-
<!-- IMPORT partials/buttons/newTopic.tpl -->
|
|
12
|
-
{{{ else }}}
|
|
13
|
-
<a component="category/post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
|
|
14
|
-
{{{ end }}}
|
|
15
|
-
</div>
|
|
16
|
-
<div class="d-flex gap-1 align-items-stretch">
|
|
17
|
-
<!-- IMPORT partials/topic-terms.tpl -->
|
|
18
|
-
<!-- IMPORT partials/topic-filters.tpl -->
|
|
19
|
-
<!-- IMPORT partials/category/filter-dropdown-right.tpl -->
|
|
20
|
-
<!-- IMPORT partials/category/tools.tpl -->
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
|
|
24
|
-
<div class="category">
|
|
25
|
-
{{{ if !topics.length }}}
|
|
26
|
-
<div class="alert alert-warning" id="category-no-topics">[[recent:no-popular-topics]]</div>
|
|
27
|
-
{{{ end }}}
|
|
28
|
-
|
|
29
|
-
<!-- IMPORT partials/topics_list.tpl -->
|
|
30
|
-
|
|
31
|
-
{{{ if config.usePagination }}}
|
|
32
|
-
<!-- IMPORT partials/paginator.tpl -->
|
|
33
|
-
{{{ end }}}
|
|
34
|
-
</div>
|
|
35
|
-
</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="popular">
|
|
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
|
+
{{{ if canPost }}}
|
|
11
|
+
<!-- IMPORT partials/buttons/newTopic.tpl -->
|
|
12
|
+
{{{ else }}}
|
|
13
|
+
<a component="category/post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
|
|
14
|
+
{{{ end }}}
|
|
15
|
+
</div>
|
|
16
|
+
<div class="d-flex gap-1 align-items-stretch">
|
|
17
|
+
<!-- IMPORT partials/topic-terms.tpl -->
|
|
18
|
+
<!-- IMPORT partials/topic-filters.tpl -->
|
|
19
|
+
<!-- IMPORT partials/category/filter-dropdown-right.tpl -->
|
|
20
|
+
<!-- IMPORT partials/category/tools.tpl -->
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<div class="category">
|
|
25
|
+
{{{ if !topics.length }}}
|
|
26
|
+
<div class="alert alert-warning" id="category-no-topics">[[recent:no-popular-topics]]</div>
|
|
27
|
+
{{{ end }}}
|
|
28
|
+
|
|
29
|
+
<!-- IMPORT partials/topics_list.tpl -->
|
|
30
|
+
|
|
31
|
+
{{{ if config.usePagination }}}
|
|
32
|
+
<!-- IMPORT partials/paginator.tpl -->
|
|
33
|
+
{{{ end }}}
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
package/templates/recent.tpl
CHANGED
|
@@ -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="recent">
|
|
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
|
-
{{{ if canPost }}}
|
|
11
|
-
<!-- IMPORT partials/buttons/newTopic.tpl -->
|
|
12
|
-
{{{ else }}}
|
|
13
|
-
<a component="category/post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
|
|
14
|
-
{{{ end }}}
|
|
15
|
-
<a href="{config.relative_path}/{selectedFilter.url}{querystring}" class="d-inline-block">
|
|
16
|
-
<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>
|
|
17
|
-
</a>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="d-flex gap-1 align-items-stretch">
|
|
20
|
-
<!-- IMPORT partials/topic-filters.tpl -->
|
|
21
|
-
<!-- IMPORT partials/category/filter-dropdown-right.tpl -->
|
|
22
|
-
<!-- IMPORT partials/category/tools.tpl -->
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
|
|
26
|
-
<div class="category">
|
|
27
|
-
<!-- IF !topics.length -->
|
|
28
|
-
<div class="alert alert-warning" id="category-no-topics">[[recent:no-recent-topics]]</div>
|
|
29
|
-
<!-- ENDIF !topics.length -->
|
|
30
|
-
|
|
31
|
-
<!-- IMPORT partials/topics_list.tpl -->
|
|
32
|
-
|
|
33
|
-
<!-- IF config.usePagination -->
|
|
34
|
-
<!-- IMPORT partials/paginator.tpl -->
|
|
35
|
-
<!-- ENDIF config.usePagination -->
|
|
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="recent">
|
|
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
|
+
{{{ if canPost }}}
|
|
11
|
+
<!-- IMPORT partials/buttons/newTopic.tpl -->
|
|
12
|
+
{{{ else }}}
|
|
13
|
+
<a component="category/post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
|
|
14
|
+
{{{ end }}}
|
|
15
|
+
<a href="{config.relative_path}/{selectedFilter.url}{querystring}" class="d-inline-block">
|
|
16
|
+
<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>
|
|
17
|
+
</a>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="d-flex gap-1 align-items-stretch">
|
|
20
|
+
<!-- IMPORT partials/topic-filters.tpl -->
|
|
21
|
+
<!-- IMPORT partials/category/filter-dropdown-right.tpl -->
|
|
22
|
+
<!-- IMPORT partials/category/tools.tpl -->
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
<div class="category">
|
|
27
|
+
<!-- IF !topics.length -->
|
|
28
|
+
<div class="alert alert-warning" id="category-no-topics">[[recent:no-recent-topics]]</div>
|
|
29
|
+
<!-- ENDIF !topics.length -->
|
|
30
|
+
|
|
31
|
+
<!-- IMPORT partials/topics_list.tpl -->
|
|
32
|
+
|
|
33
|
+
<!-- IF config.usePagination -->
|
|
34
|
+
<!-- IMPORT partials/paginator.tpl -->
|
|
35
|
+
<!-- ENDIF config.usePagination -->
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
package/templates/search.tpl
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
|
-
<div class="search">
|
|
3
|
-
<div id="advanced-search" class="d-flex flex-column flex-md-row">
|
|
4
|
-
<!-- sidebar -->
|
|
5
|
-
<div class="flex-0 pe-2 border-end-md text-sm mb-3" style="flex-basis: 240px!important;">
|
|
6
|
-
<form action="{config.relative_path}/search" method="get" class="nav sticky-md-top d-flex flex-row flex-md-column flex-wrap gap-3 pe-md-3" style="top: 1rem; z-index: 1;">
|
|
7
|
-
<h2 class="fw-semibold tracking-tight mb-0">[[global:search]]</h2>
|
|
8
|
-
|
|
9
|
-
<input id="search-input" name="term" type="text" class="form-control fw-semibold py-2 ps-2 pe-3" id="search-input" placeholder="[[search:type-to-search]]">
|
|
10
|
-
|
|
11
|
-
<select id="search-in" name="in" class="form-select text-sm py-2 ps-2 pe-3">
|
|
12
|
-
<option value="titlesposts">[[search:in-titles-posts]]</option>
|
|
13
|
-
<option value="titles">[[search:in-titles]]</option>
|
|
14
|
-
<option value="posts">[[search:in-posts]]</option>
|
|
15
|
-
<option value="bookmarks">[[search:in-bookmarks]]</option>
|
|
16
|
-
<option value="categories">[[search:in-categories]]</option>
|
|
17
|
-
{{{if privileges.search:users}}}
|
|
18
|
-
<option value="users">[[search:in-users]]</option>
|
|
19
|
-
{{{end}}}
|
|
20
|
-
{{{if privileges.search:tags}}}
|
|
21
|
-
<option value="tags">[[search:in-tags]]</option>
|
|
22
|
-
{{{end}}}
|
|
23
|
-
</select>
|
|
24
|
-
|
|
25
|
-
<select id="match-words-filter" name="matchWords" class="post-search-item form-select text-sm py-2 ps-2 pe-3">
|
|
26
|
-
<option value="all">[[search:match-all-words]]</option>
|
|
27
|
-
<option value="any">[[search:match-any-word]]</option>
|
|
28
|
-
</select>
|
|
29
|
-
|
|
30
|
-
<select id="show-results-as" name="showAs" class="post-search-item form-select text-sm py-2 ps-2 pe-3">
|
|
31
|
-
<option value="posts" selected>[[search:show-results-as-posts]]</option>
|
|
32
|
-
<option value="topics">[[search:show-results-as-topics]]</option>
|
|
33
|
-
</select>
|
|
34
|
-
|
|
35
|
-
<button type="submit" class="btn btn-primary fw-semibold form-control py-2 px-3">[[global:search]]</button>
|
|
36
|
-
</form>
|
|
37
|
-
</div>
|
|
38
|
-
|
|
39
|
-
<!-- filters and search results -->
|
|
40
|
-
<div class="flex-1 ps-md-2 ps-lg-5" style="min-width:0;">
|
|
41
|
-
<div class="d-flex flex-column gap-3">
|
|
42
|
-
<!-- IMPORT partials/search-filters.tpl -->
|
|
43
|
-
<!-- IMPORT partials/search-results.tpl -->
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
1
|
+
<!-- IMPORT partials/breadcrumbs.tpl -->
|
|
2
|
+
<div class="search">
|
|
3
|
+
<div id="advanced-search" class="d-flex flex-column flex-md-row">
|
|
4
|
+
<!-- sidebar -->
|
|
5
|
+
<div class="flex-0 pe-2 border-end-md text-sm mb-3" style="flex-basis: 240px!important;">
|
|
6
|
+
<form action="{config.relative_path}/search" method="get" class="nav sticky-md-top d-flex flex-row flex-md-column flex-wrap gap-3 pe-md-3" style="top: 1rem; z-index: 1;">
|
|
7
|
+
<h2 class="fw-semibold tracking-tight mb-0">[[global:search]]</h2>
|
|
8
|
+
|
|
9
|
+
<input id="search-input" name="term" type="text" class="form-control fw-semibold py-2 ps-2 pe-3" id="search-input" placeholder="[[search:type-to-search]]">
|
|
10
|
+
|
|
11
|
+
<select id="search-in" name="in" class="form-select text-sm py-2 ps-2 pe-3">
|
|
12
|
+
<option value="titlesposts">[[search:in-titles-posts]]</option>
|
|
13
|
+
<option value="titles">[[search:in-titles]]</option>
|
|
14
|
+
<option value="posts">[[search:in-posts]]</option>
|
|
15
|
+
<option value="bookmarks">[[search:in-bookmarks]]</option>
|
|
16
|
+
<option value="categories">[[search:in-categories]]</option>
|
|
17
|
+
{{{if privileges.search:users}}}
|
|
18
|
+
<option value="users">[[search:in-users]]</option>
|
|
19
|
+
{{{end}}}
|
|
20
|
+
{{{if privileges.search:tags}}}
|
|
21
|
+
<option value="tags">[[search:in-tags]]</option>
|
|
22
|
+
{{{end}}}
|
|
23
|
+
</select>
|
|
24
|
+
|
|
25
|
+
<select id="match-words-filter" name="matchWords" class="post-search-item form-select text-sm py-2 ps-2 pe-3">
|
|
26
|
+
<option value="all">[[search:match-all-words]]</option>
|
|
27
|
+
<option value="any">[[search:match-any-word]]</option>
|
|
28
|
+
</select>
|
|
29
|
+
|
|
30
|
+
<select id="show-results-as" name="showAs" class="post-search-item form-select text-sm py-2 ps-2 pe-3">
|
|
31
|
+
<option value="posts" selected>[[search:show-results-as-posts]]</option>
|
|
32
|
+
<option value="topics">[[search:show-results-as-topics]]</option>
|
|
33
|
+
</select>
|
|
34
|
+
|
|
35
|
+
<button type="submit" class="btn btn-primary fw-semibold form-control py-2 px-3">[[global:search]]</button>
|
|
36
|
+
</form>
|
|
37
|
+
</div>
|
|
38
|
+
|
|
39
|
+
<!-- filters and search results -->
|
|
40
|
+
<div class="flex-1 ps-md-2 ps-lg-5" style="min-width:0;">
|
|
41
|
+
<div class="d-flex flex-column gap-3">
|
|
42
|
+
<!-- IMPORT partials/search-filters.tpl -->
|
|
43
|
+
<!-- IMPORT partials/search-results.tpl -->
|
|
44
|
+
</div>
|
|
45
|
+
</div>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
package/templates/tag.tpl
CHANGED
|
@@ -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="tag">
|
|
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
|
-
{{{ if loggedIn }}}
|
|
11
|
-
<!-- IMPORT partials/buttons/newTopic.tpl -->
|
|
12
|
-
{{{ else }}}
|
|
13
|
-
<a component="category/post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
|
|
14
|
-
{{{ end }}}
|
|
15
|
-
</div>
|
|
16
|
-
<div class="d-flex gap-1 align-items-stretch">
|
|
17
|
-
<!-- IMPORT partials/tags/watch.tpl -->
|
|
18
|
-
<!-- IMPORT partials/category/filter-dropdown-right.tpl -->
|
|
19
|
-
<!-- IMPORT partials/category/tools.tpl -->
|
|
20
|
-
</div>
|
|
21
|
-
</div>
|
|
22
|
-
|
|
23
|
-
<div class="category">
|
|
24
|
-
{{{ if !topics.length }}}
|
|
25
|
-
<div class="alert alert-warning">[[tags:no-tag-topics]]</div>
|
|
26
|
-
{{{ end }}}
|
|
27
|
-
|
|
28
|
-
<!-- IMPORT partials/topics_list.tpl -->
|
|
29
|
-
<button id="load-more-btn" class="btn btn-primary hide">[[unread:load-more]]</button>
|
|
30
|
-
{{{ if config.usePagination }}}
|
|
31
|
-
<!-- IMPORT partials/paginator.tpl -->
|
|
32
|
-
{{{ end }}}
|
|
33
|
-
</div>
|
|
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="tag">
|
|
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
|
+
{{{ if loggedIn }}}
|
|
11
|
+
<!-- IMPORT partials/buttons/newTopic.tpl -->
|
|
12
|
+
{{{ else }}}
|
|
13
|
+
<a component="category/post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
|
|
14
|
+
{{{ end }}}
|
|
15
|
+
</div>
|
|
16
|
+
<div class="d-flex gap-1 align-items-stretch">
|
|
17
|
+
<!-- IMPORT partials/tags/watch.tpl -->
|
|
18
|
+
<!-- IMPORT partials/category/filter-dropdown-right.tpl -->
|
|
19
|
+
<!-- IMPORT partials/category/tools.tpl -->
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
|
|
23
|
+
<div class="category">
|
|
24
|
+
{{{ if !topics.length }}}
|
|
25
|
+
<div class="alert alert-warning">[[tags:no-tag-topics]]</div>
|
|
26
|
+
{{{ end }}}
|
|
27
|
+
|
|
28
|
+
<!-- IMPORT partials/topics_list.tpl -->
|
|
29
|
+
<button id="load-more-btn" class="btn btn-primary hide">[[unread:load-more]]</button>
|
|
30
|
+
{{{ if config.usePagination }}}
|
|
31
|
+
<!-- IMPORT partials/paginator.tpl -->
|
|
32
|
+
{{{ end }}}
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
package/templates/tags.tpl
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
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="tags">
|
|
8
|
-
{{{ if displayTagSearch }}}
|
|
9
|
-
{{{ if tags.length }}}
|
|
10
|
-
<div class="row justify-content-end mb-3">
|
|
11
|
-
<div class="col-lg-3">
|
|
12
|
-
<div class="input-group">
|
|
13
|
-
<input type="text" class="form-control" placeholder="[[global:search]]" id="tag-search">
|
|
14
|
-
<button class="btn btn-primary" type="button">
|
|
15
|
-
<i class="fa fa-search"></i>
|
|
16
|
-
</button>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
{{{ end }}}
|
|
21
|
-
{{{ end }}}
|
|
22
|
-
|
|
23
|
-
{{{ if !tags.length }}}
|
|
24
|
-
<div class="alert alert-warning">[[tags:no-tags]]</div>
|
|
25
|
-
{{{ end }}}
|
|
26
|
-
|
|
27
|
-
<div class="category row">
|
|
28
|
-
<div class="col-md-12 clearfix tag-list" data-nextstart="{nextStart}">
|
|
29
|
-
<!-- IMPORT partials/tags_list.tpl -->
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</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="tags">
|
|
8
|
+
{{{ if displayTagSearch }}}
|
|
9
|
+
{{{ if tags.length }}}
|
|
10
|
+
<div class="row justify-content-end mb-3">
|
|
11
|
+
<div class="col-lg-3">
|
|
12
|
+
<div class="input-group">
|
|
13
|
+
<input type="text" class="form-control" placeholder="[[global:search]]" id="tag-search">
|
|
14
|
+
<button class="btn btn-primary" type="button">
|
|
15
|
+
<i class="fa fa-search"></i>
|
|
16
|
+
</button>
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
{{{ end }}}
|
|
21
|
+
{{{ end }}}
|
|
22
|
+
|
|
23
|
+
{{{ if !tags.length }}}
|
|
24
|
+
<div class="alert alert-warning">[[tags:no-tags]]</div>
|
|
25
|
+
{{{ end }}}
|
|
26
|
+
|
|
27
|
+
<div class="category row">
|
|
28
|
+
<div class="col-md-12 clearfix tag-list" data-nextstart="{nextStart}">
|
|
29
|
+
<!-- IMPORT partials/tags_list.tpl -->
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
package/templates/top.tpl
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
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="top">
|
|
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
|
-
{{{ if canPost }}}
|
|
11
|
-
<!-- IMPORT partials/buttons/newTopic.tpl -->
|
|
12
|
-
{{{ else }}}
|
|
13
|
-
<a component="category/post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
|
|
14
|
-
{{{ end }}}
|
|
15
|
-
</div>
|
|
16
|
-
<div class="d-flex gap-1 align-items-stretch">
|
|
17
|
-
<!-- IMPORT partials/topic-terms.tpl -->
|
|
18
|
-
<!-- IMPORT partials/topic-filters.tpl -->
|
|
19
|
-
<!-- IMPORT partials/category/filter-dropdown-right.tpl -->
|
|
20
|
-
<!-- IMPORT partials/category/tools.tpl -->
|
|
21
|
-
</div>
|
|
22
|
-
</div>
|
|
23
|
-
|
|
24
|
-
<div class="category">
|
|
25
|
-
{{{ if !topics.length }}}
|
|
26
|
-
<div class="alert alert-warning" id="category-no-topics">[[top:no-top-topics]]</div>
|
|
27
|
-
{{{ end }}}
|
|
28
|
-
|
|
29
|
-
<!-- IMPORT partials/topics_list.tpl -->
|
|
30
|
-
|
|
31
|
-
{{{ if config.usePagination }}}
|
|
32
|
-
<!-- IMPORT partials/paginator.tpl -->
|
|
33
|
-
{{{ end }}}
|
|
34
|
-
</div>
|
|
35
|
-
</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="top">
|
|
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
|
+
{{{ if canPost }}}
|
|
11
|
+
<!-- IMPORT partials/buttons/newTopic.tpl -->
|
|
12
|
+
{{{ else }}}
|
|
13
|
+
<a component="category/post/guest" href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
|
|
14
|
+
{{{ end }}}
|
|
15
|
+
</div>
|
|
16
|
+
<div class="d-flex gap-1 align-items-stretch">
|
|
17
|
+
<!-- IMPORT partials/topic-terms.tpl -->
|
|
18
|
+
<!-- IMPORT partials/topic-filters.tpl -->
|
|
19
|
+
<!-- IMPORT partials/category/filter-dropdown-right.tpl -->
|
|
20
|
+
<!-- IMPORT partials/category/tools.tpl -->
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
|
|
24
|
+
<div class="category">
|
|
25
|
+
{{{ if !topics.length }}}
|
|
26
|
+
<div class="alert alert-warning" id="category-no-topics">[[top:no-top-topics]]</div>
|
|
27
|
+
{{{ end }}}
|
|
28
|
+
|
|
29
|
+
<!-- IMPORT partials/topics_list.tpl -->
|
|
30
|
+
|
|
31
|
+
{{{ if config.usePagination }}}
|
|
32
|
+
<!-- IMPORT partials/paginator.tpl -->
|
|
33
|
+
{{{ end }}}
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|