feat(shorts): тогл «Использовано» вместо чекбокса в таблице
This commit is contained in:
+4
-1
@@ -92,7 +92,10 @@ async function loadShorts() {
|
||||
<td style="max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap" title="${esc(r.message || '')}">${esc(r.message || '')}</td>
|
||||
<td style="white-space:nowrap">${esc(author)}</td>
|
||||
<td style="white-space:nowrap">
|
||||
<input type="checkbox" class="used-check" data-id="${r.id}" ${r.used ? 'checked' : ''} title="Использовано">
|
||||
<label class="toggle used-toggle" title="Использовано">
|
||||
<input type="checkbox" class="used-check" data-id="${r.id}" ${r.used ? 'checked' : ''}>
|
||||
<span class="toggle-track"><span class="toggle-thumb"></span></span>
|
||||
</label>
|
||||
<div style="font-size:.72rem;color:var(--muted)">${r.used ? esc(usedDateStr) : '—'}</div>
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user