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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-persona",
3
- "version": "13.0.43",
3
+ "version": "13.0.45",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.0.0"
6
6
  },
package/scss/chats.scss CHANGED
@@ -108,7 +108,7 @@
108
108
 
109
109
  [component="chat/message/remaining"] {
110
110
  position: absolute;
111
- right: 5.25em;
111
+ right: 10em;
112
112
  z-index: 2;
113
113
  bottom: 0;
114
114
  color: $gray-600;
@@ -1,33 +1,33 @@
1
- <div class="account">
2
- <!-- IMPORT partials/account/header.tpl -->
3
- <h1>[[pages:account/blocks, {username}]]</h1>
4
- <div class="row justify-content-end mb-2">
5
- <div class="col-3">
6
- <div class="dropdown">
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
- <ul class="dropdown-menu block-edit list-unstyled">
10
- <li><a href="#" class="dropdown-item">[[admin/menu:search.start-typing]]</a></li>
11
- {{{ each edit }}}
12
- <li class="">
13
- <div class="dropdown-item d-flex flex-nowrap gap-2 justify-content-between">
14
- <div class="text-truncate">
15
- <a href="{config.relative_path}/uid/{../uid}">{buildAvatar(edit, "24px", true)} {../username}</a>
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
- </li>
20
- {{{ end }}}
21
- </ul>
22
- </div>
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
- <div class="users row">
27
- <div class="col-12">
28
- <!-- IMPORT partials/users_list.tpl -->
29
- <div class="alert alert-warning text-center"<!-- IF users.length --> style="display: none;"<!-- END -->>[[user:has_no_blocks]]</div>
30
- <!-- IMPORT partials/paginator.tpl -->
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
- <div class="account">
2
- <!-- IMPORT partials/account/header.tpl -->
1
+ <!-- IMPORT partials/account/header.tpl -->
3
2
 
4
- <div class="row">
5
- <h1>{title}</h1>
6
- <div class="col-lg-12 mb-2">
7
- <div class="btn-group bottom-sheet" component="category/watch/all">
8
- <button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" type="button">
9
- <span>[[user:change_all]]</span>
10
- <span class="caret"></span>
11
- </button>
12
- <ul class="dropdown-menu">
13
- <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>
14
- <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>
15
- <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>
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
- <div class="account">
2
- <!-- IMPORT partials/account/header.tpl -->
3
- <h2>[[user:consent.title]]</h2>
4
- <p class="lead">[[user:consent.lead]]</p>
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
- <hr />
6
+ <hr />
8
7
 
9
- <div class="row">
10
- <div class="col-sm-6">
11
- <!-- IF gdpr_consent -->
12
- <div class="alert alert-success">
13
- <i class="fa fa-check float-end fa-3x"></i>
14
- [[user:consent.received]]
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
- <!-- ELSE -->
17
- <div class="alert alert-warning">
18
- [[user:consent.not_received]]
19
- <br /><br />
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
- <button class="btn btn-warning" data-action="consent">[[user:consent.give]]</button>
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
- <!-- END -->
25
- <div class="card">
26
- <div class="card-body">
27
- <p>[[user:consent.email_intro]]</p>
28
- <!-- IF digest.enabled -->
29
- <p>[[user:consent.digest_frequency, {digest.frequency}]]</p>
30
- <!-- ELSE -->
31
- [[user:consent.digest_off]]
32
- <!-- END -->
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
- <div class="text-center">
35
- <a class="btn btn-outline-secondary" href="./settings">
36
- <i class="fa fa-cog"></i>
37
- [[pages:account/settings]]
38
- </a>
39
- </div>
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
- <div class="col-sm-6">
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
- <div class="btn-group-vertical d-grid">
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
- <div class="account">
2
- <!-- IMPORT partials/account/header.tpl -->
1
+ <!-- IMPORT partials/account/header.tpl -->
3
2
 
4
- <form class="edit-form">
5
- <!-- disables autocomplete on FF --><input type="password" style="display:none">
3
+ <form class="edit-form">
4
+ <!-- disables autocomplete on FF --><input type="password" style="display:none">
6
5
 
7
- <!-- IF isSelf -->
8
- <div class="mb-2">
9
- <label class="form-label fw-bold" for="inputCurrentPassword">[[user:current_password]]</label>
10
- <input autocomplete="off" class="form-control" type="password" id="inputCurrentPassword" placeholder="[[user:current_password]]" value=""<!-- IF !hasPassword --> disabled<!-- ENDIF !hasPassword -->>
11
- </div>
12
- <!-- ENDIF isSelf -->
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
- <div class="mb-2">
15
- <label class="form-label fw-bold" for="inputNewPassword">[[user:new_password]]</label>
16
- <input class="form-control" type="password" id="inputNewPassword" placeholder="[[user:password]]" value="">
17
- <span class="form-feedback" id="password-notify"></span>
18
- </div>
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
- <div class="mb-2">
21
- <label class="form-label fw-bold" for="inputNewPasswordAgain">[[user:confirm_password]]</label>
22
- <input class="form-control" type="password" id="inputNewPasswordAgain" placeholder="[[user:confirm_password]]" value="">
23
- <span class="form-feedback" id="password-confirm-notify"></span>
24
- </div>
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
- <div class="form-actions">
27
- <button id="changePasswordBtn" class="btn btn-primary btn-block"><i class="hide fa fa-spinner fa-spin"></i> [[user:change_password]]</button>
28
- </div>
29
- </form>
30
- </div>
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
- <div class="account">
2
- <!-- IMPORT partials/account/header.tpl -->
1
+ <!-- IMPORT partials/account/header.tpl -->
3
2
 
4
- <form class="form-horizontal edit-form">
5
- <div class="mb-2">
6
- <label class="form-label fw-bold" for="inputNewUsername">[[user:username]]</label>
7
- <input class="form-control" type="text" id="inputNewUsername" placeholder="[[user:username]]" value="{username}">
8
- </div>
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
- <!-- disables autocomplete on FF --><input type="password" style="display:none">
9
+ <!-- disables autocomplete on FF --><input type="password" style="display:none">
11
10
 
12
- <!-- IF isSelf -->
13
- <div class="mb-2">
14
- <label class="form-label fw-bold" for="inputCurrentPassword">[[user:current_password]]</label>
15
- <input autocomplete="off" class="form-control" type="password" id="inputCurrentPassword" placeholder="[[user:current_password]]" value=""<!-- IF !hasPassword --> disabled<!-- ENDIF !hasPassword -->>
16
- </div>
17
- <!-- ENDIF isSelf -->
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
- <input type="hidden" name="uid" id="inputUID" value="{uid}" />
18
+ <input type="hidden" name="uid" id="inputUID" value="{uid}" />
20
19
 
21
- <br/>
22
- <div class="form-actions">
23
- <button id="submitBtn" class="btn btn-primary btn-block"><i class="hide fa fa-spinner fa-spin"></i> [[user:change_username]]</button>
24
- </div>
25
- </form>
26
- </div>
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 -->