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
|
$forall (Entity mId m) <- media
|
||||||
<article class="item" data-width=#{mediumThumbWidth m}>
|
<article class="item" data-width=#{mediumThumbWidth m}>
|
||||||
<a href=@{AdminMediumSettingsR mId}>
|
<a href=@{AdminMediumSettingsR mId}>
|
||||||
<figure class="thumbnail">
|
<figure>
|
||||||
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb m) []}>
|
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb m) []}>
|
||||||
<figcaption>#{mediumTitle m}
|
<figcaption>#{mediumTitle m}
|
||||||
|
|
|
@ -8,7 +8,7 @@ $newline always
|
||||||
$forall (Entity aId a) <- albums
|
$forall (Entity aId a) <- albums
|
||||||
<article class="item" data-width=#{albumSampleWidth a}>
|
<article class="item" data-width=#{albumSampleWidth a}>
|
||||||
<a href=@{AdminAlbumSettingsR aId}>
|
<a href=@{AdminAlbumSettingsR aId}>
|
||||||
<figure class="thumbnail">
|
<figure>
|
||||||
$if (albumSamplePic a) == Nothing
|
$if (albumSamplePic a) == Nothing
|
||||||
<img src="/static/img/album.jpg">
|
<img src="/static/img/album.jpg">
|
||||||
$else
|
$else
|
||||||
|
|
|
@ -8,6 +8,6 @@ $newline always
|
||||||
$forall (Entity mId m) <- media
|
$forall (Entity mId m) <- media
|
||||||
<article class="item" data-width=#{mediumThumbWidth m}>
|
<article class="item" data-width=#{mediumThumbWidth m}>
|
||||||
<a href=@{AdminMediumSettingsR mId}>
|
<a href=@{AdminMediumSettingsR mId}>
|
||||||
<figure class="thumbnail">
|
<figure>
|
||||||
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb m) []}>
|
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb m) []}>
|
||||||
<figcaption>#{mediumTitle m}
|
<figcaption>#{mediumTitle m}
|
||||||
|
|
|
@ -9,7 +9,7 @@ $newline always
|
||||||
$forall (Entity aId a) <- albums
|
$forall (Entity aId a) <- albums
|
||||||
<article class="item" data-width=#{albumSampleWidth a}>
|
<article class="item" data-width=#{albumSampleWidth a}>
|
||||||
<a href=@{AdminAlbumSettingsR aId}>#{albumTitle a}
|
<a href=@{AdminAlbumSettingsR aId}>#{albumTitle a}
|
||||||
<figure class="thumbnail">
|
<figure>
|
||||||
$if (albumSamplePic a) == Nothing
|
$if (albumSamplePic a) == Nothing
|
||||||
<img src="/static/img/album.jpg">
|
<img src="/static/img/album.jpg">
|
||||||
$else
|
$else
|
||||||
|
|
|
@ -9,6 +9,6 @@ $newline always
|
||||||
$forall (Entity mId m) <- media
|
$forall (Entity mId m) <- media
|
||||||
<article class="item" data-width=#{mediumThumbWidth m}>
|
<article class="item" data-width=#{mediumThumbWidth m}>
|
||||||
<a href=@{AdminMediumSettingsR mId}>#{mediumTitle m}
|
<a href=@{AdminMediumSettingsR mId}>#{mediumTitle m}
|
||||||
<figure class="thumbnail">
|
<figure>
|
||||||
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb m) []}>
|
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb m) []}>
|
||||||
<figcaption>#{mediumTitle m}
|
<figcaption>#{mediumTitle m}
|
||||||
|
|
|
@ -17,6 +17,6 @@ $else
|
||||||
$forall (Entity mediumId medium) <- media
|
$forall (Entity mediumId medium) <- media
|
||||||
<article class="item" data-width=#{mediumThumbWidth medium}>
|
<article class="item" data-width=#{mediumThumbWidth medium}>
|
||||||
<a href=@{MediumR mediumId}>
|
<a href=@{MediumR mediumId}>
|
||||||
<figure class="thumbnail">
|
<figure>
|
||||||
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb medium) []} title=#{mediumTitle medium}>
|
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb medium) []} title=#{mediumTitle medium}>
|
||||||
<figcaption>#{mediumTitle medium}
|
<figcaption>#{mediumTitle medium}
|
||||||
|
|
|
@ -16,7 +16,7 @@ $newline always
|
||||||
$forall (Entity albumId album) <- userAlbs
|
$forall (Entity albumId album) <- userAlbs
|
||||||
<article class="item" data-width=#{albumSampleWidth album}>
|
<article class="item" data-width=#{albumSampleWidth album}>
|
||||||
<a href=@{AlbumR albumId}>
|
<a href=@{AlbumR albumId}>
|
||||||
<figure class="thumbnail">
|
<figure>
|
||||||
$if (albumSamplePic album) == Nothing
|
$if (albumSamplePic album) == Nothing
|
||||||
<img src=@{StaticR img_album_jpg} title=#{albumTitle album}>
|
<img src=@{StaticR img_album_jpg} title=#{albumTitle album}>
|
||||||
$else
|
$else
|
||||||
|
@ -32,7 +32,7 @@ $else
|
||||||
$forall Just (Entity albumId album) <- sharedAlbs
|
$forall Just (Entity albumId album) <- sharedAlbs
|
||||||
<article class="shared item" data-width=#{albumSampleWidth album}>
|
<article class="shared item" data-width=#{albumSampleWidth album}>
|
||||||
<a href=@{AlbumR albumId}>
|
<a href=@{AlbumR albumId}>
|
||||||
<figure class="thumbnail">
|
<figure>
|
||||||
$if (albumSamplePic album) == Nothing
|
$if (albumSamplePic album) == Nothing
|
||||||
<img src=@{StaticR img_album_jpg}>
|
<img src=@{StaticR img_album_jpg}>
|
||||||
$else
|
$else
|
||||||
|
@ -48,6 +48,6 @@ $else
|
||||||
$forall (Entity mediumId medium) <- take 10 recentMedia
|
$forall (Entity mediumId medium) <- take 10 recentMedia
|
||||||
<article class="recent item" data-width=#{mediumThumbWidth medium}>
|
<article class="recent item" data-width=#{mediumThumbWidth medium}>
|
||||||
<a href=@{MediumR mediumId}>
|
<a href=@{MediumR mediumId}>
|
||||||
<figure class="thumbnail">
|
<figure>
|
||||||
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb medium) []} title=#{mediumTitle medium}>
|
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb medium) []} title=#{mediumTitle medium}>
|
||||||
<figcaption>#{mediumTitle medium}
|
<figcaption>#{mediumTitle medium}
|
||||||
|
|
|
@ -27,7 +27,7 @@ $else
|
||||||
$forall (Entity aId album) <- albumList
|
$forall (Entity aId album) <- albumList
|
||||||
<article .item data-width="#{albumSampleWidth album}">
|
<article .item data-width="#{albumSampleWidth album}">
|
||||||
<a href=@{AlbumR aId}>
|
<a href=@{AlbumR aId}>
|
||||||
<figure .thumbnail>
|
<figure>
|
||||||
$if (albumSamplePic album) == Nothing
|
$if (albumSamplePic album) == Nothing
|
||||||
<img src=@{StaticR img_album_jpg} title=#{albumTitle album}>
|
<img src=@{StaticR img_album_jpg} title=#{albumTitle album}>
|
||||||
$else
|
$else
|
||||||
|
@ -41,7 +41,7 @@ $else
|
||||||
$forall (Entity mId medium) <- mediumList
|
$forall (Entity mId medium) <- mediumList
|
||||||
<article .item data-width="#{mediumThumbWidth medium}">
|
<article .item data-width="#{mediumThumbWidth medium}">
|
||||||
<a href=@{MediumR mId}>
|
<a href=@{MediumR mId}>
|
||||||
<figure .thumbnail>
|
<figure>
|
||||||
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb medium) []} title=#{mediumTitle medium}>
|
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb medium) []} title=#{mediumTitle medium}>
|
||||||
<figcaption>#{mediumTitle medium}
|
<figcaption>#{mediumTitle medium}
|
||||||
$if not $ null commentList
|
$if not $ null commentList
|
||||||
|
|
|
@ -8,6 +8,6 @@ $newline always
|
||||||
$forall Just (Entity mId m) <- media
|
$forall Just (Entity mId m) <- media
|
||||||
<article class="item" data-width=#{mediumThumbWidth m}>
|
<article class="item" data-width=#{mediumThumbWidth m}>
|
||||||
<a href=@{MediumR mId}>
|
<a href=@{MediumR mId}>
|
||||||
<figure class="thumbnail">
|
<figure>
|
||||||
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb m) []} title=#{mediumTitle m}>
|
<img src=@{StaticR $ StaticRoute (drop 2 $ map T.pack $ splitDirectories $ mediumThumb m) []} title=#{mediumTitle m}>
|
||||||
<figcapion>#{mediumTitle m}
|
<figcapion>#{mediumTitle m}
|
||||||
|
|
Loading…
Reference in a new issue