using fogures for images

This commit is contained in:
nek0 2014-09-14 07:17:51 +02:00
parent 5903c07047
commit 76623f1214
2 changed files with 19 additions and 5 deletions

13
templates/profile.cassius Normal file
View file

@ -0,0 +1,13 @@
.thumbnail
border: 1px solid #ddd
border-radius: 6px
box-shadow: 0 0 3px #c4c4c4
.thumbnail img
width: 250px
ul
list-style-type: none
li
display: inline-block

View file

@ -24,9 +24,10 @@ $if null recentMedia
This user has not uploaded any images This user has not uploaded any images
$else $else
Newest images: Newest images:
<ul class="media"> <ul>
<li>
$forall (Entity mediumId medium) <- take 10 recentMedia $forall (Entity mediumId medium) <- take 10 recentMedia
<div class="thumbnail"> <li>
<a href=@{MediumR mediumId}> <a href=@{MediumR mediumId}>
<figure class="thumbnail">
<img src=#{mediumPath medium}> <img src=#{mediumPath medium}>
<figcaption>#{mediumTitle medium}