summaryrefslogtreecommitdiffstats
path: root/protoype/views
diff options
context:
space:
mode:
Diffstat (limited to 'protoype/views')
-rw-r--r--protoype/views/index.jade7
-rw-r--r--protoype/views/layout.jade9
2 files changed, 16 insertions, 0 deletions
diff --git a/protoype/views/index.jade b/protoype/views/index.jade
new file mode 100644
index 0000000..57cde6f
--- /dev/null
+++ b/protoype/views/index.jade
@@ -0,0 +1,7 @@
+h1= title
+p Welcome to #{title}. Users in the portal:
+
+h3 User list:
+ul
+ - each user in users
+ li= user.tag
diff --git a/protoype/views/layout.jade b/protoype/views/layout.jade
new file mode 100644
index 0000000..c7139b7
--- /dev/null
+++ b/protoype/views/layout.jade
@@ -0,0 +1,9 @@
+!!!
+html
+ head
+ title= title
+ meta(http-equiv='Content-Type', content='text/html; charset=UTF-8')
+ link(rel='stylesheet', href='/stylesheets/style.css')
+ // body gets passed in here from *.jade? the '!=' outputs unescaped
+ body!= body
+