cabal cleanup and version bump
dynamic image loading
This commit is contained in:
parent
9feff0896c
commit
461c93aa28
2 changed files with 40 additions and 45 deletions
|
@ -1,6 +1,14 @@
|
||||||
name: eidolon
|
name: eidolon
|
||||||
version: 0.0.2
|
version: 0.0.3
|
||||||
cabal-version: >= 1.8
|
synopsis: Image gallery in Yesod
|
||||||
|
homepage: https://eidolon.nek0.eu
|
||||||
|
license: AGPL-3
|
||||||
|
license-file: LICENSE.md
|
||||||
|
author: Amedeo Molnár
|
||||||
|
maintainer: nek0@chelnok.de
|
||||||
|
category: Web
|
||||||
|
extra-source-files: README.md
|
||||||
|
cabal-version: >= 1.10
|
||||||
build-type: Simple
|
build-type: Simple
|
||||||
|
|
||||||
Flag dev
|
Flag dev
|
||||||
|
@ -49,7 +57,8 @@ library
|
||||||
else
|
else
|
||||||
ghc-options: -Wall -O2
|
ghc-options: -Wall -O2
|
||||||
|
|
||||||
extensions: TemplateHaskell
|
default-language: Haskell2010
|
||||||
|
default-extensions: TemplateHaskell
|
||||||
QuasiQuotes
|
QuasiQuotes
|
||||||
OverloadedStrings
|
OverloadedStrings
|
||||||
NoImplicitPrelude
|
NoImplicitPrelude
|
||||||
|
@ -65,59 +74,45 @@ library
|
||||||
RecordWildCards
|
RecordWildCards
|
||||||
ViewPatterns
|
ViewPatterns
|
||||||
|
|
||||||
build-depends: base >= 4
|
build-depends: base >= 4.8
|
||||||
, yesod >= 1.4.0
|
, yesod >= 1.4
|
||||||
, yesod-core >= 1.2.12
|
, yesod-core >= 1.2.12
|
||||||
, yesod-auth >= 1.3
|
, yesod-static >= 1.5
|
||||||
, yesod-static >= 1.2
|
, bytestring >= 0.10
|
||||||
, yesod-form >= 1.3
|
, text >= 1.2
|
||||||
, bytestring >= 0.9
|
, persistent >= 2.2
|
||||||
, text >= 0.11
|
, persistent-postgresql >= 2.2
|
||||||
, persistent >= 2.1.1.3
|
|
||||||
, persistent-postgresql >= 1.3
|
|
||||||
, persistent-template >= 1.3
|
|
||||||
, template-haskell
|
, template-haskell
|
||||||
, shakespeare >= 2.0
|
, shakespeare >= 2.0
|
||||||
, hjsmin >= 0.1
|
, hjsmin >= 0.1
|
||||||
, monad-control >= 0.3
|
|
||||||
, wai-extra >= 3.0
|
, wai-extra >= 3.0
|
||||||
, yaml >= 0.8
|
, yaml >= 0.8
|
||||||
, http-conduit >= 2.1
|
, http-conduit >= 2.1
|
||||||
, directory >= 1.1
|
, directory >= 1.2
|
||||||
, warp >= 3.0
|
, warp >= 3.1
|
||||||
, data-default
|
, data-default >= 0.5
|
||||||
, aeson >= 0.6
|
, aeson >= 0.6
|
||||||
, conduit >= 1.0
|
|
||||||
, monad-logger >= 0.3
|
, monad-logger >= 0.3
|
||||||
, fast-logger >= 2.1.4
|
, fast-logger >= 2.4
|
||||||
, wai-logger >= 2.1
|
|
||||||
-- transition to persisten 2.0
|
-- transition to persisten 2.0
|
||||||
, classy-prelude
|
, classy-prelude-yesod >= 0.12
|
||||||
, classy-prelude-conduit
|
|
||||||
, classy-prelude-yesod
|
|
||||||
, file-embed
|
, file-embed
|
||||||
-- custom dependencies
|
-- custom dependencies
|
||||||
, random
|
, random >= 1.1
|
||||||
, mime-mail
|
, mime-mail >= 0.4
|
||||||
, blaze-html
|
, blaze-html >= 0.8
|
||||||
, filepath
|
, filepath
|
||||||
, system-filepath
|
, system-filepath >= 0.4
|
||||||
, time
|
, time >= 1.5
|
||||||
, yesod-persistent
|
, transformers >= 0.4
|
||||||
, transformers
|
, cereal >= 0.4
|
||||||
, old-locale
|
, cryptohash-cryptoapi >= 0.1
|
||||||
, cereal
|
, crypto-api >= 0.13
|
||||||
, cryptohash-cryptoapi
|
|
||||||
, crypto-api
|
|
||||||
, imagemagick
|
, imagemagick
|
||||||
, resourcet
|
, yesod-markdown >= 0.10
|
||||||
, yesod-markdown >= 0.8
|
, blaze-markup >= 0.7
|
||||||
, blaze-builder
|
, wai >= 3.0
|
||||||
, blaze-markup
|
, yesod-newsfeed >= 1.4
|
||||||
, either
|
|
||||||
, wai
|
|
||||||
-- experiment
|
|
||||||
, yesod-newsfeed
|
|
||||||
|
|
||||||
executable eidolon
|
executable eidolon
|
||||||
if flag(library-only)
|
if flag(library-only)
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
by <a href=@{UserR ownerName}>#{ownerName}</a> from album <a href=@{AlbumR albumId}>#{albumTitle album}</a>
|
by <a href=@{UserR ownerName}>#{ownerName}</a> from album <a href=@{AlbumR albumId}>#{albumTitle album}</a>
|
||||||
<div id="header" class="item image" data-width=#{dataWidth}>
|
<div id="header" class="item image" data-width=#{dataWidth}>
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<img srcset="@{tr} 1x, @{pr} 2x" title=#{mediumTitle medium}>
|
<img sizes="(min-width: 40em) 80vw, 100vw" srcset="@{tr} 1x, @{pr} 2x" title=#{mediumTitle medium}>
|
||||||
|
|
||||||
<div id="header" class="item" data-width="400">
|
<div id="header" class="item" data-width="400">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
|
|
Loading…
Reference in a new issue