controlbox.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. <!-- <div id="users" class="controlbox-pane"> -->
  2. <div class="controlbox-padded userinfo">
  3. <div class="profile d-flex">
  4. <canvas data-avatar="/mockup/images/romeo.jpg" height="40px" width="40px" class="avatar align-self-center"></canvas>
  5. <span class="username w-100 align-self-center">Romeo Montague</span>
  6. <!-- <a class="chatbox-btn fa fa-vcard align-self-center" title="Your profile" data-toggle="modal" data-target="#userProfileModal"></a> -->
  7. <!-- <a class="chatbox-btn fa fa-cog align-self-center" title="Change settings" data-toggle="modal" data-target="#settingsModal"></a> -->
  8. <a class="chatbox-btn logout fa fa-sign-out-alt align-self-center" title="Log out"></a>
  9. </div>
  10. <div class="d-flex xmpp-status">
  11. <span class="online w-100 align-self-center" data-value="online">
  12. <span class="fa fa-circle"></span> Online</span>
  13. <a class="chatbox-btn fa fa-pencil-alt" title="Click to change your chat status" data-toggle="modal" data-target="#changeStatusModal"></a>
  14. </div>
  15. </div>
  16. <div id="headlines" class="controlbox-section">
  17. <div class="d-flex controlbox-padded">
  18. <span class="w-100 controlbox-heading">Announcements</span>
  19. </div>
  20. <div class="list-container">
  21. <div class="items-list">
  22. <div class="controlbox-padded list-item open-headline d-flex flex-row">
  23. <a class="w-100" data-jid="montague.lit" title="Click to show" href="chatroom.html">Montague.lit</a>
  24. </div>
  25. <div class="controlbox-padded list-item open-headline d-flex flex-row">
  26. <a class="w-100" data-jid="montague.lit" title="Click to show" href="chatroom.html">Capulet.lit</a>
  27. </div>
  28. </div>
  29. </div>
  30. </div>
  31. <div id="chatrooms" class="controlbox-section">
  32. <div class="d-flex controlbox-padded">
  33. <span class="w-100 controlbox-heading controlbox-heading--groupchats">Groupchats</span>
  34. <a class="controlbox-heading__btn show-list-muc-modal fa fa-list-ul" title="Query for groupchats" data-toggle="modal" data-target="#list-chatrooms-modal"></a>
  35. <a class="controlbox-heading__btn fa fa-plus" title="Click to add a new room" data-toggle="modal" data-target="#chatroomsModal"></a>
  36. </div>
  37. <div class="list-container items-list-container">
  38. <div class="items-list rooms-list">
  39. <div class="list-item controlbox-padded room-item available-chatroom d-flex flex-row open">
  40. <a class="list-item-link open-room available-room w-100" data-room-jid="public@conference.test.com" title="Click to open this room" href="chatroom.html">
  41. Capulet's Orchard</a>
  42. <a href="#"
  43. class="list-item-action room-info fa fa-info-circle" data-container="body" data-toggle="popover" title="Room info"
  44. data-html="true" data-content="<b>Room Address (JID): </b><br/>public@conference.test.com<br/><b>Discussions: </b><br/>Public discussions<br/><b>Participants: </b>1<br/><b>Features: </b><br/>Non-anonymous">
  45. &nbsp;</a>
  46. <a href="#" class="list-item-action fa fa-bookmark" title="Click to bookmark this room">&nbsp;</a>
  47. <a class="list-item-action fa fa-sign-out-alt close-room" data-room-jid="public@conference.test.com" data-room-name="Capulet's Orchard"
  48. title="Leave this groupchat" href="#"></a>
  49. </div>
  50. <div class="list-item controlbox-padded room-item available-chatroom d-flex flex-row">
  51. <span class="list-item-badge badge badge-room-color msgs-indicator">18</span>
  52. <a class="list-item-link open-room available-room w-100" data-room-jid="team@conference.test.com" title="Click to open this room" href="chatroom.html">
  53. Juliet's Balcony</a>
  54. <a href="#"
  55. class="list-item-action room-info fa fa-info-circle" data-container="body" data-toggle="popover" title="Room info"
  56. data-html="true" data-content="<b>Room Address (JID): </b><br/>public@conference.test.com<br/><b>Discussions: </b><br/>Public discussions<br/><b>Participants: </b>1<br/><b>Features: </b><br/>Non-anonymous">
  57. &nbsp;</a>
  58. <a href="#" class="list-item-action fa fa-bookmark" title="Click to bookmark this room">&nbsp;</a>
  59. <a class="list-item-action fa fa-sign-out-alt close-room" data-room-jid="team@conference.test.com" data-room-name="Juliet's Balcony"
  60. title="Leave this groupchat" href="#"></a>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. <div id="bookmarks" class="controlbox-section">
  66. <div class="d-flex controlbox-padded">
  67. <span class="w-100 controlbox-heading">Bookmarks</span>
  68. </div>
  69. <div class="list-container items-list-container">
  70. <div class="items-list rooms-list">
  71. <div class="list-item controlbox-padded room-item available-chatroom d-flex flex-row">
  72. <a class="list-item-link open-room available-room w-100" data-room-jid="public@conference.test.com" title="Click to open this room" href="chatroom.html">Capulet's orchard</a>
  73. <a href="#"
  74. class="list-item-action room-info fa fa-info-circle" data-container="body" data-toggle="popover" title="Room info"
  75. data-html="true" data-content="<b>Room Address (JID): </b><br/>public@conference.test.com<br/><b>Discussions: </b><br/>Public discussions<br/><b>Participants: </b>1<br/><b>Features: </b><br/>Non-anonymous">
  76. &nbsp;</a>
  77. <a href="#" class="list-item-action fa fa-bookmark" title="Click to bookmark this room">&nbsp;</a>
  78. </div>
  79. <div class="list-item controlbox-padded room-item available-chatroom d-flex flex-row">
  80. <a class="list-item-link open-room available-room w-100" data-room-jid="team@conference.test.com" title="Click to open this room" href="chatroom.html">Juliet's Balcony</a>
  81. <a href="#"
  82. class="list-item-action room-info fa fa-info-circle" data-container="body" data-toggle="popover" title="Room info"
  83. data-html="true" data-content="<b>Room Address (JID): </b><br/>public@conference.test.com<br/><b>Discussions: </b><br/>Public discussions<br/><b>Participants: </b>1<br/><b>Features: </b><br/>Non-anonymous">
  84. &nbsp;</a>
  85. <a href="#" class="list-item-action fa fa-bookmark" title="Click to bookmark this room">&nbsp;</a>
  86. </div>
  87. </div>
  88. </div>
  89. </div>
  90. <div id="converse-roster" class="controlbox-section">
  91. <div class="d-flex controlbox-padded">
  92. <span class="w-100 controlbox-heading controlbox-heading--contacts">Contacts</span>
  93. <a class="fa-spin controlbox-heading__btn fa fa-sync" title="Re-sync your contacts"></a>
  94. <a class="controlbox-heading__btn fa fa-user-plus" title="Click to add new chat contacts" data-toggle="modal" data-target="#addContactModal"></a>
  95. </div>
  96. <form class="controlbox-padded roster-filter-form input-button-group">
  97. <div class="form-inline flex-nowrap">
  98. <div class="btn-group">
  99. <input value="" class="roster-filter form-control" placeholder="Filter">
  100. <span class="clear-roster-filter fa fa-times {[ if (!o.filter_text) { ]} hidden {[ } ]}"></span>
  101. </div>
  102. <div class="filter-by d-flex flex-nowrap">
  103. <span class="fa fa-user" title="Filter by contacts"></span>
  104. <span class="fa fa-users" title="Filter by groups"></span>
  105. <span class="fa fa-circle" title="Filter by status"></span>
  106. </div>
  107. </div>
  108. </form>
  109. <div class="list-container roster-contacts">
  110. <div class="roster-group" id="xmpp-contact-requests">
  111. <a href="#" class="group-toggle controlbox-padded " title="Click to hide these contacts">
  112. <span class="fa fa-caret-down"></span> Contact Requests</a>
  113. <ul class="items-list roster-group-contacts">
  114. <li class="list-item controlbox-padded offline requesting-xmpp-contact d-flex">
  115. <span class="req-contact-name w-100">The Nurse</span>
  116. <a class="list-item-action list-item-action--visible accept-xmpp-request fa fa-check" title="Click here to accept this contact's request" href="#"></a>
  117. <a class="list-item-action list-item-action--visible decline-xmpp-request fa fa-times" title="Click here to decline this contact's request" href="#"></a>
  118. </li>
  119. <li class="list-item controlbox-padded offline requesting-xmpp-contact d-flex">
  120. <span class="req-contact-name w-100">Friar Laurence</span>
  121. <a class="list-item-action list-item-action--visible accept-xmpp-request fa fa-check" title="Click here to accept this contact's request" href="#"></a>
  122. <a class="list-item-action list-item-action--visible decline-xmpp-request fa fa-times" title="Click here to decline this contact's request" href="#"></a>
  123. </li>
  124. </ul>
  125. </div>
  126. <div class="roster-group" data-group="Colleagues">
  127. <a href="#" data-group="Colleagues" class="list-toggle group-toggle controlbox-padded " title="Click to hide these contacts">
  128. <span class="fa fa-caret-down"></span> Colleagues</a>
  129. <ul class="items-list roster-group-contacts">
  130. <li class="list-item controlbox-padded away current-xmpp-contact d-flex">
  131. <a class="open-chat w-100" title="Click to chat with this contact" href="chatbox.html">
  132. <span class="fa fa-circle chat-status--online" title="this contact is away"></span> Balthasar</a>
  133. <a class="list-item-action remove-xmpp-contact fa fa-trash" title="Click to remove this contact" href="#"></a>
  134. </li>
  135. <li class="list-item controlbox-padded dnd current-xmpp-contact d-flex">
  136. <a class="open-chat w-100" title="Click to chat with this contact" href="chatbox.html">
  137. <span class="fa fa-minus-circle chat-status--busy" title="This contact is busy"></span> Escalus, Prince of Verona</a>
  138. <a class="list-item-action remove-xmpp-contact fa fa-trash" title="Click to remove this contact" href="#"></a>
  139. </li>
  140. </li>
  141. </div>
  142. <div class="roster-group" data-group="Family">
  143. <a href="#" data-group="Family" class="list-toggle group-toggle controlbox-padded" title="Click to hide these contacts">
  144. <span class="fa fa-caret-down"></span> Family</a>
  145. <ul class="items-list roster-group-contacts">
  146. <li class="list-item controlbox-padded online current-xmpp-contact d-flex">
  147. <a class="open-chat w-100" title="Click to chat with this contact" href="chatbox.html">
  148. <span class="fa fa-circle chat-status--online" title="This contact is online"></span> Benvolio Montague</a>
  149. <a class="list-item-action remove-xmpp-contact fa fa-trash" title="Click to remove this contact" href="#"></a>
  150. </li>
  151. <li class="list-item controlbox-padded offline current-xmpp-contact d-flex">
  152. <a class="open-chat w-100" title="Click to chat with this contact" href="chatbox.html">
  153. <span class="fa fa-circle chat-status chat-status--away" title="This contact is offline"></span> Montague</a>
  154. <a class="list-item-action remove-xmpp-contact fa fa-trash" title="Click to remove this contact" href="#"></a>
  155. </li>
  156. <li class="list-item controlbox-padded offline current-xmpp-contact d-flex">
  157. <a class="open-chat w-100" title="Click to chat with this contact" href="chatbox.html">
  158. <span class="fa fa-circle chat-status chat-status--offline" title="This contact is offline"></span> Lady Montague</a>
  159. <a class="list-item-action remove-xmpp-contact fa fa-trash" title="Click to remove this contact" href="#"></a>
  160. </li>
  161. </ul>
  162. </div>
  163. <div class="roster-group" data-group="Friends">
  164. <a href="#" data-group="Friends" class="list-toggle group-toggle controlbox-padded" title="Click to hide these contacts">
  165. <span class="fa fa-caret-down"></span> Friends</a>
  166. <ul class="items-list roster-group-contacts">
  167. <li class="list-item controlbox-padded online current-xmpp-contact d-flex">
  168. <a class="open-chat w-100" title="Click to chat with this contact" href="chatbox.html">
  169. <span class="fa fa-circle chat-status--away" title="This contact is online"></span> Mercutio</a>
  170. <a class="list-item-action remove-xmpp-contact fa fa-trash" title="Click to remove this contact" href="#"></a>
  171. </li>
  172. </ul>
  173. </div>
  174. <div class="roster-group" data-group="Ungrouped">
  175. <a href="#" class="list-toggle group-toggle controlbox-padded" title="Click to hide these contacts">
  176. <span class="fa fa-caret-down"></span> Ungrouped</a>
  177. <ul class="items-list roster-group-contacts">
  178. <li class="list-item controlbox-padded online current-xmpp-contact d-flex">
  179. <a class="open-chat w-100" title="Click to chat with this contact" href="chatbox.html">
  180. <span class="fa fa-circle chat-status--online" title="This contact is online"></span> Gregory</a>
  181. <a class="list-item-action remove-xmpp-contact fa fa-trash" title="Click to remove this contact" href="#"></a>
  182. </li>
  183. <li class="list-item controlbox-padded online current-xmpp-contact d-flex">
  184. <a class="open-chat w-100" title="Click to chat with this contact" href="chatbox.html">
  185. <span class="fa fa-circle" title="This contact is online"></span> Peter</a>
  186. <a class="list-item-action remove-xmpp-contact fa fa-trash" title="Click to remove this contact" href="#"></a>
  187. </li>
  188. <li class="list-item controlbox-padded online current-xmpp-contact d-flex">
  189. <a class="open-chat w-100" title="Click to chat with this contact" href="chatbox.html">
  190. <span class="fa fa-circle" title="This contact is online"></span> Sampson</a>
  191. <a class="list-item-action remove-xmpp-contact fa fa-trash" title="Click to remove this contact" href="#"></a>
  192. </li>
  193. </ul>
  194. </div>
  195. <div class="roster-group" id="pending-xmpp-contacts">
  196. <a href="#" class="list-toggle group-toggle controlbox-padded" title="Click to hide these contacts">
  197. <span class="fa fa-caret-down"></span> Pending Contacts</a>
  198. <ul class="items-list roster-group-contacts">
  199. <li class="list-item controlbox-padded offline pending-xmpp-contact d-flex">
  200. <span class="pending-contact-name w-100">An Apothecary</span>
  201. <a class="list-item-action remove-xmpp-contact fa fa-trash" title="Click to remove this contact" href="#"></a>
  202. </li>
  203. <li class="list-item controlbox-padded offline pending-xmpp-contact d-flex">
  204. <span class="pending-contact-name w-100">Abram</span>
  205. <a class="list-item-action remove-xmpp-contact fa fa-trash" title="Click to remove this contact" href="#"></a>
  206. </li>
  207. </ul>
  208. </div>
  209. </div>
  210. </div>
  211. <!-- </div> -->