nodebb-theme-persona 13.0.43 → 13.0.45
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/package.json +1 -1
- package/scss/chats.scss +1 -1
- package/templates/account/blocks.tpl +27 -27
- package/templates/account/categories.tpl +23 -23
- package/templates/account/consent.tpl +58 -58
- package/templates/account/edit/password.tpl +25 -25
- package/templates/account/edit/username.tpl +21 -21
- package/templates/account/edit.tpl +115 -116
- package/templates/account/followers.tpl +12 -12
- package/templates/account/following.tpl +12 -12
- package/templates/account/groups.tpl +13 -13
- package/templates/account/info.tpl +198 -198
- package/templates/account/posts.tpl +14 -14
- package/templates/account/profile.tpl +138 -138
- package/templates/account/sessions.tpl +30 -30
- package/templates/account/theme.tpl +22 -22
- package/templates/account/topics.tpl +24 -24
- package/templates/account/uploads.tpl +38 -38
- package/templates/chat.tpl +1 -0
- package/templates/partials/account/footer.tpl +1 -0
- package/templates/partials/account/header.tpl +40 -39
- package/templates/partials/chats/message-window.tpl +1 -0
package/package.json
CHANGED
package/scss/chats.scss
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
<div class="
|
|
5
|
-
<div class="
|
|
6
|
-
<
|
|
7
|
-
<input class="form-control" type="text" id="user-search" placeholder="[[users:enter_username]]" data-bs-toggle="dropdown" autocomplete="off"/>
|
|
1
|
+
<!-- IMPORT partials/account/header.tpl -->
|
|
2
|
+
<h1>[[pages:account/blocks, {username}]]</h1>
|
|
3
|
+
<div class="row justify-content-end mb-2">
|
|
4
|
+
<div class="col-3">
|
|
5
|
+
<div class="dropdown">
|
|
6
|
+
<input class="form-control" type="text" id="user-search" placeholder="[[users:enter_username]]" data-bs-toggle="dropdown" autocomplete="off"/>
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
</div>
|
|
17
|
-
<button class="btn btn-sm btn-primary text-nowrap" data-uid="{../uid}" data-action="toggle">[[user:block_toggle]]</button>
|
|
8
|
+
<ul class="dropdown-menu block-edit list-unstyled">
|
|
9
|
+
<li><a href="#" class="dropdown-item">[[admin/menu:search.start-typing]]</a></li>
|
|
10
|
+
{{{ each edit }}}
|
|
11
|
+
<li class="">
|
|
12
|
+
<div class="dropdown-item d-flex flex-nowrap gap-2 justify-content-between">
|
|
13
|
+
<div class="text-truncate">
|
|
14
|
+
<a href="{config.relative_path}/uid/{../uid}">{buildAvatar(edit, "24px", true)} {../username}</a>
|
|
18
15
|
</div>
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
</
|
|
22
|
-
|
|
16
|
+
<button class="btn btn-sm btn-primary text-nowrap" data-uid="{../uid}" data-action="toggle">[[user:block_toggle]]</button>
|
|
17
|
+
</div>
|
|
18
|
+
</li>
|
|
19
|
+
{{{ end }}}
|
|
20
|
+
</ul>
|
|
23
21
|
</div>
|
|
24
22
|
</div>
|
|
23
|
+
</div>
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
</div>
|
|
25
|
+
<div class="users row">
|
|
26
|
+
<div class="col-12">
|
|
27
|
+
<!-- IMPORT partials/users_list.tpl -->
|
|
28
|
+
<div class="alert alert-warning text-center"<!-- IF users.length --> style="display: none;"<!-- END -->>[[user:has_no_blocks]]</div>
|
|
29
|
+
<!-- IMPORT partials/paginator.tpl -->
|
|
32
30
|
</div>
|
|
33
|
-
</div>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
<!-- IMPORT partials/account/footer.tpl -->
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
<!-- IMPORT partials/account/header.tpl -->
|
|
1
|
+
<!-- IMPORT partials/account/header.tpl -->
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
</ul>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="col-lg-12">
|
|
20
|
-
<ul class="categories list-unstyled" itemscope itemtype="http://www.schema.org/ItemList">
|
|
21
|
-
{{{each categories}}}
|
|
22
|
-
<!-- IMPORT partials/account/category-item.tpl -->
|
|
23
|
-
{{{end}}}
|
|
3
|
+
<div class="row">
|
|
4
|
+
<h1>{title}</h1>
|
|
5
|
+
<div class="col-lg-12 mb-2">
|
|
6
|
+
<div class="btn-group bottom-sheet" component="category/watch/all">
|
|
7
|
+
<button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" type="button">
|
|
8
|
+
<span>[[user:change_all]]</span>
|
|
9
|
+
<span class="caret"></span>
|
|
10
|
+
</button>
|
|
11
|
+
<ul class="dropdown-menu">
|
|
12
|
+
<li><a class="dropdown-item" href="#" component="category/watching" data-state="watching"><i class="fa fa-fw fa-inbox"></i> [[category:watching]]<p class="help-text"><small>[[category:watching.description]]</small></p></a></li>
|
|
13
|
+
<li><a class="dropdown-item" href="#" component="category/notwatching" data-state="notwatching"><i class="fa fa-fw fa-clock-o"></i> [[category:not-watching]]<p class="help-text"><small>[[category:not-watching.description]]</small></p></a></li>
|
|
14
|
+
<li><a class="dropdown-item" href="#" component="category/ignoring" data-state="ignoring"><i class="fa fa-fw fa-eye-slash"></i> [[category:ignoring]]<p class="help-text"><small>[[category:ignoring.description]]</small></p></a></li>
|
|
24
15
|
</ul>
|
|
25
|
-
<!-- IMPORT partials/paginator.tpl -->
|
|
26
16
|
</div>
|
|
27
17
|
</div>
|
|
18
|
+
<div class="col-lg-12">
|
|
19
|
+
<ul class="categories list-unstyled" itemscope itemtype="http://www.schema.org/ItemList">
|
|
20
|
+
{{{each categories}}}
|
|
21
|
+
<!-- IMPORT partials/account/category-item.tpl -->
|
|
22
|
+
{{{end}}}
|
|
23
|
+
</ul>
|
|
24
|
+
<!-- IMPORT partials/paginator.tpl -->
|
|
25
|
+
</div>
|
|
28
26
|
</div>
|
|
27
|
+
|
|
28
|
+
<!-- IMPORT partials/account/footer.tpl -->
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<p>[[user:consent.intro]]</p>
|
|
1
|
+
<!-- IMPORT partials/account/header.tpl -->
|
|
2
|
+
<h2>[[user:consent.title]]</h2>
|
|
3
|
+
<p class="lead">[[user:consent.lead]]</p>
|
|
4
|
+
<p>[[user:consent.intro]]</p>
|
|
6
5
|
|
|
7
|
-
|
|
6
|
+
<hr />
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
<div class="row">
|
|
9
|
+
<div class="col-sm-6">
|
|
10
|
+
<!-- IF gdpr_consent -->
|
|
11
|
+
<div class="alert alert-success">
|
|
12
|
+
<i class="fa fa-check float-end fa-3x"></i>
|
|
13
|
+
[[user:consent.received]]
|
|
14
|
+
</div>
|
|
15
|
+
<!-- ELSE -->
|
|
16
|
+
<div class="alert alert-warning">
|
|
17
|
+
[[user:consent.not_received]]
|
|
18
|
+
<br /><br />
|
|
19
|
+
<div class="text-center">
|
|
20
|
+
<button class="btn btn-warning" data-action="consent">[[user:consent.give]]</button>
|
|
15
21
|
</div>
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
22
|
+
</div>
|
|
23
|
+
<!-- END -->
|
|
24
|
+
<div class="card">
|
|
25
|
+
<div class="card-body">
|
|
26
|
+
<p>[[user:consent.email_intro]]</p>
|
|
27
|
+
<!-- IF digest.enabled -->
|
|
28
|
+
<p>[[user:consent.digest_frequency, {digest.frequency}]]</p>
|
|
29
|
+
<!-- ELSE -->
|
|
30
|
+
[[user:consent.digest_off]]
|
|
31
|
+
<!-- END -->
|
|
32
|
+
|
|
20
33
|
<div class="text-center">
|
|
21
|
-
<
|
|
34
|
+
<a class="btn btn-outline-secondary" href="./settings">
|
|
35
|
+
<i class="fa fa-cog"></i>
|
|
36
|
+
[[pages:account/settings]]
|
|
37
|
+
</a>
|
|
22
38
|
</div>
|
|
23
39
|
</div>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
<div class="col-sm-6">
|
|
43
|
+
<div class="card">
|
|
44
|
+
<div class="card-body">
|
|
45
|
+
<p><strong>[[user:consent.right_of_access]]</strong></p>
|
|
46
|
+
<p>[[user:consent.right_of_access_description]]</p>
|
|
47
|
+
<p><strong>[[user:consent.right_to_rectification]]</strong></p>
|
|
48
|
+
<p>[[user:consent.right_to_rectification_description]]</p>
|
|
49
|
+
<p><strong>[[user:consent.right_to_erasure]]</strong></p>
|
|
50
|
+
<p>[[user:consent.right_to_erasure_description]]</p>
|
|
51
|
+
<p><strong>[[user:consent.right_to_data_portability]]</strong></p>
|
|
52
|
+
<p>[[user:consent.right_to_data_portability_description]]</p>
|
|
33
53
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
54
|
+
<div class="btn-group-vertical d-grid">
|
|
55
|
+
<a data-action="export-profile" class="btn btn-outline-secondary">
|
|
56
|
+
<i class="fa fa-download"></i> [[user:consent.export_profile]]
|
|
57
|
+
</a>
|
|
58
|
+
<a data-action="export-posts" class="btn btn-outline-secondary">
|
|
59
|
+
<i class="fa fa-download"></i> [[user:consent.export_posts]]
|
|
60
|
+
</a>
|
|
61
|
+
<a data-action="export-uploads" class="btn btn-outline-secondary">
|
|
62
|
+
<i class="fa fa-download"></i> [[user:consent.export_uploads]]
|
|
63
|
+
</a>
|
|
40
64
|
</div>
|
|
41
65
|
</div>
|
|
42
66
|
</div>
|
|
43
|
-
|
|
44
|
-
<div class="card">
|
|
45
|
-
<div class="card-body">
|
|
46
|
-
<p><strong>[[user:consent.right_of_access]]</strong></p>
|
|
47
|
-
<p>[[user:consent.right_of_access_description]]</p>
|
|
48
|
-
<p><strong>[[user:consent.right_to_rectification]]</strong></p>
|
|
49
|
-
<p>[[user:consent.right_to_rectification_description]]</p>
|
|
50
|
-
<p><strong>[[user:consent.right_to_erasure]]</strong></p>
|
|
51
|
-
<p>[[user:consent.right_to_erasure_description]]</p>
|
|
52
|
-
<p><strong>[[user:consent.right_to_data_portability]]</strong></p>
|
|
53
|
-
<p>[[user:consent.right_to_data_portability_description]]</p>
|
|
67
|
+
</div>
|
|
54
68
|
|
|
55
|
-
|
|
56
|
-
<a data-action="export-profile" class="btn btn-outline-secondary">
|
|
57
|
-
<i class="fa fa-download"></i> [[user:consent.export_profile]]
|
|
58
|
-
</a>
|
|
59
|
-
<a data-action="export-posts" class="btn btn-outline-secondary">
|
|
60
|
-
<i class="fa fa-download"></i> [[user:consent.export_posts]]
|
|
61
|
-
</a>
|
|
62
|
-
<a data-action="export-uploads" class="btn btn-outline-secondary">
|
|
63
|
-
<i class="fa fa-download"></i> [[user:consent.export_uploads]]
|
|
64
|
-
</a>
|
|
65
|
-
</div>
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
69
|
+
<!-- IMPORT partials/account/footer.tpl -->
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
<!-- IMPORT partials/account/header.tpl -->
|
|
1
|
+
<!-- IMPORT partials/account/header.tpl -->
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
<form class="edit-form">
|
|
4
|
+
<!-- disables autocomplete on FF --><input type="password" style="display:none">
|
|
6
5
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
<!-- IF isSelf -->
|
|
7
|
+
<div class="mb-2">
|
|
8
|
+
<label class="form-label fw-bold" for="inputCurrentPassword">[[user:current_password]]</label>
|
|
9
|
+
<input autocomplete="off" class="form-control" type="password" id="inputCurrentPassword" placeholder="[[user:current_password]]" value=""<!-- IF !hasPassword --> disabled<!-- ENDIF !hasPassword -->>
|
|
10
|
+
</div>
|
|
11
|
+
<!-- ENDIF isSelf -->
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
<div class="mb-2">
|
|
14
|
+
<label class="form-label fw-bold" for="inputNewPassword">[[user:new_password]]</label>
|
|
15
|
+
<input class="form-control" type="password" id="inputNewPassword" placeholder="[[user:password]]" value="">
|
|
16
|
+
<span class="form-feedback" id="password-notify"></span>
|
|
17
|
+
</div>
|
|
19
18
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
19
|
+
<div class="mb-2">
|
|
20
|
+
<label class="form-label fw-bold" for="inputNewPasswordAgain">[[user:confirm_password]]</label>
|
|
21
|
+
<input class="form-control" type="password" id="inputNewPasswordAgain" placeholder="[[user:confirm_password]]" value="">
|
|
22
|
+
<span class="form-feedback" id="password-confirm-notify"></span>
|
|
23
|
+
</div>
|
|
25
24
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
<div class="form-actions">
|
|
26
|
+
<button id="changePasswordBtn" class="btn btn-primary btn-block"><i class="hide fa fa-spinner fa-spin"></i> [[user:change_password]]</button>
|
|
27
|
+
</div>
|
|
28
|
+
</form>
|
|
29
|
+
|
|
30
|
+
<!-- IMPORT partials/account/footer.tpl -->
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
<!-- IMPORT partials/account/header.tpl -->
|
|
1
|
+
<!-- IMPORT partials/account/header.tpl -->
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
<form class="form-horizontal edit-form">
|
|
4
|
+
<div class="mb-2">
|
|
5
|
+
<label class="form-label fw-bold" for="inputNewUsername">[[user:username]]</label>
|
|
6
|
+
<input class="form-control" type="text" id="inputNewUsername" placeholder="[[user:username]]" value="{username}">
|
|
7
|
+
</div>
|
|
9
8
|
|
|
10
|
-
|
|
9
|
+
<!-- disables autocomplete on FF --><input type="password" style="display:none">
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
<!-- IF isSelf -->
|
|
12
|
+
<div class="mb-2">
|
|
13
|
+
<label class="form-label fw-bold" for="inputCurrentPassword">[[user:current_password]]</label>
|
|
14
|
+
<input autocomplete="off" class="form-control" type="password" id="inputCurrentPassword" placeholder="[[user:current_password]]" value=""<!-- IF !hasPassword --> disabled<!-- ENDIF !hasPassword -->>
|
|
15
|
+
</div>
|
|
16
|
+
<!-- ENDIF isSelf -->
|
|
18
17
|
|
|
19
|
-
|
|
18
|
+
<input type="hidden" name="uid" id="inputUID" value="{uid}" />
|
|
20
19
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
<br/>
|
|
21
|
+
<div class="form-actions">
|
|
22
|
+
<button id="submitBtn" class="btn btn-primary btn-block"><i class="hide fa fa-spinner fa-spin"></i> [[user:change_username]]</button>
|
|
23
|
+
</div>
|
|
24
|
+
</form>
|
|
25
|
+
|
|
26
|
+
<!-- IMPORT partials/account/footer.tpl -->
|