listing.tpl 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. <div class ="row">
  2. {% if bbb_status == true %}
  3. <div class ="span12" style="text-align:center">
  4. {% if show_join_button == true %}
  5. {{ form }}
  6. <p>
  7. <a href="{{ conference_url }}" target="_blank" class="btn btn-primary btn-large">
  8. {{ 'EnterConference'|get_lang }}
  9. </a>
  10. <span id="users_online" class="label label-warning">
  11. {{ 'XUsersOnLine'| get_lang | format(users_online) }}
  12. </span>
  13. </p>
  14. {% if max_users_limit > 0 %}
  15. {% if conference_manager == true %}
  16. <p>{{ 'MaxXUsersWarning' | get_lang | format(max_users_limit) }}</p>
  17. {% elseif users_online >= max_users_limit/2 %}
  18. <p>{{ 'MaxXUsersWarning' | get_lang | format(max_users_limit) }}</p>
  19. {% endif %}
  20. {% endif %}
  21. <div class="well">
  22. <strong>{{ 'UrlMeetingToShare'|get_lang }}</strong>
  23. <input type="text" class="form-control text-center" readonly value="{{ conference_url }}">
  24. </div>
  25. {% elseif max_users_limit > 0 %}
  26. {% if conference_manager == true %}
  27. <p>{{ 'MaxXUsersReachedManager' | get_lang | format(max_users_limit) }}</p>
  28. {% elseif users_online > 0 %}
  29. <p>{{ 'MaxXUsersReached' | get_lang | format(max_users_limit) }}</p>
  30. {% endif %}
  31. {% endif %}
  32. </div>
  33. <div class ="span12">
  34. <div class="page-header">
  35. <h2>{{ 'RecordList'|get_lang }}</h2>
  36. </div>
  37. <table class="table">
  38. <tr>
  39. <!-- th>#</th -->
  40. <th>{{ 'CreatedAt'|get_lang }}</th>
  41. <th>{{ 'Status'|get_lang }}</th>
  42. <th>{{ 'Records'|get_lang }}</th>
  43. {% if allow_to_edit %}
  44. <th>{{ 'Actions'|get_lang }}</th>
  45. {% endif %}
  46. </tr>
  47. {% for meeting in meetings %}
  48. <tr>
  49. <!-- td>{{ meeting.id }}</td -->
  50. {% if meeting.visibility == 0 %}
  51. <td class="muted">{{ meeting.created_at }}</td>
  52. {% else %}
  53. <td>{{ meeting.created_at }}</td>
  54. {% endif %}
  55. <td>
  56. {% if meeting.status == 1 %}
  57. <span class="label label-success">{{ 'MeetingOpened'|get_lang }}</span>
  58. {% else %}
  59. <span class="label label-info">{{ 'MeetingClosed'|get_lang }}</span>
  60. {% endif %}
  61. </td>
  62. <td>
  63. {% if meeting.record == 1 %}
  64. {# Record list #}
  65. {{ meeting.show_links }}
  66. {% else %}
  67. {{ 'NoRecording'|get_lang }}
  68. {% endif %}
  69. </td>
  70. {% if allow_to_edit %}
  71. <td>
  72. {% if meeting.status == 1 %}
  73. <a class="btn btn-default" href="{{ meeting.end_url }} "> {{ 'CloseMeeting'|get_lang }}</a>
  74. {% else %}
  75. {{ meeting.action_links }}
  76. {% endif %}
  77. </td>
  78. {% endif %}
  79. </tr>
  80. {% endfor %}
  81. </table>
  82. </div>
  83. {% else %}
  84. <div class ="span12" style="text-align:center">
  85. {{ 'ServerIsNotRunning' | return_message('warning') }}
  86. </div>
  87. {% endif %}
  88. </div>