nodebb-theme-harmony 1.2.55 → 1.2.57
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>
|
|
@@ -24,6 +24,14 @@
|
|
|
24
24
|
<a class="text-reset" href="{{{ if topics.noAnchor }}}#{{{ else }}}{config.relative_path}/topic/{./slug}{{{ if ./bookmark }}}/{./bookmark}{{{ end }}}{{{ end }}}">{./title}</a>
|
|
25
25
|
</h3>
|
|
26
26
|
<span component="topic/labels" class="d-flex flex-wrap gap-1 w-100">
|
|
27
|
+
<span component="topic/watched" class="badge border border-gray-300 text-body {{{ if !./followed }}}hidden{{{ end }}}">
|
|
28
|
+
<i class="fa fa-bell-o"></i>
|
|
29
|
+
<span>[[topic:watching]]</span>
|
|
30
|
+
</span>
|
|
31
|
+
<span component="topic/ignored" class="badge border border-gray-300 text-body {{{ if !./ignored }}}hidden{{{ end }}}">
|
|
32
|
+
<i class="fa fa-eye-slash"></i>
|
|
33
|
+
<span>[[topic:ignoring]]</span>
|
|
34
|
+
</span>
|
|
27
35
|
<span component="topic/scheduled" class="badge border border-gray-300 text-body {{{ if !./scheduled }}}hidden{{{ end }}}">
|
|
28
36
|
<i class="fa fa-clock-o"></i>
|
|
29
37
|
<span>[[topic:scheduled]]</span>
|