Widget: DCTList: Difference between revisions
From LINKS Community Center
Eschmidt (talk | contribs) No edit summary |
Eschmidt (talk | contribs) No edit summary |
||
Line 46: | Line 46: | ||
align-items: end; | align-items: end; | ||
} | } | ||
.filter-group-header { grid-column-start: 1; grid-column-end: -1; } | |||
.filter-group-start { grid-column-start: 1; } | .filter-group-start { grid-column-start: 1; } | ||
.filter-content img { width: 2em; height: 2em; margin: 0 .5em; } | .filter-content img { width: 2em; height: 2em; margin: 0 .5em; } | ||
Line 260: | Line 261: | ||
'</div>'; | '</div>'; | ||
} | } | ||
return acc + | return acc + groupHeaderHtml + | ||
'<div ' + (idx === 0 ? ' class="filter-group-start">' : '>') | '<div ' + (idx === 0 ? ' class="filter-group-start">' : '>') + | ||
'<input type="checkbox" id="filter-' + identifier + '" value="' + curr.name + '" checked>' + | '<input type="checkbox" id="filter-' + identifier + '" value="' + curr.name + '" checked>' + | ||
'<label for="filter-' + identifier + '"><img src="' + curr.image + '"> ' + curr.name + '</label></div>' | '<label for="filter-' + identifier + '"><img src="' + curr.image + '"> ' + curr.name + '</label></div>' |
Revision as of 11:15, 15 June 2022
Development verstion of the DCT List.
Not ready for production!