listing.tpl 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  1. <style type="text/css">
  2. .conference .url{
  3. padding: 5px;
  4. margin-bottom: 5px;
  5. }
  6. .conference .share{
  7. padding: 10px;
  8. margin-top: 5px;
  9. margin-bottom: 5px;
  10. font-weight: bold;
  11. }
  12. </style>
  13. <div class ="row">
  14. {% if bbb_status == true %}
  15. <div class ="col-md-12" style="text-align:center">
  16. {{ form }}
  17. {% if show_join_button == true %}
  18. {% if show_client_options %}
  19. <div class="row">
  20. <div class="col-md-6">
  21. <div class="panel panel-default conference">
  22. <div class="panel-body">
  23. <div class="url">
  24. <a class="btn btn-default" href="{{ enter_conference_links.0.url }}">
  25. <img src="{{ enter_conference_links.0.icon }}" /><br>
  26. {{ enter_conference_links.0.text }}
  27. </a>
  28. </div>
  29. <div class="share">
  30. {{ 'UrlMeetingToShare'| get_plugin_lang('BBBPlugin') }}
  31. </div>
  32. <div class="form-inline">
  33. <div class="form-group">
  34. <input id="share_button_flash" type="text"
  35. style="width:300px"
  36. class="form-control" readonly value="{{ conference_url }}&interface=0">
  37. <button onclick="copyTextToClipBoard('share_button_flash');" class="btn btn-default">
  38. <span class="fa fa-copy"></span> {{ 'CopyTextToClipboard' | get_lang }}
  39. </button>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. </div>
  45. <div class="col-md-6">
  46. <div class="panel panel-default conference">
  47. <div class="panel-body">
  48. <div class="url">
  49. <a class="btn btn-default" href="{{ enter_conference_links.1.url }}">
  50. <img src="{{ enter_conference_links.1.icon }}" /><br>
  51. {{ enter_conference_links.1.text }}
  52. </a>
  53. </div>
  54. <div class="share">
  55. {{ 'UrlMeetingToShare'| get_plugin_lang('BBBPlugin') }}
  56. </div>
  57. <div class="form-inline">
  58. <div class="form-group">
  59. <input id="share_button_html" type="text"
  60. style="width:300px"
  61. class="form-control" readonly value="{{ conference_url }}&interface=1">
  62. <button onclick="copyTextToClipBoard('share_button_html');" class="btn btn-default">
  63. <span class="fa fa-copy"></span> {{ 'CopyTextToClipboard' | get_lang }}
  64. </button>
  65. </div>
  66. </div>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. {% else %}
  72. {{ enter_conference_links.0 }}
  73. <br />
  74. <strong>{{ 'UrlMeetingToShare'| get_plugin_lang('BBBPlugin') }}</strong>
  75. <div class="well">
  76. <div class="form-inline">
  77. <div class="form-group">
  78. <input id="share_button"
  79. type="text"
  80. style="width:600px"
  81. class="form-control" readonly value="{{ conference_url }}">
  82. <button onclick="copyTextToClipBoard('share_button');" class="btn btn-default">
  83. <span class="fa fa-copy"></span> {{ 'CopyTextToClipboard' | get_lang }}
  84. </button>
  85. </div>
  86. </div>
  87. </div>
  88. {% endif %}
  89. <p>
  90. <span id="users_online" class="label label-warning">
  91. {{ 'XUsersOnLine'| get_plugin_lang('BBBPlugin') | format(users_online) }}
  92. </span>
  93. </p>
  94. {{ warning_inteface_msg }}
  95. {% if max_users_limit > 0 %}
  96. {% if conference_manager == true %}
  97. <p>{{ 'MaxXUsersWarning' | get_plugin_lang('BBBPlugin') | format(max_users_limit) }}</p>
  98. {% elseif users_online >= max_users_limit/2 %}
  99. <p>{{ 'MaxXUsersWarning' | get_plugin_lang('BBBPlugin') | format(max_users_limit) }}</p>
  100. {% endif %}
  101. {% endif %}
  102. </div>
  103. {% elseif max_users_limit > 0 %}
  104. {% if conference_manager == true %}
  105. <p>{{ 'MaxXUsersReachedManager' | get_plugin_lang('BBBPlugin') | format(max_users_limit) }}</p>
  106. {% elseif users_online > 0 %}
  107. <p>{{ 'MaxXUsersReached' | get_plugin_lang('BBBPlugin') | format(max_users_limit) }}</p>
  108. {% endif %}
  109. {% endif %}
  110. </div>
  111. <div class ="col-md-12">
  112. <div class="page-header">
  113. <h2>{{ 'RecordList'| get_plugin_lang('BBBPlugin') }}</h2>
  114. </div>
  115. <table class="table">
  116. <tr>
  117. <!-- th>#</th -->
  118. <th>{{ 'CreatedAt'| get_plugin_lang('BBBPlugin') }}</th>
  119. <th>{{ 'Status'| get_lang }}</th>
  120. <th>{{ 'Records'| get_plugin_lang('BBBPlugin') }}</th>
  121. {% if allow_to_edit %}
  122. <th>{{ 'Actions'| get_lang }}</th>
  123. {% endif %}
  124. </tr>
  125. {% for meeting in meetings %}
  126. <tr>
  127. <!-- td>{{ meeting.id }}</td -->
  128. {% if meeting.visibility == 0 %}
  129. <td class="muted">{{ meeting.created_at }}</td>
  130. {% else %}
  131. <td>{{ meeting.created_at }}</td>
  132. {% endif %}
  133. <td>
  134. {% if meeting.status == 1 %}
  135. <span class="label label-success">{{ 'MeetingOpened'|get_plugin_lang('BBBPlugin') }}</span>
  136. {% else %}
  137. <span class="label label-info">{{ 'MeetingClosed'|get_plugin_lang('BBBPlugin') }}</span>
  138. {% endif %}
  139. </td>
  140. <td>
  141. {% if meeting.record == 1 %}
  142. {# Record list #}
  143. {{ meeting.show_links }}
  144. {% else %}
  145. {{ 'NoRecording'|get_plugin_lang('BBBPlugin') }}
  146. {% endif %}
  147. </td>
  148. {% if allow_to_edit %}
  149. <td>
  150. {% if meeting.status == 1 %}
  151. <a class="btn btn-default" href="{{ meeting.end_url }} ">
  152. {{ 'CloseMeeting'|get_plugin_lang('BBBPlugin') }}
  153. </a>
  154. {% else %}
  155. {{ meeting.action_links }}
  156. {% endif %}
  157. </td>
  158. {% endif %}
  159. </tr>
  160. {% endfor %}
  161. </table>
  162. </div>
  163. {% else %}
  164. <div class ="col-md-12" style="text-align:center">
  165. {{ 'ServerIsNotRunning' | get_plugin_lang('BBBPlugin') | return_message('warning') }}
  166. </div>
  167. {% endif %}
  168. </div>