Merge branch 'hotfix/21.56.9' into master
[gitter.git] / public / js / views / modals / tmpl / room-settings-view.hbs
blobe776198c4c2db2c471600acf1694c7ec930135ad
1 <div class="modal-content">
2   <div id="error-message"  class="modal--default__content__error hidden">
3     <p>Oops, something went wrong. Try refreshing the page and re-opening the room settings</p>
4   </div>
5   <form class="room-settings">
7     <label class="welcome-message-label"
8            for="room-welcome-message">
9       Welcome message
10     </label>
12     <div id="welcome-message-container"  class="welcome-message-container">
13       <textarea class="welcome-message"
14                 placeholder="Checking for an existing welcome message ..."
15                 id="room-welcome-message"
16                 maxlength="4096"></textarea>
17       <div class="preview-container loading" id="welcome-message-preview-container">
18         Loading ...
19       </div>
20     </div>
22     <div class="welcome-message-controls">
23       <button id="preview-welcome-message"
24               class="secondary-button-caribbean preview-welcome-message">
25         Preview
26       </button>
27       <button id="close-welcome-message-preview"
28               class="secondary-button-caribbean close-welcome-message-preview">
29         Close
30       </button>
32     </div>
34     <p class="settings-checkbox-container">
35       <input type="checkbox"
36              class="settings-checkbox"
37              name="github-only"
38              id="github-only"
39              value="checked">
40       <label for="github-only">Only GitHub users are allowed to join this room.</label>
41     </p>
42   </form>
43 </div>