zulip/static/templates/settings/attachments_settings.hbs
Nikhil Maske 0023f7f9a0 settings css: Make HTML table headers sticky.
Introduce a new class "table-sticky-headers" in the settings
and organisation settings HTML table tags and it is used
to make the table headers fix at the top. This commit also
add the background-color and hover properties to the
settings and organisation settings table to make them look
similar to the recent_topics_table.
2021-04-30 08:19:47 -07:00

21 lines
1.2 KiB
Handlebars

<div id="attachments-settings" class="settings-section" data-name="uploaded-files">
<div id="attachment-stats-holder"></div>
<input id="upload_file_search" class="search" type="text" placeholder="{{t 'Filter uploads' }}" aria-label="{{t 'Filter uploads' }}"/>
<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">
<thead class="table-sticky-headers">
<th data-sort="alphabetic" data-sort-prop="name" class="upload-file-name">{{t "File" }}</th>
<th class="active" data-sort="numeric" data-sort-prop="create_time">{{t "Date uploaded" }}</th>
<th data-sort="mentioned_in">{{t "Mentioned in" }}</th>
<th class="upload-size" data-sort="numeric" data-sort-prop="size">{{t "Size" }}</th>
<th class="upload-actions actions">{{t "Actions" }}</th>
</thead>
<tbody class="required-text" data-empty="{{t 'You have not uploaded any files.' }}"
id="uploaded_files_table"></tbody>
</table>
</div>
<div id="attachments_loading_indicator"></div>
</div>