mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 20:13:46 +00:00 
			
		
		
		
	frontend: Make table headers fixed.
Tweaked by tabbott to update the users list as well. Fixes #4746.
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							75617d07de
						
					
				
				
					commit
					6e3308a5ac
				
			| @@ -194,6 +194,11 @@ td .button { | |||||||
|     background-color: inherit; |     background-color: inherit; | ||||||
|     color: inherit; |     color: inherit; | ||||||
|     border-top: 1px solid hsl(0, 0%, 86%) !important; |     border-top: 1px solid hsl(0, 0%, 86%) !important; | ||||||
|  |     border-bottom: 1px solid hsl(0, 0%, 86%) !important; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | #admin-user-list .table tr:first-of-type td { | ||||||
|  |     border-top: none; | ||||||
| } | } | ||||||
|  |  | ||||||
| .settings-section input[type=text].search { | .settings-section input[type=text].search { | ||||||
|   | |||||||
| @@ -1,7 +1,6 @@ | |||||||
| <div id="admin-user-list" class="settings-section" data-name="bot-list-admin"> | <div id="admin-user-list" class="settings-section" data-name="bot-list-admin"> | ||||||
|     <input type="text" class="search" placeholder="{{t 'Filter bots' }}" /> |     <input type="text" class="search" placeholder="{{t 'Filter bots' }}" /> | ||||||
|     <div class="clear-float"></div> |     <div class="clear-float"></div> | ||||||
|     <div class="progressive-table-wrapper"> |  | ||||||
|     <table class="table table-condensed table-striped wrapped-table"> |     <table class="table table-condensed table-striped wrapped-table"> | ||||||
|         <thead> |         <thead> | ||||||
|             <th class="wrapped-cell">{{t "Name" }}</th> |             <th class="wrapped-cell">{{t "Name" }}</th> | ||||||
| @@ -12,6 +11,9 @@ | |||||||
|             <th class="actions">{{t "Actions" }}</th> |             <th class="actions">{{t "Actions" }}</th> | ||||||
|             {{/if}} |             {{/if}} | ||||||
|         </thead> |         </thead> | ||||||
|  |     </table> | ||||||
|  |     <div class="progressive-table-wrapper"> | ||||||
|  |         <table class="table table-condensed table-striped wrapped-table"> | ||||||
|             <tbody id="admin_bots_table" class="admin_bot_table required-text thick" |             <tbody id="admin_bots_table" class="admin_bot_table required-text thick" | ||||||
|                    data-empty="{{ t 'No bots match your current filter.' }}"></tbody> |                    data-empty="{{ t 'No bots match your current filter.' }}"></tbody> | ||||||
|         </table> |         </table> | ||||||
|   | |||||||
| @@ -2,7 +2,6 @@ | |||||||
|     <input type="text" class="search" placeholder="{{t 'Filter users' }}" /> |     <input type="text" class="search" placeholder="{{t 'Filter users' }}" /> | ||||||
|     <div class="clear-float"></div> |     <div class="clear-float"></div> | ||||||
|  |  | ||||||
|     <div class="progressive-table-wrapper"> |  | ||||||
|     <table class="table table-condensed table-striped wrapped-table"> |     <table class="table table-condensed table-striped wrapped-table"> | ||||||
|         <thead> |         <thead> | ||||||
|             <th class="wrapped-cell">{{t "Name" }}</th> |             <th class="wrapped-cell">{{t "Name" }}</th> | ||||||
| @@ -12,6 +11,9 @@ | |||||||
|             <th class="actions">{{t "Actions" }}</th> |             <th class="actions">{{t "Actions" }}</th> | ||||||
|             {{/if}} |             {{/if}} | ||||||
|         </thead> |         </thead> | ||||||
|  |     </table> | ||||||
|  |     <div class="progressive-table-wrapper"> | ||||||
|  |         <table class="table table-condensed table-striped wrapped-table"> | ||||||
|             <tbody id="admin_users_table" class="admin_user_table required-text thick" |             <tbody id="admin_users_table" class="admin_user_table required-text thick" | ||||||
|                    data-empty="{{t 'No users match your current filter.' }}"></tbody> |                    data-empty="{{t 'No users match your current filter.' }}"></tbody> | ||||||
|         </table> |         </table> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user