nodebb-theme-harmony 1.2.54 → 1.2.56
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
package/templates/login.tpl
CHANGED
|
@@ -15,26 +15,20 @@
|
|
|
15
15
|
<label for="username">{allowLoginWith}</label>
|
|
16
16
|
<input class="form-control" type="text" placeholder="{allowLoginWith}" name="username" id="username" autocorrect="off" autocapitalize="off" autocomplete="nickname" value="{username}" aria-required="true"/>
|
|
17
17
|
</div>
|
|
18
|
+
|
|
18
19
|
<div class="mb-2 d-flex flex-column gap-2">
|
|
19
|
-
<
|
|
20
|
-
<label for="password">[[user:password]]</label>
|
|
21
|
-
{{{ if allowPasswordReset }}}
|
|
22
|
-
<a id="reset-link" class="text-sm text-reset text-decoration-underline" href="{config.relative_path}/reset">[[login:forgot-password]]</a>
|
|
23
|
-
{{{ end }}}
|
|
24
|
-
</div>
|
|
20
|
+
<label for="password">[[user:password]]</label>
|
|
25
21
|
<div>
|
|
26
22
|
<input class="form-control" type="password" placeholder="[[user:password]]" name="password" id="password" autocomplete="current-password" autocapitalize="off" aria-required="true"/>
|
|
27
23
|
<p id="caps-lock-warning" class="text-danger hidden text-sm mb-0 form-text" aria-live="polite" role="alert" aria-atomic="true">
|
|
28
24
|
<i class="fa fa-exclamation-triangle"></i> [[login:caps-lock-enabled]]
|
|
29
25
|
</p>
|
|
30
26
|
</div>
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
<label>
|
|
35
|
-
<input type="checkbox" name="remember" id="remember" checked /> [[login:remember-me]]
|
|
36
|
-
</label>
|
|
27
|
+
{{{ if allowPasswordReset }}}
|
|
28
|
+
<div>
|
|
29
|
+
<a id="reset-link" class="text-sm text-reset text-decoration-underline" href="{config.relative_path}/reset">[[login:forgot-password]]</a>
|
|
37
30
|
</div>
|
|
31
|
+
{{{ end }}}
|
|
38
32
|
</div>
|
|
39
33
|
|
|
40
34
|
{{{ each loginFormEntry }}}
|
|
@@ -49,6 +43,11 @@
|
|
|
49
43
|
|
|
50
44
|
<button class="btn btn-primary" id="login" type="submit">[[global:login]]</button>
|
|
51
45
|
|
|
46
|
+
<div class="form-check mb-2">
|
|
47
|
+
<input class="form-check-input" type="checkbox" name="remember" id="remember" checked />
|
|
48
|
+
<label class="form-check-label" for="remember">[[login:remember-me]]</label>
|
|
49
|
+
</div>
|
|
50
|
+
|
|
52
51
|
<div class="alert alert-danger {{{ if !error }}} hidden{{{ end }}}" id="login-error-notify" role="alert" aria-atomic="true">
|
|
53
52
|
<strong>[[login:failed-login-attempt]]</strong>
|
|
54
53
|
<p class="mb-0">{error}</p>
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<div class="d-flex justify-content-end sticky-top mt-4" style="top:6rem;z-index:1;">
|
|
3
3
|
<div class="ps-1 ps-md-0 d-inline-block">
|
|
4
4
|
<div class="scroller-content d-flex gap-2 flex-column align-items-start">
|
|
5
|
-
<
|
|
5
|
+
<button class="pagetop btn-ghost-sm ff-secondary d-inline-flex border-0" style="padding: 4px;"><i class="fa fa-chevron-up"></i> <span class="timeago text-xs text-muted text-nowrap" title="{./timestampISO}"></span></button>
|
|
6
6
|
<div class="scroller-container position-relative">
|
|
7
7
|
<div class="scroller-thumb d-flex gap-2 text-nowrap position-relative" style="height: 40px;">
|
|
8
8
|
<div class="scroller-thumb-icon bg-primary rounded d-inline-block" style="width:9px; height: 40px;"></div>
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
</div>
|
|
20
20
|
</div>
|
|
21
|
-
<
|
|
21
|
+
<button class="pagebottom btn-ghost-sm ff-secondary d-inline-flex border-0" style="padding: 4px;"><i class="fa fa-chevron-down"></i> <span class="timeago text-xs text-muted text-nowrap" title="{./lastposttimeISO}"></span></button>
|
|
22
22
|
</div>
|
|
23
23
|
</div>
|
|
24
24
|
</div>
|