nodebb-theme-harmony 1.1.24 → 1.1.26
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 -4
- package/templates/partials/toast.tpl +16 -11
package/package.json
CHANGED
package/templates/footer.tpl
CHANGED
|
@@ -7,10 +7,7 @@
|
|
|
7
7
|
{{{ if !isSpider }}}
|
|
8
8
|
<div class="">
|
|
9
9
|
<div component="toaster/tray" class="alert-window fixed-bottom mb-5 mb-md-2 me-2 me-md-5 ms-auto" style="width:300px; z-index: 1090;">
|
|
10
|
-
|
|
11
|
-
<button type="button" class="btn-close float-end" data-bs-dismiss="alert" aria-hidden="true"></button>
|
|
12
|
-
<p>[[global:reconnecting-message, {config.siteTitle}]]</p>
|
|
13
|
-
</div>
|
|
10
|
+
<!-- IMPORT partials/reconnect-alert.tpl -->
|
|
14
11
|
</div>
|
|
15
12
|
</div>
|
|
16
13
|
{{{ end }}}
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
<div id="{alert_id}" role="alert" class="alert alert-dismissible alert-{type}" component="toaster/toast">
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
<div id="{alert_id}" role="alert" class="alert alert-dismissible alert-{type} fade show" component="toaster/toast">
|
|
2
|
+
<div class="alert-progress position-absolute top-0 start-0 bottom-0 h-100 z-0" style=" opacity:0.1;"></div>
|
|
3
|
+
<div class="d-flex flex-wrap gap-2 position-relative">
|
|
4
|
+
{{{ if image }}}
|
|
5
|
+
<img src="{image}" height="80" style="width: auto;" />
|
|
6
|
+
{{{ end }}}
|
|
7
|
+
<div class="d-flex flex-column gap-2">
|
|
8
|
+
{{{ if title }}}
|
|
9
|
+
<strong>{title}</strong>
|
|
10
|
+
{{{ end }}}
|
|
6
11
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
12
|
+
{{{ if message }}}
|
|
13
|
+
<p class="m-0">{message}</p>
|
|
14
|
+
{{{ end }}}
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
10
17
|
|
|
11
|
-
|
|
12
|
-
<p>{message}</p>
|
|
13
|
-
{{{ end }}}
|
|
18
|
+
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="close"></button>
|
|
14
19
|
</div>
|