style(student): записи журнала в виде 3-плиточной сетки с перестроением

This commit is contained in:
dev
2026-10-12 01:52:15 +03:00
parent 34f6942d6c
commit cd4e7dfe44
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -147,7 +147,7 @@
function entriesHtml() {
const items = data.entries.items;
if (!items.length) return emptyHtml('Записей в журнале пока нет');
return `<div class="sp-list">${items.map(e => {
return `<div class="sp-list cards-3">${items.map(e => {
const photos = (e.photos || []).filter(p => p.photo_path !== e.photo_path).map(p => photoTile(p.photo_path));
if (e.photo_path) photos.unshift(photoTile(e.photo_path, null, e.photo_original_path));
return `<div class="lesson-item">