From b001224bb95996fa59269a5c119c6a9f2047f288 Mon Sep 17 00:00:00 2001 From: Kyle K Date: Sun, 1 Jul 2012 21:57:24 -0500 Subject: start on prototype --- protoype/views/index.jade | 7 +++++++ protoype/views/layout.jade | 9 +++++++++ 2 files changed, 16 insertions(+) create mode 100644 protoype/views/index.jade create mode 100644 protoype/views/layout.jade (limited to 'protoype/views') 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 + -- cgit v1.2.3