listing.tpl 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. <style>
  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>{{ 'CreatedAt'| get_plugin_lang('BBBPlugin') }}</th>
  118. <th>{{ 'Status'| get_lang }}</th>
  119. <th>{{ 'Records'| get_plugin_lang('BBBPlugin') }}</th>
  120. {% if allow_to_edit %}
  121. <th>{{ 'Actions'| get_lang }}</th>
  122. {% endif %}
  123. </tr>
  124. {% for meeting in meetings %}
  125. <tr>
  126. <!-- td>{{ meeting.id }}</td -->
  127. {% if meeting.visibility == 0 %}
  128. <td class="muted">{{ meeting.created_at }}</td>
  129. {% else %}
  130. <td>{{ meeting.created_at }}</td>
  131. {% endif %}
  132. <td>
  133. {% if meeting.status == 1 %}
  134. <span class="label label-success">{{ 'MeetingOpened'|get_plugin_lang('BBBPlugin') }}</span>
  135. {% else %}
  136. <span class="label label-info">{{ 'MeetingClosed'|get_plugin_lang('BBBPlugin') }}</span>
  137. {% endif %}
  138. </td>
  139. <td>
  140. {% if meeting.record == 1 %}
  141. {# Record list #}
  142. {{ meeting.show_links }}
  143. {% else %}
  144. {{ 'NoRecording'|get_plugin_lang('BBBPlugin') }}
  145. {% endif %}
  146. </td>
  147. {% if allow_to_edit %}
  148. <td>
  149. {% if meeting.status == 1 %}
  150. <a class="btn btn-default" href="{{ meeting.end_url }} ">
  151. {{ 'CloseMeeting'|get_plugin_lang('BBBPlugin') }}
  152. </a>
  153. {% endif %}
  154. {{ meeting.action_links }}
  155. </td>
  156. {% endif %}
  157. </tr>
  158. {% endfor %}
  159. </table>
  160. </div>
  161. {% else %}
  162. <div class ="col-md-12" style="text-align:center">
  163. {{ 'ServerIsNotRunning' | get_plugin_lang('BBBPlugin') | return_message('warning') }}
  164. </div>
  165. {% endif %}
  166. </div>