mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
Fixes #30403. Having tabIndex set to 0 led to keyboard focus being put on a scrollbar container, which led to users having to tab twice to skip a container. This commit also removes instances of tabIndex being set to -1 programatically for certain cases, since it is -1 by default now. This commit also removes `outline: none` for simplebar since that property is not needed anymore because the wrapper is not focusable anymore.
29 lines
1.5 KiB
Handlebars
29 lines
1.5 KiB
Handlebars
<div id="admin-default-channels-list" class="settings-section" data-name="default-channels-list">
|
|
<p>{{t "Configure the default channels new users are subscribed to when joining your organization." }}</p>
|
|
|
|
<div class="settings_panel_list_header">
|
|
<h3>{{t "Default channels"}}</h3>
|
|
<div class="add_default_streams_button_container">
|
|
{{#if is_admin}}
|
|
<button type="submit" id="show-add-default-streams-modal" class="button rounded sea-green">{{t "Add channel" }}</button>
|
|
{{/if}}
|
|
<input type="text" class="search filter_text_input" placeholder="{{t 'Filter default channels' }}" aria-label="{{t 'Filter channels' }}"/>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="progressive-table-wrapper" data-simplebar data-simplebar-tab-index="-1">
|
|
<table class="table table-striped wrapped-table">
|
|
<thead class="table-sticky-headers">
|
|
<th class="active" data-sort="alphabetic" data-sort-prop="name">{{t "Name" }}</th>
|
|
{{#if is_admin}}
|
|
<th class="actions">{{t "Actions" }}</th>
|
|
{{/if}}
|
|
</thead>
|
|
<tbody data-empty="{{t 'There are no default channels.' }}" data-search-results-empty="{{t 'No default channels match your current filter.' }}"
|
|
id="admin_default_streams_table" class="admin_default_stream_table"></tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<div id="admin_page_default_streams_loading_indicator"></div>
|
|
</div>
|