Skip to content
This repository
Browse code

Updated to jade

  • Loading branch information...
commit 80a0ebdebcfca41d4d9f9ff33dce8c1b0b981885 1 parent def6480
Rob Righter authored December 29, 2011
2  templates/views/404.jade
... ...
@@ -0,0 +1,2 @@
  1
+h1='Not Found'
  2
+div='Sorry, the page you are looking for does not exist.'
7  templates/views/500.jade
... ...
@@ -0,0 +1,7 @@
  1
+!!! 5
  2
+html
  3
+  head
  4
+    title='500 Error'
  5
+  body
  6
+    h1='The Server Encountered and Error'
  7
+    div=error
3  templates/views/index.jade
... ...
@@ -0,0 +1,3 @@
  1
+div
  2
+	a(id='sender')='Send a Message'
  3
+	ul(id='reciever')
35  templates/views/layout.jade
... ...
@@ -0,0 +1,35 @@
  1
+!!! 5
  2
+//if lt IE 7
  3
+  html.no-js.ie6.oldie(lang='en')
  4
+//if IE 7
  5
+  html.no-js.ie7.oldie(lang='en')
  6
+//if IE 8
  7
+  html.no-js.ie8.oldie(lang='en') 
  8
+//[if gt IE 8]><!
  9
+html.no-js(lang='en')
  10
+  //<![end if]
  11
+  head
  12
+    meta(charset='utf-8')
  13
+    meta(http-equiv='X-UA-Compatible', content='IE=edge,chrome=1')
  14
+    -title=title
  15
+    -meta(name="description", content=description)
  16
+    -meta(name="author", content=author)
  17
+    meta(name="viewport", content='width=device-width, initial-scale=1')
  18
+    link(rel='stylesheet', href='css/style.css')
  19
+    //-script(src='js/libs/modernizr-2.0.6.min.js')
  20
+  body!=body
  21
+    script(src='//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js')
  22
+    script
  23
+      window.jQuery || document.write('<script src="js/libs/jquery-1.7.1.min.js"><\\/script>')
  24
+    //-script(defer, src='js/plugins.js')
  25
+    script(defer, src='js/script.js')
  26
+    script(defer, src='/socket.io/socket.io.js')
  27
+      script
  28
+        var _gaq=[['_setAccount','UA-XXXXX-X'],['_trackPageview'],['_trackPageLoadTime']];
  29
+        (function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1;
  30
+        g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
  31
+        s.parentNode.insertBefore(g,s)}(document,'script'));
  32
+    //if lt IE 7
  33
+      script(defer, src='//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js')
  34
+      script(defer)
  35
+        window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})

0 notes on commit 80a0ebd

Please sign in to comment.
Something went wrong with that request. Please try again.