mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	With perfectScrollbar, we needed to call a function from JavaScript to enable a scrollbar on a new element, but simplebar has a much simpler default API one can do by using data-simplebar attributes in the HTML. So we can delete all the scrollbar creation/deletion code. Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
		
			
				
	
	
		
			26 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Handlebars
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Handlebars
		
	
	
	
	
	
<div id="admin-bot-list" class="settings-section" data-name="bot-list-admin">
 | 
						|
    <div class="tip bot-settings-tip"></div>
 | 
						|
    <h3 class="inline-block">{{t "Bots" }}</h3>
 | 
						|
    <input type="text" class="search" placeholder="{{t 'Filter bots' }}" aria-label="{{t 'Filter bots' }}"/>
 | 
						|
    <div class="alert-notification" id="bot-field-status"></div>
 | 
						|
    <div class="clear-float"></div>
 | 
						|
    <table class="table table-condensed table-striped wrapped-table">
 | 
						|
        <thead>
 | 
						|
            <th class="wrapped-cell">{{t "Name" }}</th>
 | 
						|
            <th>{{t "Email" }}</th>
 | 
						|
            <th>{{t "Owner" }}</th>
 | 
						|
            <th>{{t "Bot type" }}</th>
 | 
						|
            {{#if is_admin}}
 | 
						|
            <th class="actions">{{t "Actions" }}</th>
 | 
						|
            {{/if}}
 | 
						|
        </thead>
 | 
						|
    </table>
 | 
						|
    <div class="progressive-table-wrapper" data-simplebar>
 | 
						|
        <table class="table table-condensed table-striped wrapped-table">
 | 
						|
            <tbody id="admin_bots_table" class="admin_bot_table required-text thick"
 | 
						|
              data-empty="{{t 'No bots match your current filter.' }}"></tbody>
 | 
						|
        </table>
 | 
						|
    </div>
 | 
						|
    <div id="admin_page_bots_loading_indicator"></div>
 | 
						|
</div>
 |