2014-09-09 02:25:47 +00:00
|
|
|
$newline always
|
2015-01-11 19:06:44 +00:00
|
|
|
<div id="header" class="item" data-width="400">
|
|
|
|
<div class="inner">
|
|
|
|
<h1>Media
|
|
|
|
$if null media
|
|
|
|
<p>There are no media yet
|
2014-09-09 02:25:47 +00:00
|
|
|
|
2015-01-11 19:06:44 +00:00
|
|
|
$forall (Entity mId m) <- media
|
|
|
|
<article class="item" data-width=#{mediumThumbWidth m}>
|
2015-02-20 02:51:55 +00:00
|
|
|
<a href=@{AdminMediumSettingsR mId}>
|
2015-01-11 19:06:44 +00:00
|
|
|
<figure class="thumbnail">
|
2015-02-12 04:25:15 +00:00
|
|
|
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb m) []}>
|
2015-01-11 19:06:44 +00:00
|
|
|
<figcaption>#{mediumTitle m}
|