Merge branch 'hotfix/21.56.9' into master
[gitter.git] / public / js / views / modals / tmpl / permissions-view.hbs
blob68041fe30bdace17033ce6f2258a0435e6ae7b15
1 <div>
2   <section>
3     <h2>
4       Admins
5     </h2>
7     <p class="permissions-add-admin-description">
8       Admins can delete the room, edit permissions, ban people, and edit room info like the welcome message and topic.
9     </p>
10   </section>
13   <section>
14     <div class="permissions-admin-list-permission-options-wrapper js-permissions-options-wrapper">
15       <img class="permissions-admin-list-permission-options-avatar" {{{ avatarSrcSet groupAvatarUrl 44 }}}>
17       <div class="permissions-people-list-item-name">
18         <select class="permissions-admin-list-permission-options-select js-permissions-options-select">
19           {{#each permissionOptions}}
20             <option value="{{ this.value }}" {{#if this.selected}}selected{{/if}}>{{ this.label }}</option>
21           {{/each}}
22         </select>
23       </div>
25       <div class="permissions-admin-list-permission-options-status-wrapper">
26         <i class="permissions-admin-list-permission-options-spinner icon-spin hidden js-permissions-options-spinner"></i>
27         <i class="permissions-admin-list-permission-options-error-icon icon-attention-circled hidden js-permissions-options-error-icon"></i>
28         <i class="permissions-admin-list-permission-options-github-icon icon-github-circled hidden js-permissions-options-github-icon"></i>
29         <i class="permissions-admin-list-permission-options-github-icon icon-gitlab hidden js-permissions-options-gitlab-icon"></i>
30         <svg
31           class="permissions-admin-list-permission-options-gitter-icon hidden js-permissions-options-gitter-icon"
32           version="1.1"
33           xmlns="http://www.w3.org/2000/svg"
34           xmlns:xlink="http://www.w3.org/1999/xlink"
35           viewBox="0 0 14 20">
36           <rect x="12" y="4"width="2" height="8"/>
37           <rect x="8" y="4" width="2" height="16"/>
38           <rect x="4" y="4"width="2" height="16"/>
39           <rect width="2" height="12"/>
40         </svg>
41       </div>
42     </div>
44     <p class="permissions-extra-admins-note js-permissions-extra-admins-note">
45       Additionally, grant admin access to these specific users:
46     </p>
48     <section class="permissions-admin-list-wrapper scroller js-permissions-admin-list">
49       <div class="permissions-admin-list-root js-permissions-admin-list-root"></div>
50     </section>
52     <input
53       class="permissions-people-input js-permissions-people-input"
54       placeholder="Search for people to add as admins...">
55   </section>
57   <section class="permissions-error-section">
58     <div class="permission-error hidden js-permissions-sd-warning"></div>
59     <div class="permission-error hidden js-permissions-model-error"></div>
60     <div class="permission-error hidden js-permissions-submission-error"></div>
61   </section>
62 </div>