style(student): записи журнала в виде 3-плиточной сетки с перестроением
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user