cleanup
This commit is contained in:
parent
8a81217624
commit
e66bfe56b4
4 changed files with 18 additions and 35 deletions
14
.gitignore
vendored
Normal file
14
.gitignore
vendored
Normal file
|
@ -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
|
|
@ -28,7 +28,7 @@ postSignupR = do
|
||||||
[shamlet|
|
[shamlet|
|
||||||
<h1> Welcome to Eidolon!
|
<h1> Welcome to Eidolon!
|
||||||
To complete your sgnup please activate your account by visiting the following link
|
To complete your sgnup please activate your account by visiting the following link
|
||||||
<a href="#{activateLink}">#{activateLink}</a>
|
<a href="#{activateLink}">#{activateLink}
|
||||||
|]
|
|]
|
||||||
setMessage $ [shamlet|<pre>User created|]
|
setMessage $ [shamlet|<pre>User created|]
|
||||||
redirect $ HomeR
|
redirect $ HomeR
|
||||||
|
|
|
@ -3,11 +3,6 @@ User
|
||||||
email Text
|
email Text
|
||||||
password Text
|
password Text
|
||||||
deriving Typeable
|
deriving Typeable
|
||||||
-- Email
|
|
||||||
-- email Text
|
|
||||||
-- user UserId Maybe
|
|
||||||
-- verkey Text Maybe
|
|
||||||
-- UniqueEmail email
|
|
||||||
Token
|
Token
|
||||||
token Text
|
token Text
|
||||||
user User
|
user User
|
||||||
|
@ -16,6 +11,7 @@ Media
|
||||||
path FilePath
|
path FilePath
|
||||||
thumbPath FilePath
|
thumbPath FilePath
|
||||||
time UTCTime
|
time UTCTime
|
||||||
|
owner Text
|
||||||
description Text
|
description Text
|
||||||
tags Texts
|
tags Texts
|
||||||
|
|
||||||
|
|
|
@ -1,10 +1,6 @@
|
||||||
$newline never
|
$newline never
|
||||||
\<!doctype html>
|
$doctype 5
|
||||||
\<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
|
<html class="no-js" lang="en">
|
||||||
\<!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
|
|
||||||
\<!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
|
|
||||||
\<!--[if gt IE 8]><!-->
|
|
||||||
<html class="no-js" lang="en"> <!--<![endif]-->
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
|
|
||||||
|
@ -16,12 +12,6 @@ $newline never
|
||||||
|
|
||||||
^{pageHead pc}
|
^{pageHead pc}
|
||||||
|
|
||||||
\<!--[if lt IE 9]>
|
|
||||||
\<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
||||||
\<![endif]-->
|
|
||||||
|
|
||||||
<script>
|
|
||||||
document.documentElement.className = document.documentElement.className.replace(/\bno-js\b/,'js');
|
|
||||||
<body>
|
<body>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<header>
|
<header>
|
||||||
|
@ -29,20 +19,3 @@ $newline never
|
||||||
^{pageBody pc}
|
^{pageBody pc}
|
||||||
<footer>
|
<footer>
|
||||||
#{extraCopyright $ appExtra $ settings master}
|
#{extraCopyright $ appExtra $ settings master}
|
||||||
|
|
||||||
$maybe analytics <- extraAnalytics $ appExtra $ settings master
|
|
||||||
<script>
|
|
||||||
if(!window.location.href.match(/localhost/)){
|
|
||||||
window._gaq = [['_setAccount','#{analytics}'],['_trackPageview'],['_trackPageLoadTime']];
|
|
||||||
(function() {
|
|
||||||
\ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
|
||||||
\ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
|
||||||
\ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
|
||||||
})();
|
|
||||||
}
|
|
||||||
\<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6. chromium.org/developers/how-tos/chrome-frame-getting-started -->
|
|
||||||
\<!--[if lt IE 7 ]>
|
|
||||||
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js">
|
|
||||||
<script>
|
|
||||||
window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})
|
|
||||||
\<![endif]-->
|
|
||||||
|
|
Loading…
Reference in a new issue