mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 08:33:43 +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
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,17 +1,19 @@
|
|||||||
<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>
|
||||||
|
<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">
|
<div class="progressive-table-wrapper">
|
||||||
<table class="table table-condensed table-striped wrapped-table">
|
<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>
|
|
||||||
<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,16 +2,18 @@
|
|||||||
<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>
|
||||||
|
|
||||||
|
<table class="table table-condensed table-striped wrapped-table">
|
||||||
|
<thead>
|
||||||
|
<th class="wrapped-cell">{{t "Name" }}</th>
|
||||||
|
<th>{{t "Email" }}</th>
|
||||||
|
<th class="last_active">{{t "Last active" }}</th>
|
||||||
|
{{#if is_admin}}
|
||||||
|
<th class="actions">{{t "Actions" }}</th>
|
||||||
|
{{/if}}
|
||||||
|
</thead>
|
||||||
|
</table>
|
||||||
<div class="progressive-table-wrapper">
|
<div class="progressive-table-wrapper">
|
||||||
<table class="table table-condensed table-striped wrapped-table">
|
<table class="table table-condensed table-striped wrapped-table">
|
||||||
<thead>
|
|
||||||
<th class="wrapped-cell">{{t "Name" }}</th>
|
|
||||||
<th>{{t "Email" }}</th>
|
|
||||||
<th class="last_active">{{t "Last active" }}</th>
|
|
||||||
{{#if is_admin}}
|
|
||||||
<th class="actions">{{t "Actions" }}</th>
|
|
||||||
{{/if}}
|
|
||||||
</thead>
|
|
||||||
<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