/mine rows render 7 cells (ID + delete button) but the colgroup and thead only declared 6 columns, so under table-layout:fixed the delete button cell overlapped the ID column at narrower widths. Add a col-del column + empty header th to match the row cells.
33 lines
1.4 KiB
HTML
33 lines
1.4 KiB
HTML
{{template "head" .}}
|
|
{{template "topbar" .}}
|
|
<div class="page">
|
|
<div class="head-row">
|
|
<h1>Saved pastes</h1>
|
|
<span class="count" id="count"></span>
|
|
</div>
|
|
<div class="search"><input id="filter" placeholder="Search…"><span class="search-spinner" id="search-spinner"></span></div>
|
|
<div class="float">
|
|
<table>
|
|
<colgroup><col class="col-a"><col class="col-b"><col class="col-c"><col class="col-d2"><col class="col-e"><col class="col-f"><col class="col-del"></colgroup>
|
|
<thead><tr>
|
|
<th data-sort="title" class="sortable"><span class="sort-ind"></span>Paste</th>
|
|
<th data-sort="language" class="sortable"><span class="sort-ind"></span>Language</th>
|
|
<th data-sort="size" class="sortable"><span class="sort-ind"></span>Size</th>
|
|
<th data-sort="created_at" class="sortable"><span class="sort-ind"></span>Created</th>
|
|
<th data-sort="custom_slug" class="sortable"><span class="sort-ind"></span>URL</th>
|
|
<th data-sort="id" class="sortable"><span class="sort-ind"></span>ID</th>
|
|
<th aria-label="Delete"></th>
|
|
</tr></thead>
|
|
<tbody id="rows"></tbody>
|
|
</table>
|
|
<div class="empty hidden" id="empty">No pastes from this browser yet.</div>
|
|
</div>
|
|
<div class="pager float">
|
|
<span id="showing"></span>
|
|
<div class="pg" id="pg"></div>
|
|
</div>
|
|
</div>
|
|
<script src="/static/table.js"></script>
|
|
<script src="/static/mine.js" defer></script>
|
|
{{template "foot" .}}
|