Index: openacs-4/packages/chat/www/resources/chat.css =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/chat/www/resources/Attic/chat.css,v diff -u -r1.14 -r1.15 --- openacs-4/packages/chat/www/resources/chat.css 19 Nov 2018 17:22:36 -0000 1.14 +++ openacs-4/packages/chat/www/resources/chat.css 19 Nov 2018 20:21:44 -0000 1.15 @@ -142,19 +142,48 @@ #xowiki-chat-messages-form { width: 100%; + display: flex; + align-items: center; } #xowiki-chat-send { /* font-size: 24px; */ height: 48px; - width: 100%; + flex-grow: 2; padding-left: 10px; border: 0; outline: none; background-color: #eceff1; border-radius: 8px; + padding-right: 50px; } +#xowiki-chat-send-button { + cursor: pointer; + height: 38px; + width: 38px; + border-radius: 50%; + padding-left: 3px; + border: 0; + margin-left: -50px; + margin-right: 20px; + background: #05728f none repeat scroll 0 0; +} + +#xowiki-chat-send-button:hover { + background: #05958f none repeat scroll 0 0; +} + +#xowiki-chat-messages-form-send-pic-in { + fill-rule: "evenodd"; + fill: white; +} + +#xowiki-chat-messages-form-send-pic-out { + stroke: white; + fill: none; +} + /* Full screen trigger */ .xowiki-chat-trigger-fs-block { padding: 10px; Index: openacs-4/packages/xowiki/tcl/chat-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/chat-procs.tcl,v diff -u -r1.41 -r1.42 --- openacs-4/packages/xowiki/tcl/chat-procs.tcl 19 Nov 2018 18:19:12 -0000 1.41 +++ openacs-4/packages/xowiki/tcl/chat-procs.tcl 19 Nov 2018 20:21:44 -0000 1.42 @@ -499,8 +499,8 @@
- - + +
@@ -534,6 +534,12 @@ }] } + append html [subst { + + }] + switch -- $mode { "polling" { append html [subst -nocommands { Index: openacs-4/packages/xowiki/www/ajax/chat-common.js =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/ajax/Attic/chat-common.js,v diff -u -r1.8 -r1.9 --- openacs-4/packages/xowiki/www/ajax/chat-common.js 19 Nov 2018 17:22:36 -0000 1.8 +++ openacs-4/packages/xowiki/www/ajax/chat-common.js 19 Nov 2018 20:21:44 -0000 1.9 @@ -39,6 +39,17 @@ formBlock.appendChild(triggerFSblock); } +// Send link pic +function addSendPic() { + + var sendPic = ''; + var button = document.getElementById('xowiki-chat-send-button'); + + if (button != null) { + button.innerHTML = sendPic; + } +} + // Simple function to create links function createLink(text) { if (linkRegex != null) {