From e66bfe56b4395b2553fe73c3326972fc9956d544 Mon Sep 17 00:00:00 2001 From: nek0 Date: Tue, 12 Aug 2014 18:16:27 +0200 Subject: [PATCH] cleanup --- .gitignore | 14 +++++++++++ Handler/Signup.hs | 2 +- config/models | 6 +---- templates/default-layout-wrapper.hamlet | 31 ++----------------------- 4 files changed, 18 insertions(+), 35 deletions(-) create mode 100644 .gitignore 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|

Welcome to Eidolon! To complete your sgnup please activate your account by visiting the following link - #{activateLink} + #{activateLink} |] setMessage $ [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}
 
-        \
-
-