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.
- 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 +270 -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/topic.tpl
CHANGED
|
@@ -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 }}}
|
package/templates/unread.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="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>
|
package/templates/users.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="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>
|
package/scss/register.scss
DELETED
|
@@ -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
|
-
}
|