listing.tpl 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <div class ="row">
  2. {% if bbb_status == true %}
  3. {% if show_join_button == true %}
  4. <div class ="span12" style="text-align:center">
  5. {{ form }}
  6. <a href="{{ conference_url }}" target="_blank" class="btn btn-primary btn-large">
  7. {{ 'EnterConference'|get_lang }}
  8. </a>
  9. <span id="users_online" class="label label-warning">
  10. {{ 'XUsersOnLine'| get_lang | format(users_online) }}
  11. </span>
  12. </div>
  13. {% endif %}
  14. <div class ="span12">
  15. <div class="page-header">
  16. <h2>{{ 'RecordList'|get_lang }}</h2>
  17. </div>
  18. <table class="table">
  19. <tr>
  20. <!-- th>#</th -->
  21. <th>{{ 'CreatedAt'|get_lang }}</th>
  22. <th>{{ 'Status'|get_lang }}</th>
  23. <th>{{ 'Records'|get_lang }}</th>
  24. {% if allow_to_edit %}
  25. <th>{{ 'Actions'|get_lang }}</th>
  26. {% endif %}
  27. </tr>
  28. {% for meeting in meetings %}
  29. <tr>
  30. <!-- td>{{ meeting.id }}</td -->
  31. {% if meeting.visibility == 0 %}
  32. <td class="muted">{{ meeting.created_at }}</td>
  33. {% else %}
  34. <td>{{ meeting.created_at }}</td>
  35. {% endif %}
  36. <td>
  37. {% if meeting.status == 1 %}
  38. <span class="label label-success">{{ 'MeetingOpened'|get_lang }}</span>
  39. {% else %}
  40. <span class="label label-info">{{ 'MeetingClosed'|get_lang }}</span>
  41. {% endif %}
  42. </td>
  43. <td>
  44. {% if meeting.record == 1 %}
  45. {# Record list #}
  46. {{ meeting.show_links }}
  47. {% endif %}
  48. </td>
  49. {% if allow_to_edit %}
  50. <td>
  51. {% if meeting.status == 1 %}
  52. <a class="btn btn-default" href="{{ meeting.end_url }} "> {{ 'CloseMeeting'|get_lang }}</a>
  53. {% else %}
  54. {{ meeting.action_links }}
  55. {% endif %}
  56. </td>
  57. {% endif %}
  58. </tr>
  59. {% endfor %}
  60. </table>
  61. </div>
  62. {% else %}
  63. <div class ="span12" style="text-align:center">
  64. {{ 'ServerIsNotRunning' | return_message('warning') }}
  65. </div>
  66. {% endif %}
  67. </div>