From: Andrew Otto Date: Tue, 14 Feb 2012 19:34:34 +0000 (-0800) Subject: styles and js X-Git-Url: http://git.less.ly:3516/?a=commitdiff_plain;h=8645ef96e7125b1760495337bb0dc154030f6879;p=limn-bak.git styles and js --- diff --git a/lib/main.co b/lib/main.co new file mode 100644 index 0000000..9ca68c9 --- /dev/null +++ b/lib/main.co @@ -0,0 +1 @@ +console.log 'hi' \ No newline at end of file diff --git a/lib/server.co b/lib/server.co index 7f664bb..ce61012 100755 --- a/lib/server.co +++ b/lib/server.co @@ -71,6 +71,7 @@ app.configure -> app.use express.static WWW app.use express.static VAR + app.use express.static "#{CWD}/static" app.use express.errorHandler do dumpExceptions : true showStack : true diff --git a/www/css/kraken.styl b/www/css/kraken.styl new file mode 100644 index 0000000..7467fea --- /dev/null +++ b/www/css/kraken.styl @@ -0,0 +1,2 @@ +body + font-family menlo \ No newline at end of file diff --git a/www/js/kraken-ui b/www/js/kraken-ui new file mode 120000 index 0000000..58677dd --- /dev/null +++ b/www/js/kraken-ui @@ -0,0 +1 @@ +../../lib \ No newline at end of file diff --git a/www/layout.jade b/www/layout.jade index f22bb78..06361ed 100644 --- a/www/layout.jade +++ b/www/layout.jade @@ -1,3 +1,10 @@ -body - div - != body +!!! html +html + head + link(href="/css/kraken.css", type='text/css', media='screen', rel='stylesheet') + body + div + != body + .scripts + script(src="vendor/jquery.min.js") + script(src="/js/kraken-ui/main.js")