got rid of thumbnail class, as it did nothing but making trouble with bootstrap

This commit is contained in:
nek0 2015-10-19 16:31:10 +02:00
parent 745775b4fc
commit b0a2081e3d
9 changed files with 12 additions and 12 deletions

View file

@ -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}

View file

@ -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

View file

@ -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}

View file

@ -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

View file

@ -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}

View file

@ -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}

View file

@ -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}

View file

@ -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

View file

@ -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}