templates: Remove table-condensed class for <table> elements.

The table-condensed class was used by bootstrap to add padding
to the table cells. But since we want padding in cells for all
tables, we added the padding CSS to the other existing CSS for
tables while removing the bootstrap CSS for tables and
"table-condensed" is not required anymore.
This commit is contained in:
Sahil Batra 2023-08-07 13:02:19 +05:30 committed by Tim Abbott
parent 154f4f16b5
commit 16bf9e7600
19 changed files with 27 additions and 27 deletions

View File

@ -2,7 +2,7 @@
aria-label="{{t 'Keyboard shortcuts' }}">
<div class="modal-body" data-simplebar data-simplebar-auto-hide="false">
<div>
<table class="hotkeys_table table table-striped table-bordered table-condensed">
<table class="hotkeys_table table table-striped table-bordered">
<thead>
<tr>
<th colspan="2">{{t "The basics" }}</th>
@ -59,7 +59,7 @@
</table>
</div>
<div>
<table class="hotkeys_table table table-striped table-bordered table-condensed">
<table class="hotkeys_table table table-striped table-bordered">
<thead>
<tr>
<th colspan="2">{{t 'Navigation' }}</th>
@ -112,7 +112,7 @@
</table>
</div>
<div>
<table class="hotkeys_table table table-striped table-bordered table-condensed">
<table class="hotkeys_table table table-striped table-bordered">
<thead>
<tr>
<th colspan="2">{{t 'Composing messages' }}</th>
@ -157,7 +157,7 @@
</table>
</div>
<div>
<table class="hotkeys_table table table-striped table-bordered table-condensed">
<table class="hotkeys_table table table-striped table-bordered">
<thead>
<tr>
<th colspan="2">{{t 'Narrowing' }}</th>
@ -202,7 +202,7 @@
</table>
</div>
<div>
<table class="hotkeys_table table table-striped table-bordered table-condensed">
<table class="hotkeys_table table table-striped table-bordered">
<thead>
<tr>
<th colspan="2">{{t 'Message actions' }}</th>
@ -261,7 +261,7 @@
</table>
</div>
<div>
<table class="hotkeys_table table table-striped table-bordered table-condensed">
<table class="hotkeys_table table table-striped table-bordered">
<thead>
<tr>
<th colspan="2">{{t 'Recent conversations' }}</th>
@ -278,7 +278,7 @@
</table>
</div>
<div>
<table class="hotkeys_table table table-striped table-bordered table-condensed">
<table class="hotkeys_table table table-striped table-bordered">
<thead>
<tr>
<th colspan="2">{{t 'Drafts' }}</th>
@ -299,7 +299,7 @@
</table>
</div>
<div>
<table class="hotkeys_table table table-striped table-bordered table-condensed">
<table class="hotkeys_table table table-striped table-bordered">
<thead>
<tr>
<th colspan="2">{{t 'Menus' }}</th>
@ -324,7 +324,7 @@
</table>
</div>
<div>
<table class="hotkeys_table table table-striped table-bordered table-condensed">
<table class="hotkeys_table table table-striped table-bordered">
<thead>
<tr>
<th colspan="2">{{t 'Streams settings' }}</th>

View File

@ -2,7 +2,7 @@
aria-label="{{t 'Message formatting' }}">
<div class="modal-body" data-simplebar data-simplebar-auto-hide="false">
<div id="markdown-instructions">
<table class="table table-striped table-condensed table-rounded table-bordered help-table">
<table class="table table-striped table-rounded table-bordered help-table">
<thead>
<tr>
<th>{{t "You type" }}</th>

View File

@ -1,7 +1,7 @@
<div class="overlay-modal hide" id="search-operators" tabindex="-1" role="dialog" aria-label="{{t 'Search filters' }}">
<div class="modal-body" data-simplebar data-simplebar-auto-hide="false">
<div id="operators-instructions">
<table class="table table-striped table-condensed table-rounded table-bordered help-table">
<table class="table table-striped table-rounded table-bordered help-table">
<thead>
<tr>
<th>{{t "Filter" }}</th>

View File

@ -18,7 +18,7 @@
<span class="alert_word_status_text"></span>
</div>
<div class="progressive-table-wrapper" data-simplebar>
<table class="table table-condensed table-striped wrapped-table">
<table class="table table-striped wrapped-table">
<thead class="table-sticky-headers">
<th data-sort="alphabetic" data-sort-prop="word">{{t "Word" }}</th>
<th class="actions">{{t "Actions" }}</th>

View File

@ -7,7 +7,7 @@
<div class="clear-float"></div>
<div class="alert" id="delete-upload-status"></div>
<div class="progressive-table-wrapper" data-simplebar>
<table class="table table-condensed table-striped wrapped-table">
<table class="table table-striped wrapped-table">
<thead class="table-sticky-headers">
<th data-sort="alphabetic" data-sort-prop="name" class="upload-file-name">{{t "File" }}</th>
<th class="active upload-date" data-sort="numeric" data-sort-prop="create_time">{{t "Date uploaded" }}</th>

View File

@ -12,7 +12,7 @@
</div>
<div class="progressive-table-wrapper" data-simplebar>
<table class="table table-condensed table-striped wrapped-table">
<table class="table table-striped wrapped-table">
<thead class="table-sticky-headers">
<th class="active" data-sort="alphabetic" data-sort-prop="full_name">{{t "Name" }}</th>
<th data-sort="email">{{t "Email" }}</th>

View File

