nodebb-theme-persona 13.2.19 → 13.2.20
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
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
<!-- IF ../deauthUrl -->
|
|
119
119
|
<a data-component="{../component}" class="btn btn-outline-secondary btn-sm float-end" href="{../deauthUrl}">[[user:sso.dissociate]]</a>
|
|
120
120
|
<!-- END -->
|
|
121
|
-
<a data-component="{../component}" href="{
|
|
121
|
+
<a data-component="{../component}" href="{{{ if ./url }}}{./url}{{{ else }}}#{{{ end }}}" target="<!-- IF ../associated -->_blank<!-- ELSE -->_top<!-- ENDIF ../associated -->">
|
|
122
122
|
<!-- IF ../icon --><i class="fa {../icon}"></i><!-- ENDIF ../icon -->
|
|
123
123
|
<!-- IF ../associated -->[[user:sso.associated]]<!-- ELSE -->[[user:sso.not-associated]]<!-- ENDIF ../associated -->
|
|
124
124
|
{../name}
|
package/templates/chat.tpl
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div id="chat-modal" class="chat-modal modal hide" tabindex="-1" role="dialog" aria-labelledby="Chat" aria-hidden="true" data-backdrop="none">
|
|
2
2
|
<div class="modal-dialog">
|
|
3
|
-
<div class="modal-content">
|
|
3
|
+
<div class="modal-content" component="chat/message/window">
|
|
4
4
|
<div class="modal-header d-flex">
|
|
5
5
|
<div class="fs-6 flex-grow-1" component="chat/room/name" data-icon="{icon}">{{{ if ./roomName }}}<i class="fa {icon} text-muted"></i> {roomName}{{{ else }}}{./chatWithMessage}{{{ end}}}</div>
|
|
6
6
|
<button type="button" class="btn btn-link d-none d-md-block p-2 text-muted align-text-top" data-action="maximize">
|
|
@@ -15,11 +15,10 @@
|
|
|
15
15
|
|
|
16
16
|
<button id="chat-close-btn" type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
17
17
|
</div>
|
|
18
|
-
|
|
18
|
+
<!-- IMPORT partials/chats/scroll-up-alert.tpl -->
|
|
19
19
|
<div class="modal-body d-flex flex-column" style="height: 500px;">
|
|
20
20
|
<div class="d-flex flex-grow-1 gap-1 overflow-auto" style="min-width: 0px;">
|
|
21
21
|
<div component="chat/messages" class="expanded-chat d-flex flex-column flex-grow-1" data-roomid="{roomId}" style="min-width: 0px;">
|
|
22
|
-
<!-- IMPORT partials/chats/scroll-up-alert.tpl -->
|
|
23
22
|
<ul component="chat/message/content" class="chat-content p-0 m-0 list-unstyled overflow-auto flex-grow-1">
|
|
24
23
|
<!-- IMPORT partials/chats/messages.tpl -->
|
|
25
24
|
</ul>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="d-flex flex-column h-100">
|
|
1
|
+
<div component="chat/message/window" class="d-flex flex-column h-100" >
|
|
2
2
|
{{{ if !roomId }}}
|
|
3
3
|
<div class="d-flex flex-column align-items-center gap-3 p-5">
|
|
4
4
|
<i class="fa-solid fa-wind fs-2 text-muted"></i>
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
|
|
14
14
|
<!-- IMPORT partials/chats/options.tpl -->
|
|
15
15
|
</div>
|
|
16
|
+
<!-- IMPORT partials/chats/scroll-up-alert.tpl -->
|
|
16
17
|
<hr class="my-1"/>
|
|
17
18
|
<div class="d-flex flex-grow-1 gap-1 overflow-auto" style="min-width: 0px;">
|
|
18
19
|
<div component="chat/messages" class="expanded-chat d-flex flex-column flex-grow-1" data-roomid="{roomId}" style="min-width: 0px;">
|
|
19
|
-
<!-- IMPORT partials/chats/scroll-up-alert.tpl -->
|
|
20
20
|
<ul component="chat/message/content" class="chat-content p-0 m-0 list-unstyled overflow-auto flex-grow-1">
|
|
21
21
|
<!-- IMPORT partials/chats/messages.tpl -->
|
|
22
22
|
</ul>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<div class="d-flex gap-1 align-items-stretch">
|
|
2
2
|
<!-- search -->
|
|
3
|
-
<button class="btn btn-sm
|
|
3
|
+
<button class="btn btn-sm btn-light" component="chat/room/search/toggle" data-manual-tooltip="1" title="[[global:header.search]]">
|
|
4
4
|
<i class="fa fa-search text-muted"></i>
|
|
5
5
|
</button>
|
|
6
6
|
<div component="chat/room/search/container" class="position-relative hidden align-self-center">
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
<div class="position-relative">
|
|
2
|
-
<div component="chat/messages/scroll-up-alert" class="py-1 position-absolute start-50 translate-middle
|
|
2
|
+
<div component="chat/messages/scroll-up-alert" class="py-1 mt-1 position-absolute start-50 top-50 translate-middle text-sm scroll-up-alert alert alert-info d-none d-md-block text-nowrap hidden" role="button" style="z-index: 500;"><i class="fa fa-fw fa-arrow-down"></i> [[modules:chat.scroll-up-alert]]</div>
|
|
3
3
|
</div>
|