nodebb-theme-persona 13.2.47 → 13.2.49
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 +15 -4
- package/scss/modules/composer.scss +0 -1
- package/scss/style.scss +1 -0
- package/templates/login.tpl +3 -3
- package/templates/register.tpl +3 -3
package/package.json
CHANGED
package/scss/chats.scss
CHANGED
|
@@ -23,10 +23,13 @@ body.page-user-chats {
|
|
|
23
23
|
$calcHeight: calc(100vh - var(--panel-offset) - $spacer);
|
|
24
24
|
overflow: hidden;
|
|
25
25
|
height: 100%;
|
|
26
|
+
[data-widget-area="footer"] {
|
|
27
|
+
display: none;
|
|
28
|
+
}
|
|
26
29
|
> #panel {
|
|
27
30
|
height: $calcHeight;
|
|
28
31
|
> .container {
|
|
29
|
-
height:
|
|
32
|
+
height: 100%;
|
|
30
33
|
}
|
|
31
34
|
}
|
|
32
35
|
}
|
|
@@ -47,7 +50,6 @@ body.page-user-chats {
|
|
|
47
50
|
.chats-full, .chat-modal {
|
|
48
51
|
display: flex;
|
|
49
52
|
flex-wrap: nowrap;
|
|
50
|
-
height: calc(100vh - var(--panel-offset) - $spacer);
|
|
51
53
|
|
|
52
54
|
[component="chat/nav-wrapper"] {
|
|
53
55
|
width: 300px;
|
|
@@ -499,12 +501,21 @@ body.page-user-chats {
|
|
|
499
501
|
/* Mobile handling of chat page */
|
|
500
502
|
@include media-breakpoint-down(md) {
|
|
501
503
|
.page-user-chats {
|
|
502
|
-
padding-bottom: 0;
|
|
503
|
-
|
|
504
|
+
padding-bottom: 0!important;
|
|
505
|
+
> #panel {
|
|
506
|
+
height: 100%!important;
|
|
507
|
+
.container {
|
|
508
|
+
height: 100%!important;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
504
511
|
[component="chat/nav-wrapper"] {
|
|
505
512
|
width: 100%;
|
|
506
513
|
}
|
|
507
514
|
|
|
515
|
+
&.chat-loaded .navbar {
|
|
516
|
+
display: none;
|
|
517
|
+
}
|
|
518
|
+
|
|
508
519
|
[component="chat/nav-wrapper"][data-loaded="1"] {
|
|
509
520
|
display: none!important;
|
|
510
521
|
}
|
package/scss/style.scss
CHANGED
package/templates/login.tpl
CHANGED
|
@@ -13,20 +13,20 @@
|
|
|
13
13
|
<div class="alert alert-danger alert-dismissible" id="login-error-notify" {{{ if error }}}style="display:block"{{{ else }}}style="display: none;"{{{ end }}}>
|
|
14
14
|
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
|
15
15
|
<strong>[[login:failed-login-attempt]]</strong>
|
|
16
|
-
<p>{error}</p>
|
|
16
|
+
<p class="mb-0">{error}</p>
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
19
|
<form class="form-horizontal" role="form" method="post" id="login-form">
|
|
20
20
|
<div class="row mb-2">
|
|
21
21
|
<label for="username" class="col-lg-2 col-form-label">{allowLoginWith}</label>
|
|
22
22
|
<div class="col-lg-10">
|
|
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="row mb-2">
|
|
27
27
|
<label for="password" class="col-lg-2 col-form-label">[[user:password]]</label>
|
|
28
28
|
<div class="col-lg-10">
|
|
29
|
-
<input class="form-control" type="password" placeholder="[[user:password]]" name="password" id="password"
|
|
29
|
+
<input class="form-control" type="password" placeholder="[[user:password]]" name="password" id="password" autocomplete="current-password" autocapitalize="off" />
|
|
30
30
|
<p id="caps-lock-warning" class="text-danger hidden">
|
|
31
31
|
<i class="fa fa-exclamation-triangle"></i> [[login:caps-lock-enabled]]
|
|
32
32
|
</p>
|
package/templates/register.tpl
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
<div class="row mb-3">
|
|
17
17
|
<label for="username" class="col-lg-2 col-form-label">[[register:username]]</label>
|
|
18
18
|
<div class="col-lg-10">
|
|
19
|
-
<input class="form-control" type="text" placeholder="[[register:username-placeholder]]" name="username" id="username" autocorrect="off" autocapitalize="off" autocomplete="
|
|
19
|
+
<input class="form-control" type="text" placeholder="[[register:username-placeholder]]" name="username" id="username" autocorrect="off" autocapitalize="off" autocomplete="nickname" />
|
|
20
20
|
<span class="register-feedback" id="username-notify"></span>
|
|
21
21
|
<span class="form-text">[[register:help.username-restrictions, {minimumUsernameLength}, {maximumUsernameLength}]]</span>
|
|
22
22
|
</div>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
<div class="row mb-2">
|
|
25
25
|
<label for="password" class="col-lg-2 col-form-label">[[register:password]]</label>
|
|
26
26
|
<div class="col-lg-10">
|
|
27
|
-
<input class="form-control" type="password" placeholder="[[register:password-placeholder]]" name="password" id="password" />
|
|
27
|
+
<input class="form-control" type="password" placeholder="[[register:password-placeholder]]" name="password" id="password" autocomplete="new-password" autocapitalize="off" />
|
|
28
28
|
<span class="register-feedback" id="password-notify"></span>
|
|
29
29
|
<span class="form-text">[[register:help.minimum-password-length, {minimumPasswordLength}]]</span>
|
|
30
30
|
<p id="caps-lock-warning" class="text-danger hidden">
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
<div class="row mb-2">
|
|
36
36
|
<label for="password-confirm" class="col-lg-2 col-form-label">[[register:confirm-password]]</label>
|
|
37
37
|
<div class="col-lg-10">
|
|
38
|
-
<input class="form-control" type="password" placeholder="[[register:confirm-password-placeholder]]" name="password-confirm" id="password-confirm" />
|
|
38
|
+
<input class="form-control" type="password" placeholder="[[register:confirm-password-placeholder]]" name="password-confirm" id="password-confirm" autocomplete="new-password" autocapitalize="off" />
|
|
39
39
|
<span class="register-feedback" id="password-confirm-notify"></span>
|
|
40
40
|
</div>
|
|
41
41
|
</div>
|