nodebb-theme-harmony 1.1.49 → 1.1.51

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-harmony",
3
- "version": "1.1.49",
3
+ "version": "1.1.51",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.3.0"
6
6
  },
@@ -1,32 +1,35 @@
1
1
  <!-- IMPORT partials/account/header.tpl -->
2
2
 
3
3
  <h3 class="fw-semibold fs-5">{{{ if isSelf }}}[[user:change_password]]{{{ else }}}[[pages:{template.name}, {username}]]{{{ end }}}</h3>
4
+ <div class="row">
5
+ <div class="col-12 col-lg-4">
6
+ <form class="edit-form">
7
+ <!-- disables autocomplete on FF --><input type="password" style="display:none">
4
8
 
5
- <form class="edit-form">
6
- <!-- disables autocomplete on FF --><input type="password" style="display:none">
9
+ {{{ if isSelf }}}
10
+ <div class="mb-2">
11
+ <label class="form-label fw-semibold text-xm" for="inputCurrentPassword">[[user:current_password]]</label>
12
+ <input autocomplete="off" class="form-control" type="password" id="inputCurrentPassword" placeholder="[[user:current_password]]" value="" {{{ if !hasPassword }}} disabled{{{ end }}}>
13
+ </div>
14
+ {{{ end }}}
7
15
 
8
- {{{ if isSelf }}}
9
- <div class="mb-2">
10
- <label class="form-label fw-semibold text-xm" for="inputCurrentPassword">[[user:current_password]]</label>
11
- <input autocomplete="off" class="form-control" type="password" id="inputCurrentPassword" placeholder="[[user:current_password]]" value="" {{{ if !hasPassword }}} disabled{{{ end }}}>
12
- </div>
13
- {{{ end }}}
14
-
15
- <div class="mb-2">
16
- <label class="form-label fw-semibold text-xm" for="inputNewPassword">[[user:new_password]]</label>
17
- <input class="form-control" type="password" id="inputNewPassword" placeholder="[[user:password]]" value="">
18
- <span class="form-feedback" id="password-notify"></span>
19
- </div>
16
+ <div class="mb-2">
17
+ <label class="form-label fw-semibold text-xm" for="inputNewPassword">[[user:new_password]]</label>
18
+ <input class="form-control" type="password" id="inputNewPassword" placeholder="[[user:password]]" value="">
19
+ <span class="form-feedback" id="password-notify"></span>
20
+ </div>
20
21
 
21
- <div class="mb-2">
22
- <label class="form-label fw-semibold text-xm" for="inputNewPasswordAgain">[[user:confirm_password]]</label>
23
- <input class="form-control" type="password" id="inputNewPasswordAgain" placeholder="[[user:confirm_password]]" value="">
24
- <span class="form-feedback" id="password-confirm-notify"></span>
25
- </div>
22
+ <div class="mb-2">
23
+ <label class="form-label fw-semibold text-xm" for="inputNewPasswordAgain">[[user:confirm_password]]</label>
24
+ <input class="form-control" type="password" id="inputNewPasswordAgain" placeholder="[[user:confirm_password]]" value="">
25
+ <span class="form-feedback" id="password-confirm-notify"></span>
26
+ </div>
26
27
 
27
- <div class="form-actions">
28
- <button id="changePasswordBtn" class="btn btn-primary btn-block"><i class="hide fa fa-spinner fa-spin"></i> [[user:change_password]]</button>
28
+ <div class="form-actions">
29
+ <button id="changePasswordBtn" class="btn btn-primary btn-block"><i class="hide fa fa-spinner fa-spin"></i> [[user:change_password]]</button>
30
+ </div>
31
+ </form>
29
32
  </div>
30
- </form>
33
+ </div>
31
34
 
32
35
  <!-- IMPORT partials/account/footer.tpl -->
@@ -1,28 +1,31 @@
1
1
  <!-- IMPORT partials/account/header.tpl -->
2
2
 
3
3
  <h3 class="fw-semibold fs-5">{{{ if isSelf }}}[[user:change_username]]{{{ else }}}[[pages:{template.name}, {username}]]{{{ end }}}</h3>
4
+ <div class="row">
5
+ <div class="col-12 col-lg-4">
6
+ <form class="edit-form">
7
+ <div class="mb-2">
8
+ <label class="form-label fw-semibold text-sm" for="inputNewUsername">[[user:username]]</label>
9
+ <input class="form-control" type="text" id="inputNewUsername" placeholder="[[user:username]]" value="{username}">
10
+ </div>
4
11
 
