Asset: style and cleanup listing

Font pillar aliases for asset icons
This commit is contained in:
2018-09-11 19:37:22 +02:00
parent 3ae16d7750
commit f87c7a25df
9 changed files with 121 additions and 139 deletions

View File

@@ -68,25 +68,6 @@ mixin card()
p No card content defined.
mixin list-asset(name, url, image, type, date)
a(href=url).card.asset.card-stretch.card-image-fade&attributes(attributes)
if image
.embed-responsive.embed-responsive-16by9
.card-img-top.embed-responsive-item(style="background-image: url(" + image + ")")
else
.card-img-top
.card-icon
i.pi-blender
if block
block
.card-body.py-2
if name
.card-title.mb-1.font-weight-bold
=name
if block
block
ul.card-text.list-unstyled.d-flex.text-black-50
if type
li.pr-2=type
if date
li=date