big_blue_button_settings.mustache 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <%
  2. # Copyright (C) 2011 - present Instructure, Inc.
  3. #
  4. # This file is part of Canvas.
  5. #
  6. # Canvas is free software: you can redistribute it and/or modify it under
  7. # the terms of the GNU Affero General Public License as published by the Free
  8. # Software Foundation, version 3 of the License.
  9. #
  10. # Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
  11. # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  12. # A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
  13. # details.
  14. #
  15. # You should have received a copy of the GNU Affero General Public License along
  16. # with this program. If not, see <http://www.gnu.org/licenses/>.
  17. %>
  18. <%= fields_for :settings, OpenObject.new(settings) do |f| %>
  19. <table style="width: 500px;" class="formtable">
  20. <tr>
  21. <td colspan="2">
  22. <%= mt :description, "You will need access to a [BigBlueButton](%{url}) instance.", :url => "http://bigbluebutton.org" %>
  23. </td>
  24. </tr>
  25. <tr>
  26. <td><%= f.blabel :domain, :en => "Domain" %></td>
  27. <td>
  28. <%= f.text_field :domain %><br>
  29. <%= mt :domain_description, "**hostname** or **ip address** of your BigBlueButton installation (e.g. bigbluebutton.mycompany.com)" %>
  30. </td>
  31. </tr>
  32. <tr>
  33. <td><%= f.blabel :secret, :en => "Secret" %></td>
  34. <td>
  35. <%= f.password_field :secret, :autocomplete => false %><br>
  36. <%= mt :secret_description, "This is the %{parameter_name} parameter that can be found in the %{filename} config file.", :parameter_name => markdown_safe('**beans.dynamicConferenceService.securitySalt**'), :filename => markdown_safe('**bigbluebutton.properties**') %>
  37. </td>
  38. </tr>
  39. <tr>
  40. <td></td>
  41. <td>
  42. <%= f.check_box :recording_enabled %> <%= f.label :recording_enabled, :en => "Allow conferences to be recorded." %>
  43. </td>
  44. </tr>
  45. </table>
  46. <% end %>