nodebb-theme-persona 13.0.47 → 13.0.48
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/chat.tpl +22 -15
package/package.json
CHANGED
package/templates/chat.tpl
CHANGED
|
@@ -17,24 +17,31 @@
|
|
|
17
17
|
</div>
|
|
18
18
|
|
|
19
19
|
<div class="modal-body">
|
|
20
|
-
<div
|
|
21
|
-
<div
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
<div component="chat/messages" data-roomid="{roomId}">
|
|
21
|
+
<div class="position-relative">
|
|
22
|
+
<div component="chat/messages/scroll-up-alert" class="position-absolute scroll-up-alert alert alert-info hidden w-100" role="button" style="z-index: 1;">[[modules:chat.scroll-up-alert]]</div>
|
|
23
|
+
</div>
|
|
24
|
+
|
|
25
|
+
<ul class="chat-content">
|
|
26
|
+
<!-- IMPORT partials/chats/messages.tpl -->
|
|
27
|
+
</ul>
|
|
26
28
|
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
29
|
+
<div component="chat/composer" class="d-flex flex-column flex-md-row gap-2 border-top pt-2 align-items-start align-items-md-end">
|
|
30
|
+
<div class="w-100 flex-grow-1 position-relative">
|
|
31
|
+
<textarea component="chat/input" placeholder="[[modules:chat.placeholder.mobile]]" class="form-control chat-input mousetrap" style="height:0;resize:none;"></textarea>
|
|
32
|
+
<span component="chat/message/remaining" class="text-xs text-muted position-absolute me-1 mb-1" style="right: 0px; bottom:0px;">{maximumChatMessageLength}</span>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="d-flex justify-content-between align-self-stretch gap-2">
|
|
35
|
+
<button component="chat/upload/button" class="btn btn-light btn-sm align-self-end" type="button"><i class="fa fa-fw fa-upload"></i></button>
|
|
36
|
+
<button class="btn btn-primary btn-sm align-self-end" type="button" data-action="send"><i class="fa fa-fw fa-paper-plane"></i></button>
|
|
37
|
+
</div>
|
|
38
|
+
<form class="hidden" component="chat/upload" method="post" enctype="multipart/form-data">
|
|
39
|
+
<input type="file" name="files[]" multiple class="hidden"/>
|
|
40
|
+
</form>
|
|
41
|
+
</div>
|
|
35
42
|
</div>
|
|
43
|
+
<div class="imagedrop"><div>[[topic:composer.drag_and_drop_images]]</div></div>
|
|
36
44
|
</div>
|
|
37
|
-
<div class="imagedrop"><div>[[topic:composer.drag_and_drop_images]]</div></div>
|
|
38
45
|
</div>
|
|
39
46
|
</div>
|
|
40
47
|
</div>
|