nodebb-theme-harmony 1.1.49 → 1.1.50
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,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
|
-
|
|
6
|
-
|
|
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
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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
|
-
|
|
28
|
-
|
|
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
|
-
</
|
|
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
|
-
|
|
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
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
21
|
+
<input type="hidden" name="uid" id="inputUID" value="{uid}" />
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
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
|
-
</
|
|
29
|
+
</div>
|
|
27
30
|
|
|
28
31
|
<!-- IMPORT partials/account/footer.tpl -->
|