more figures
This commit is contained in:
parent
76623f1214
commit
541b475d7a
1 changed files with 7 additions and 7 deletions
|
@ -9,16 +9,16 @@ $if null userAlbs
|
||||||
This user has no albums yet
|
This user has no albums yet
|
||||||
$else
|
$else
|
||||||
Albums of this user:
|
Albums of this user:
|
||||||
$forall (Entity albumId album) <- userAlbs
|
<ul>
|
||||||
<ul class="albums">
|
$forall (Entity albumId album) <- userAlbs
|
||||||
<li>
|
<li>
|
||||||
<div class="thumbnails">
|
<a href=@{AlbumR albumId}>
|
||||||
<a href=@{AlbumR albumId}>
|
<figure class="thumbnail">
|
||||||
$if (albumSamplePic album) == Nothing
|
$if (albumSamplePic album) == Nothing
|
||||||
<img width="200px" src="/static/img/album.jpg"><br>
|
<img src="/static/img/album.jpg"><br>
|
||||||
$else
|
$else
|
||||||
<img width="200px" src=#{T.pack $ fromJust $ albumSamplePic album}><br>
|
<img src=#{T.pack $ fromJust $ albumSamplePic album}>
|
||||||
#{albumTitle album}
|
<figcaption>#{albumTitle album}
|
||||||
|
|
||||||
$if null recentMedia
|
$if null recentMedia
|
||||||
This user has not uploaded any images
|
This user has not uploaded any images
|
||||||
|
|
Loading…
Reference in a new issue