@ -37,7 +37,7 @@
</div>
<div class="progressive-table-wrapper" data-simplebar>
<table class="table table-condensed table-striped wrapped-table admin_exports_table">
<table class="table table-striped wrapped-table admin_exports_table">
<thead class="table-sticky-headers">
<th class="active" data-sort="user">{{t "Requesting user" }}</th>
<th data-sort="numeric" data-sort-prop="export_time">{{t "Time" }}</th>

View File

@ -10,7 +10,7 @@
</div>
<div class="progressive-table-wrapper" data-simplebar>
<table class="table table-condensed table-striped wrapped-table">
<table class="table table-striped wrapped-table">
<thead class="table-sticky-headers">
<th class="active" data-sort="alphabetic" data-sort-prop="full_name">{{t "Name" }}</th>
<th {{#if allow_sorting_deactivated_users_list_by_email}}data-sort="email"{{/if}}>{{t "Email" }}</th>

View File

@ -12,7 +12,7 @@
</div>
<div class="progressive-table-wrapper" data-simplebar>
<table class="table table-condensed table-striped wrapped-table">
<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}}

View File

@ -15,7 +15,7 @@
aria-label="{{t 'Filter emoji' }}"/>
</div>
<div class="progressive-table-wrapper" data-simplebar>
<table class="table table-condensed table-striped wrapped-table admin_emoji_table">
<table class="table table-striped wrapped-table admin_emoji_table">
<thead class="table-sticky-headers">
<th class="active" data-sort="alphabetic" data-sort-prop="name">{{t "Name" }}</th>
<th class="image">{{t "Image" }}</th>

View File

@ -14,7 +14,7 @@
</div>
<div class="progressive-table-wrapper" data-simplebar>
<table class="table table-condensed table-striped">
<table class="table table-striped">
<thead class="table-sticky-headers">
<th class="active" data-sort="invitee">{{t "Invitee" }}</th>
{{#if is_admin }}

View File

@ -63,7 +63,7 @@
</div>
<div class="progressive-table-wrapper" data-simplebar>
<table class="table table-condensed table-striped wrapped-table admin_linkifiers_table">
<table class="table table-striped wrapped-table admin_linkifiers_table">
<thead class="table-sticky-headers">
<th>{{t "Pattern" }}</th>
<th>{{t "URL template" }}</th>

View File

@ -4,7 +4,7 @@
<input id="muted_users_search" class="search filter_text_input" type="text" placeholder="{{t 'Filter muted users' }}" aria-label="{{t 'Filter muted users' }}"/>
</div>
<div class="progressive-table-wrapper" data-simplebar>
<table class="table table-condensed table-striped wrapped-table">
<table class="table table-striped wrapped-table">
<thead class="table-sticky-headers">
<th data-sort="alphabetic" data-sort-prop="user_name">{{t "User" }}</th>
<th data-sort="numeric" data-sort-prop="date_muted">{{t "Date muted" }}</th>

View File

@ -5,7 +5,7 @@
{{> settings_save_discard_widget section_name="general-notify-settings" show_only_indicator=(not for_realm_settings) }}
</div>
<p>{{t "Configure how Zulip notifies you about new messages." }}</p>
<table class="notification-table table table-condensed table-bordered wrapped-table">
<table class="notification-table table table-bordered wrapped-table">
<thead>
<tr>
<th rowspan="2" width="30%"></th>

View File

@ -69,7 +69,7 @@
</div>
<div class="progressive-table-wrapper" data-simplebar>
<table class="table table-condensed table-striped wrapped-table admin_playgrounds_table">
<table class="table table-striped wrapped-table admin_playgrounds_table">
<thead class="table-sticky-headers">
<th class="active" data-sort="alphabetic" data-sort-prop="pygments_language">{{t "Language" }}</th>
<th data-sort="alphabetic" data-sort-prop="name">{{t "Name" }}</th>

View File

@ -7,7 +7,7 @@
{{/if}}
</div>
<div class="admin-table-wrapper">
<table class="table table-condensed table-striped admin_profile_fields_table">
<table class="table table-striped admin_profile_fields_table">
<thead>
<tr>
<th>{{t "Label" }}</th>

View File

@ -1,4 +1,4 @@
<table class="table table-condensed table-stripped new-style" id="realm_domains_table">
<table class="table table-stripped new-style" id="realm_domains_table">
<thead>
<th>{{t "Domain" }}</th>
<th>{{t "Allow subdomains"}}</th>

View File

@ -9,7 +9,7 @@
</div>
<div class="progressive-table-wrapper" data-simplebar>
<table class="table table-condensed table-striped wrapped-table">
<table class="table table-striped wrapped-table">
<thead class="table-sticky-headers">
<th class="active" data-sort="alphabetic" data-sort-prop="full_name">{{t "Name" }}</th>
<th data-sort="email">{{t "Email" }}</th>

View File

@ -26,7 +26,7 @@
<input id="user_topics_search" class="search filter_text_input" type="text" placeholder="{{t 'Filter topics' }}" aria-label="{{t 'Filter topics' }}"/>
</div>
<div class="progressive-table-wrapper" data-simplebar>
<table class="table table-condensed table-striped wrapped-table">
<table class="table table-striped wrapped-table">
<thead class="table-sticky-headers">
<th data-sort="alphabetic" data-sort-prop="stream">{{t "Stream" }}</th>
<th data-sort="alphabetic" data-sort-prop="topic">{{t "Topic" }}</th>