16 lines
515 B
Text
Executable file
16 lines
515 B
Text
Executable file
$newline always
|
|
<div id="header" class="item" data-width="400">
|
|
<div class="inner">
|
|
<h1>Albums
|
|
$if null albums
|
|
<p>There are no albums yet
|
|
|
|
$forall (Entity aId a) <- albums
|
|
<article class="item" data-width=#{albumSampleWidth a}>
|
|
<a href=@{AdminAlbumSettingsR aId}>
|
|
<figure class="thumbnail">
|
|
$if (albumSamplePic a) == Nothing
|
|
<img src="/static/img/album.jpg">
|
|
$else
|
|
<img src=#{T.pack $ fromJust $ albumSamplePic a}>
|
|
<figcaption>#{albumTitle a}
|