now putting images in figures

This commit is contained in:
nek0 2014-09-14 05:06:43 +02:00
parent 36ed89c7b2
commit 906152ccf0
2 changed files with 14 additions and 12 deletions

View file

@ -11,10 +11,10 @@ by <a href=@{UserR ownerName}>#{ownerName}</a>
This album is empty This album is empty
$else $else
Images in this album: Images in this album:
<ul class="media"> <ul>
<li>
$forall (Entity mediumId medium) <- media $forall (Entity mediumId medium) <- media
<div class="thumbnails"> <li>
<a href=@{MediumR mediumId}> <a href=@{MediumR mediumId}>
<img src=#{mediumPath medium}><br> <figure class="thumbnail">
#{mediumTitle medium} <img src=#{mediumPath medium}>
<figcaption>#{mediumTitle medium}

View file

@ -1,8 +1,10 @@
$if null recentMedia $if null recentMedia
<p>This gallery is still empty. <p>This gallery is still empty.
$else $else
<ul>
$forall (Entity mediumId medium) <- recentMedia $forall (Entity mediumId medium) <- recentMedia
<div class="thumbnails"> <li>
<a href=@{MediumR mediumId}> <a href=@{MediumR mediumId}>
<img src=#{mediumPath medium}><br> <figure class="thumbnail">
#{mediumTitle medium} <img src=#{mediumPath medium}>
<figcaption>#{mediumTitle medium}