diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5c48818 --- /dev/null +++ b/.gitignore @@ -0,0 +1,14 @@ +dist* +static/tmp/ +static/combined/ +config/client_session_key.aes +*.hi +*.o +*.sqlite3 +.hsenv* +cabal-dev/ +yesod-devel/ +.cabal-sandbox +cabal.sandbox.config +.DS_Store +*.swp diff --git a/Handler/Signup.hs b/Handler/Signup.hs index 23cf419..b835514 100644 --- a/Handler/Signup.hs +++ b/Handler/Signup.hs @@ -28,7 +28,7 @@ postSignupR = do [shamlet|
User created|] redirect $ HomeR diff --git a/config/models b/config/models index 6f924e8..459f505 100644 --- a/config/models +++ b/config/models @@ -3,11 +3,6 @@ User email Text password Text deriving Typeable --- Email --- email Text --- user UserId Maybe --- verkey Text Maybe --- UniqueEmail email Token token Text user User @@ -16,6 +11,7 @@ Media path FilePath thumbPath FilePath time UTCTime + owner Text description Text tags Texts diff --git a/templates/default-layout-wrapper.hamlet b/templates/default-layout-wrapper.hamlet index b222256..5c2946d 100644 --- a/templates/default-layout-wrapper.hamlet +++ b/templates/default-layout-wrapper.hamlet @@ -1,10 +1,6 @@ $newline never -\ -\ -\ -\ -\ - +$doctype 5 + @@ -16,12 +12,6 @@ $newline never ^{pageHead pc} - \ - -