got rid of thumbnail class, as it did nothing but making trouble with bootstrap
This commit is contained in:
parent
745775b4fc
commit
b0a2081e3d
9 changed files with 12 additions and 12 deletions
|
@ -8,6 +8,6 @@ $newline always
|
|||
$forall (Entity mId m) <- media
|
||||
<article class="item" data-width=#{mediumThumbWidth m}>
|
||||
<a href=@{AdminMediumSettingsR mId}>
|
||||
<figure class="thumbnail">
|
||||
<figure>
|
||||
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb m) []}>
|
||||
<figcaption>#{mediumTitle m}
|
||||
|
|
|
@ -8,7 +8,7 @@ $newline always
|
|||
$forall (Entity aId a) <- albums
|
||||
<article class="item" data-width=#{albumSampleWidth a}>
|
||||
<a href=@{AdminAlbumSettingsR aId}>
|
||||
<figure class="thumbnail">
|
||||
<figure>
|
||||
$if (albumSamplePic a) == Nothing
|
||||
<img src="/static/img/album.jpg">
|
||||
$else
|
||||
|
|
|
@ -8,6 +8,6 @@ $newline always
|
|||
$forall (Entity mId m) <- media
|
||||
<article class="item" data-width=#{mediumThumbWidth m}>
|
||||
<a href=@{AdminMediumSettingsR mId}>
|
||||
<figure class="thumbnail">
|
||||
<figure>
|
||||
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb m) []}>
|
||||
<figcaption>#{mediumTitle m}
|
||||
|
|
|
@ -9,7 +9,7 @@ $newline always
|
|||
$forall (Entity aId a) <- albums
|
||||
<article class="item" data-width=#{albumSampleWidth a}>
|
||||
<a href=@{AdminAlbumSettingsR aId}>#{albumTitle a}
|
||||
<figure class="thumbnail">
|
||||
<figure>
|
||||
$if (albumSamplePic a) == Nothing
|
||||
<img src="/static/img/album.jpg">
|
||||
$else
|
||||
|
|
|
@ -9,6 +9,6 @@ $newline always
|
|||
$forall (Entity mId m) <- media
|
||||
<article class="item" data-width=#{mediumThumbWidth m}>
|
||||
<a href=@{AdminMediumSettingsR mId}>#{mediumTitle m}
|
||||
<figure class="thumbnail">
|
||||
<figure>
|
||||
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb m) []}>
|
||||
<figcaption>#{mediumTitle m}
|
||||
|
|
|
@ -17,6 +17,6 @@ $else
|
|||
$forall (Entity mediumId medium) <- media
|
||||
<article class="item" data-width=#{mediumThumbWidth medium}>
|
||||
<a href=@{MediumR mediumId}>
|
||||
<figure class="thumbnail">
|
||||
<figure>
|
||||
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb medium) []} title=#{mediumTitle medium}>
|
||||
<figcaption>#{mediumTitle medium}
|
||||
|
|
|
@ -16,7 +16,7 @@ $newline always
|
|||
$forall (Entity albumId album) <- userAlbs
|
||||
<article class="item" data-width=#{albumSampleWidth album}>
|
||||
<a href=@{AlbumR albumId}>
|
||||
<figure class="thumbnail">
|
||||
<figure>
|
||||
$if (albumSamplePic album) == Nothing
|
||||
<img src=@{StaticR img_album_jpg} title=#{albumTitle album}>
|
||||
$else
|
||||
|
@ -32,7 +32,7 @@ $else
|
|||
$forall Just (Entity albumId album) <- sharedAlbs
|
||||
<article class="shared item" data-width=#{albumSampleWidth album}>
|
||||
<a href=@{AlbumR albumId}>
|
||||
<figure class="thumbnail">
|
||||
<figure>
|
||||
$if (albumSamplePic album) == Nothing
|
||||
<img src=@{StaticR img_album_jpg}>
|
||||
$else
|
||||
|
@ -48,6 +48,6 @@ $else
|
|||
$forall (Entity mediumId medium) <- take 10 recentMedia
|
||||
<article class="recent item" data-width=#{mediumThumbWidth medium}>
|
||||
<a href=@{MediumR mediumId}>
|
||||
<figure class="thumbnail">
|
||||
<figure>
|
||||
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb medium) []} title=#{mediumTitle medium}>
|
||||
<figcaption>#{mediumTitle medium}
|
||||
|
|
|
@ -27,7 +27,7 @@ $else
|
|||
$forall (Entity aId album) <- albumList
|
||||
<article .item data-width="#{albumSampleWidth album}">
|
||||
<a href=@{AlbumR aId}>
|
||||
<figure .thumbnail>
|
||||
<figure>
|
||||
$if (albumSamplePic album) == Nothing
|
||||
<img src=@{StaticR img_album_jpg} title=#{albumTitle album}>
|
||||
$else
|
||||
|
@ -41,7 +41,7 @@ $else
|
|||
$forall (Entity mId medium) <- mediumList
|
||||
<article .item data-width="#{mediumThumbWidth medium}">
|
||||
<a href=@{MediumR mId}>
|
||||
<figure .thumbnail>
|
||||
<figure>
|
||||
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb medium) []} title=#{mediumTitle medium}>
|
||||
<figcaption>#{mediumTitle medium}
|
||||
$if not $ null commentList
|
||||
|
|
|
@ -8,6 +8,6 @@ $newline always
|
|||
$forall Just (Entity mId m) <- media
|
||||
<article class="item" data-width=#{mediumThumbWidth m}>
|
||||
<a href=@{MediumR mId}>
|
||||
<figure class="thumbnail">
|
||||
<figure>
|
||||
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb m) []} title=#{mediumTitle m}>
|
||||
<figcapion>#{mediumTitle m}
|
||||
|
|
Loading…
Reference in a new issue