5
- <form class="form-horizontal edit-form">
6
- <div class="mb-2">
7
- <label class="form-label fw-semibold text-sm" for="inputNewUsername">[[user:username]]</label>
8
- <input class="form-control" type="text" id="inputNewUsername" placeholder="[[user:username]]" value="{username}">
9
- </div>
10
-
11
- <!-- disables autocomplete on FF --><input type="password" style="display:none">
12
+ <!-- disables autocomplete on FF --><input type="password" style="display:none">
12
13
 
13
- {{{ if isSelf }}}
14
- <div class="mb-2">
15
- <label class="form-label fw-semibold text-sm" for="inputCurrentPassword">[[user:current_password]]</label>
16
- <input autocomplete="off" class="form-control" type="password" id="inputCurrentPassword" placeholder="[[user:current_password]]" value=""{{{ if !hasPassword }}} disabled{{{ end }}}>
17
- </div>
18
- {{{ end }}}
14
+ {{{ if isSelf }}}
15
+ <div class="mb-2">
16
+ <label class="form-label fw-semibold text-sm" for="inputCurrentPassword">[[user:current_password]]</label>
17
+ <input autocomplete="off" class="form-control" type="password" id="inputCurrentPassword" placeholder="[[user:current_password]]" value=""{{{ if !hasPassword }}} disabled{{{ end }}}>
18
+ </div>
19
+ {{{ end }}}
19
20
 
20
- <input type="hidden" name="uid" id="inputUID" value="{uid}" />
21
+ <input type="hidden" name="uid" id="inputUID" value="{uid}" />
21
22
 
22
- <br/>
23
- <div class="form-actions">
24
- <button id="submitBtn" class="btn btn-primary btn-block"><i class="hide fa fa-spinner fa-spin"></i> [[user:change_username]]</button>
23
+ <br/>
24
+ <div class="form-actions">
25
+ <button id="submitBtn" class="btn btn-primary btn-block"><i class="hide fa fa-spinner fa-spin"></i> [[user:change_username]]</button>
26
+ </div>
27
+ </form>
25
28
  </div>
26
- </form>
29
+ </div>
27
30
 
28
31
  <!-- IMPORT partials/account/footer.tpl -->
@@ -1,5 +1,5 @@
1
- <div component="chat/composer" class="d-flex flex-column gap-2 border-top pt-2 align-items-start">
2
- <div component="chat/composer/replying-to" data-tomid="" class="text-sm px-2 d-flex gap-2 align-items-center hidden">
1
+ <div component="chat/composer" class="d-flex flex-column border-top pt-2 align-items-start">
2
+ <div component="chat/composer/replying-to" data-tomid="" class="text-sm px-2 mb-1 d-flex gap-2 align-items-center hidden">
3
3
  <div component="chat/composer/replying-to-text"></div> <button component="chat/composer/replying-to-cancel" class="btn-ghost-sm px-2 py-1"><i class="fa fa-times"></i></button>
4
4
  </div>
5
5
  <div class="w-100 flex-grow-1 flex-nowrap position-relative d-flex rounded-2 border border-secondary p-1 align-items-end">
@@ -8,10 +8,16 @@
8
8
  <textarea component="chat/input" placeholder="[[modules:chat.placeholder.mobile]]" class="bg-transparent text-body form-control chat-input mousetrap rounded-0 border-0 shadow-none ps-1 py-0" style="min-height: 1.5rem;height:0;max-height:30vh;resize:none;"></textarea>
9
9
  </div>
10
10
  <div class="d-flex gap-1">
11
- <div component="chat/message/remaining" class="text-xs text-muted me-1 align-self-center">{maximumChatMessageLength}</div>
12
11
  <button class="btn-ghost-sm px-2" type="button" data-action="send" title="[[modules:chat.send]]" data-bs-toggle="tooltip"><i class="fa fa-fw fa-paper-plane text-primary"></i></button>
13
12
  </div>
14
13
  </div>
14
+ <div class="d-flex justify-content-between align-items-center text-xs w-100 px-2 mt-1">
15
+ <div component="chat/composer/typing" class="">
16
+ <div component="chat/composer/typing/users" class="hidden"></div>
17
+ <div component="chat/composer/typing/text" class="hidden"></div>
18
+ </div>
19
+ <div component="chat/message/remaining" class="text-xs text-muted">{maximumChatMessageLength}</div>
20
+ </div>
15
21
  <form class="hidden" component="chat/upload" method="post" enctype="multipart/form-data">
16
22
  <input type="file" name="files[]" multiple class="hidden"/>
17
23
  </form>