nodebb-theme-harmony 1.1.103 → 1.1.104

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.103",
3
+ "version": "1.1.104",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.5.0"
6
6
  },
@@ -20,7 +20,7 @@
20
20
  <div class="mb-2 d-flex flex-column gap-2">
21
21
  <label for="username">{allowLoginWith}</label>
22
22
  <div>
23
- <input class="form-control" type="text" placeholder="{allowLoginWith}" name="username" id="username" autocorrect="off" autocapitalize="off" value="{username}"/>
23
+ <input class="form-control" type="text" placeholder="{allowLoginWith}" name="username" id="username" autocorrect="off" autocapitalize="off" autocomplete="nickname" value="{username}"/>
24
24
  </div>
25
25
  </div>
26
26
  <div class="mb-2 d-flex flex-column gap-2">
@@ -31,7 +31,7 @@
31
31
  {{{ end }}}
32
32
  </div>
33
33
  <div>
34
- <input class="form-control" type="password" placeholder="[[user:password]]" name="password" id="password" {{{ if username }}}autocomplete="off"{{{ end }}}/>
34
+ <input class="form-control" type="password" placeholder="[[user:password]]" name="password" id="password" autocomplete="current-password" autocapitalize="off" />
35
35
  <p id="caps-lock-warning" class="text-danger hidden">
36
36
  <i class="fa fa-exclamation-triangle"></i> [[login:caps-lock-enabled]]
37
37
  </p>
@@ -19,7 +19,7 @@
19
19
  <div class="mb-2 d-flex flex-column gap-2">
20
20
  <label for="username">[[register:username]]</label>
21
21
  <div class="d-flex flex-column">
22
- <input class="form-control" type="text" placeholder="[[register:username-placeholder]]" name="username" id="username" autocorrect="off" autocapitalize="off" autocomplete="off" />
22
+ <input class="form-control" type="text" placeholder="[[register:username-placeholder]]" name="username" id="username" autocorrect="off" autocapitalize="off" autocomplete="nickname" />
23
23
  <span class="register-feedback text-xs text-danger" id="username-notify"></span>
24
24
  <span class="form-text text-xs">[[register:help.username-restrictions, {minimumUsernameLength}, {maximumUsernameLength}]]</span>
25
25
  </div>
@@ -28,7 +28,7 @@
28
28
  <div class="mb-2 d-flex flex-column gap-2">
29
29
  <label for="password">[[register:password]]</label>
30
30
  <div class="d-flex flex-column">
31
- <input class="form-control" type="password" placeholder="[[register:password-placeholder]]" name="password" id="password" />
31
+ <input class="form-control" type="password" placeholder="[[register:password-placeholder]]" name="password" id="password" autocomplete="new-password" autocapitalize="off" />
32
32
  <span class="register-feedback text-xs text-danger" id="password-notify"></span>
33
33
  <span class="form-text text-xs">[[register:help.minimum-password-length, {minimumPasswordLength}]]</span>
34
34
  <p id="caps-lock-warning" class="text-danger hidden">
@@ -40,7 +40,7 @@
40
40
  <div class="mb-2 d-flex flex-column gap-2">
41
41
  <label for="password-confirm">[[register:confirm-password]]</label>
42
42
  <div>
43
- <input class="form-control" type="password" placeholder="[[register:confirm-password-placeholder]]" name="password-confirm" id="password-confirm" />
43
+ <input class="form-control" type="password" placeholder="[[register:confirm-password-placeholder]]" name="password-confirm" id="password-confirm" autocomplete="new-password" autocapitalize="off" />
44
44
  <span class="register-feedback text-xs text-danger" id="password-confirm-notify"></span>
45
45
  </div>
46
46
  </div>
package/templates/tag.tpl CHANGED
@@ -1,8 +1,10 @@
1
+ {{{ if widgets.header.length }}}
1
2
  <div data-widget-area="header">
2
3
  {{{each widgets.header}}}
3
4
  {{widgets.header.html}}
4
5
  {{{end}}}
5
6
  </div>
7
+ {{{ end }}}
6
8
  <div class="row">
7
9
  <div class="tag {{{if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
8
10
  <!-- IMPORT partials/topic-list-bar.tpl -->