nodebb-theme-persona 13.0.23 → 13.0.25
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/templates/footer.tpl +1 -1
- package/templates/login.tpl +1 -1
- package/templates/partials/groups/admin.tpl +1 -1
- package/templates/partials/groups/badge.tpl +1 -1
- package/templates/partials/toast.tpl +1 -1
- package/templates/reset.tpl +2 -2
- package/templates/reset_code.tpl +1 -1
- package/templates/topic.tpl +1 -1
package/package.json
CHANGED
package/templates/footer.tpl
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
</main>
|
|
3
3
|
<!-- IF !isSpider -->
|
|
4
4
|
<div component="toaster/tray" class="alert-window">
|
|
5
|
-
<div id="reconnect-alert" class="alert alert-
|
|
5
|
+
<div id="reconnect-alert" class="alert alert-dismissible alert-warning clearfix hide" component="toaster/toast">
|
|
6
6
|
<button type="button" class="btn-close float-end" data-bs-dismiss="alert" aria-hidden="true"></button>
|
|
7
7
|
<p>[[global:reconnecting-message, {config.siteTitle}]]</p>
|
|
8
8
|
</div>
|
package/templates/login.tpl
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
{{{ if allowLocalLogin }}}
|
|
11
11
|
<div class="{{{ if alternate_logins }}}col-md-6{{{ else }}}col-md-12{{{ end }}}">
|
|
12
12
|
<div class="login-block">
|
|
13
|
-
<div class="alert alert-danger" id="login-error-notify" {{{ if error }}}style="display:block"{{{ else }}}style="display: none;"{{{ end }}}>
|
|
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
16
|
<p>{error}</p>
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
|
|
134
134
|
<div class="mb-3 user-title-option">
|
|
135
135
|
<label>[[groups:details.badge_preview]]</label><br />
|
|
136
|
-
<span class="badge rounded-1 text-uppercase text-truncate rounded-1 {{{ if !group.userTitleEnabled }}} hide{{{ end }}}" style="max-width:150px; color: {group.textColor}; background-color: {group.labelColor}"><i class="fa{{{ if group.icon }}} {group.icon}{{{ end }}}"></i
|
|
136
|
+
<span class="badge rounded-1 text-uppercase text-truncate rounded-1 {{{ if !group.userTitleEnabled }}} hide{{{ end }}}" style="max-width:150px; color: {group.textColor}; background-color: {group.labelColor}"><i class="fa{{{ if group.icon }}} {group.icon}{{{ if ./userTitle}}}me-1{{{ end }}}{{{ end }}}"></i><span class="badge-text">{{{ if group.userTitle }}}{group.userTitle}{{{ end }}}</span></span>
|
|
137
137
|
|
|
138
138
|
<hr/>
|
|
139
139
|
<button component="groups/userTitleOption" type="button" class="btn btn-outline-secondary btn-sm" data-action="icon-select"<!-- IF !group.userTitleEnabled --> disabled<!-- ENDIF !group.userTitleEnabled -->>[[groups:details.change_icon]]</button>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<a href="{config.relative_path}/groups/{./slug}" class="badge rounded-1 text-uppercase text-truncate" style="max-width: 150px;color:{./textColor};background-color: {./labelColor};"><i class="fa {{{ if ./icon }}}{./icon} me-1{{{else}}}hidden{{{ end }}}"></i><span class="badge-text">{{{ if ./userTitle }}}{./userTitle}{{{
|
|
1
|
+
<a href="{config.relative_path}/groups/{./slug}" class="badge rounded-1 text-uppercase text-truncate" style="max-width: 150px;color:{./textColor};background-color: {./labelColor};"><i class="fa {{{ if ./icon }}}{./icon}{{{ if ./userTitle}}} me-1{{{ end }}}{{{else}}}hidden{{{ end }}}"></i><span class="badge-text">{{{ if ./userTitle }}}{./userTitle}{{{ end }}}</span></a>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div id="{alert_id}" role="alert" class="alert alert-
|
|
1
|
+
<div id="{alert_id}" role="alert" class="alert alert-dismissible alert-{type}" component="toaster/toast">
|
|
2
2
|
<button type="button" class="btn-close float-end" data-bs-dismiss="alert" aria-label="close"></button>
|
|
3
3
|
<!-- IF image -->
|
|
4
4
|
<img src="{image}">
|
package/templates/reset.tpl
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
</div>
|
|
7
7
|
|
|
8
8
|
<div class="card card-body bg-light">
|
|
9
|
-
<div class="alert alert-success hide" id="success">
|
|
9
|
+
<div class="alert alert-success alert-dismissible hide" id="success">
|
|
10
10
|
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
|
11
11
|
[[reset_password:password_reset_sent]]
|
|
12
12
|
</div>
|
|
13
|
-
<div class="alert alert-danger hide" id="error">
|
|
13
|
+
<div class="alert alert-danger alert-dismissible hide" id="error">
|
|
14
14
|
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
|
15
15
|
[[reset_password:invalid_email]]
|
|
16
16
|
</div>
|
package/templates/reset_code.tpl
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[[reset_password:password_expired]]
|
|
8
8
|
</div>
|
|
9
9
|
<!-- ENDIF displayExpiryNotice -->
|
|
10
|
-
<div class="alert alert-success hidden" id="success">
|
|
10
|
+
<div class="alert alert-success alert-dismissible hidden" id="success">
|
|
11
11
|
<button type="button" class="btn-close" data-bs-dismiss="alert"></button>
|
|
12
12
|
<strong>[[reset_password:password_changed.title]]</strong>
|
|
13
13
|
<p>[[reset_password:password_changed.message]]</p>
|
package/templates/topic.tpl
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
<i component="topic/pinned" class="fa fa-thumb-tack <!-- IF (scheduled || !pinned) -->hidden<!-- ENDIF (scheduled || !pinned) -->" title="{{{ if !pinExpiry }}}[[topic:pinned]]{{{ else }}}[[topic:pinned-with-expiry, {pinExpiryISO}]]{{{ end }}}"></i>
|
|
14
14
|
<i component="topic/locked" class="fa fa-lock <!-- IF !locked -->hidden<!-- ENDIF !locked -->" title="[[topic:locked]]"></i>
|
|
15
15
|
<i class="fa fa-arrow-circle-right <!-- IF !oldCid -->hidden<!-- ENDIF !oldCid -->" title="{{{ if privileges.isAdminOrMod }}}[[topic:moved-from, {oldCategory.name}]]{{{ else }}}[[topic:moved]]{{{ end }}}"></i>
|
|
16
|
-
{{{each icons}}}{@value}{{{end}}}
|
|
16
|
+
{{{each icons}}}<span class="align-middle">{@value}</span>{{{end}}}
|
|
17
17
|
</span>
|
|
18
18
|
<span component="topic/title">{title}</span>
|
|
19
19
|
</span>
|