Reverts PR #297's column reorder (owner override): URL returns to position 6 in both list tables (Paste, Type, Size, Views, Created, URL, ID; /mine without Views), data-sort attrs and td cells move back together. Keeps #297's non-position improvements: /mine URL uses the shared .col-url class instead of reusing col-e, and mine's ID column returns to .col-f (100px). Widens .col-url 150px -> 340px so a ~20-char slug displays fully at 1400x900; genuinely long custom slugs keep text ellipsis. No mobile media query needed: <=640px already scrolls the table horizontally (min-width 720px), verified at 375x812. Verified via CDP probe at 1400x900 and 375x812 on /history and /mine: column order, colgroup/header alignment, sort arrow right of label, no other column clipped, no CSP changes (no inline styles added).
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-url"><col class="col-f"><col class="col-del"></colgroup>
|
|
<thead><tr>
|
|
<th data-sort="title" class="sortable">Paste<span class="sort-ind"></span></th>
|
|
<th data-sort="type" class="sortable">Type<span class="sort-ind"></span></th>
|
|
<th data-sort="size" class="sortable">Size<span class="sort-ind"></span></th>
|
|
<th data-sort="created_at" class="sortable">Created<span class="sort-ind"></span></th>
|
|
<th data-sort="custom_slug" class="sortable">URL<span class="sort-ind"></span></th>
|
|
<th data-sort="id" class="sortable">ID<span class="sort-ind"></span></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" .}}
|