text-area.html 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <div class="bx-messenger-post-box text-area">
  2. <div class="flex items-center">
  3. <bx_if:topics>
  4. <input type="text" name="title" id="bx-messenger-talk-title" class="bx-messenger-talk-title bx-def-font-inputs bx-form-input-text" placeholder="<bx_text:_bx_messenger_text_area_topic_title />">
  5. </bx_if:topics>
  6. <div class="bx-messenger-reply-area pt-2 px-2">
  7. <span class="bx-messenger-reply-area-message bx-def-font-small bx-def-border-left" onclick="oMessenger.jumpToParentMessage();"></span>
  8. <a href="javascript:void(0);" onclick="oMessenger.onCleanReplayArea();" class="bx-def-font-medium">
  9. <i class="sys-icon times"></i>
  10. </a>
  11. </div>
  12. <div class="bx-messenger-attachment-group pt-2 px-2">
  13. <div class="bx-messenger-send-area-attachments"></div>
  14. </div>
  15. __giphy__
  16. <bx_if:text>
  17. <div id="bx-messenger-message-box" placeholder="<bx_text:_bx_messenger_post_area_message />" class="bx-messenger-message-box-input-area"></div>
  18. </bx_if:text>
  19. <div class="bx-messenger-post-box-send-actions">
  20. <div class="bx-messenger-post-box-send-actions-items">
  21. <bx_if:smiles>
  22. <button type="button" title="<bx_text:_bx_messenger_post_emoji />" class="smiles group" aria-haspopup="listbox" aria-expanded="true" aria-labelledby="listbox-label">
  23. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  24. <path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM7 9a1 1 0 100-2 1 1 0 000 2zm7-1a1 1 0 11-2 0 1 1 0 012 0zm-.464 5.535a1 1 0 10-1.415-1.414 3 3 0 01-4.242 0 1 1 0 00-1.415 1.414 5 5 0 007.072 0z" clip-rule="evenodd"></path>
  25. </svg>
  26. </button>
  27. </bx_if:smiles>
  28. <bx_if:recording>
  29. <button title="<bx_text:_bx_messenger_send_recorded_video />" type="button" onclick="oMessenger.getVideoRecording(this);" class="group" aria-haspopup="listbox" aria-expanded="true" aria-labelledby="listbox-label">
  30. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true">
  31. <path clip-rule="evenodd" stroke-linecap="round" d="M15.75 10.5l4.72-4.72a.75.75 0 011.28.53v11.38a.75.75 0 01-1.28.53l-4.72-4.72M4.5 18.75h9a2.25 2.25 0 002.25-2.25v-9a2.25 2.25 0 00-2.25-2.25h-9A2.25 2.25 0 002.25 7.5v9a2.25 2.25 0 002.25 2.25z" />
  32. </svg>
  33. </button>
  34. </bx_if:recording>
  35. <bx_if:files>
  36. <button type="button" title="<bx_text:_bx_messenger_post_attache_files />" class="group attachefile" aria-haspopup="listbox" aria-expanded="true" aria-labelledby="listbox-label">
  37. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  38. <path fill-rule="evenodd" d="M8 4a3 3 0 00-3 3v4a5 5 0 0010 0V7a1 1 0 112 0v4a7 7 0 11-14 0V7a5 5 0 0110 0v4a3 3 0 11-6 0V7a1 1 0 012 0v4a1 1 0 102 0V7a3 3 0 00-3-3z" clip-rule="evenodd"></path>
  39. </svg>
  40. </button>
  41. </bx_if:files>
  42. <bx_if:giphy>
  43. <button title="<bx_text:_bx_messenger_giphy_gifs_button />" type="button" id="bx-messenger-send-area-giphy" class="group" aria-haspopup="listbox" aria-expanded="true" aria-labelledby="listbox-label">
  44. <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
  45. <path fill-rule="evenodd" d="M4 4a2 2 0 012-2h4.586A2 2 0 0112 2.586L15.414 6A2 2 0 0116 7.414V16a2 2 0 01-2 2H6a2 2 0 01-2-2V4z" clip-rule="evenodd" />
  46. </svg>
  47. </button>
  48. </bx_if:giphy>
  49. </div>
  50. <div class="bx-messenger-post-box-send-button">
  51. <button id="send-button" title="<bx_text:_bx_messenger_post_button_title />" type="button">
  52. <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
  53. <path stroke-linecap="round" stroke-linejoin="round" d="M9 11l3-3m0 0l3 3m-3-3v8m0-13a9 9 0 110 18 9 9 0 010-18z"></path>
  54. </svg>
  55. <span class="ml-2 hidden md:block"><bx_text:_bx_messenger_post_button_title /></span>
  56. </button>
  57. </div>
  58. </div>
  59. </div>
  60. </div>