diff --git a/app/main.py b/app/main.py index 4aa7686..6d94b2d 100644 --- a/app/main.py +++ b/app/main.py @@ -2671,6 +2671,7 @@ _ADMIN_HTML = """ th{ color:var(--sec); font-weight:500; font-size:12px; } tr:last-child td{ border-bottom:none; } .num{ text-align:right; font-variant-numeric:tabular-nums; } + .fname{ max-width:300px; overflow:hidden; text-overflow:ellipsis; } .pill{ display:inline-block; padding:2px 8px; border-radius:20px; font-size:12px; } .pill.ok{ background:rgba(52,199,89,.15); color:#1f9d3f; } .pill.pend{ background:rgba(142,142,147,.15); color:#6b6b70; } @@ -2813,7 +2814,7 @@ _ADMIN_HTML = """ var web = (f.user_id === wid); var srcPill = web ? 'сайт' : 'бот'; var dd = (f.date||'') + (f.time ? ' '+String(f.time).slice(0,5) : ''); - return ''+esc(dd)+''+esc(f.name)+''+(f.pages||'—')+ + return ''+esc(dd)+''+esc(f.name)+''+(f.pages||'—')+ ''+size(f.source_size_mb)+''+size(f.result_size_mb)+ ''+esc(f.quality||'—')+''+(f.ocr?'✓':'')+''+srcPill+''; }).join('') : 'Пока нет документов';