diff options
Diffstat (limited to 'protoype/views')
-rw-r--r-- | protoype/views/index.jade | 27 | ||||
-rw-r--r-- | protoype/views/layout.jade | 4 |
2 files changed, 18 insertions, 13 deletions
diff --git a/protoype/views/index.jade b/protoype/views/index.jade index fba191d..4c984bc 100644 --- a/protoype/views/index.jade +++ b/protoype/views/index.jade @@ -1,13 +1,16 @@ -h2(style='border-bottom: dashed #FF9900; letter-spacing: -2px')= title -p Welcome to #{title}. Find your opponent, and get ready! +extends layout -h4(style='background-color: #99FF66; padding: 2px') User List -- each user in users - #listentry <u>#{user.tag}</u> >> #{user.location.loc} | - - if (user.status == 'online') - span(style='color: green; font-weight: bold')= user.status - - else - span(style='color: red; font-weight: bold')= user.status - | <br />#{user.vehicle.year} #{user.vehicle.make} #{user.vehicle.model} - | <br />mods: #{user.vehicle.desc}<br /> - span(style='color: gray; font-style: italic')= user.userinfo.sig +block content + h2(style='border-bottom: dashed #FF9900; letter-spacing: -2px')= title + p Welcome to #{title}. Find your opponent, and get ready! + + h4(style='background-color: #99FF66; padding: 2px') User List + - each user in users + #listentry <u>#{user.tag}</u> >> #{user.location.loc} | + - if (user.status == 'online') + span(style='color: green; font-weight: bold')= user.status + - else + span(style='color: red; font-weight: bold')= user.status + | <br />#{user.vehicle.year} #{user.vehicle.make} #{user.vehicle.model} + | <br />mods: #{user.vehicle.desc}<br /> + span(style='color: gray; font-style: italic')= user.userinfo.sig diff --git a/protoype/views/layout.jade b/protoype/views/layout.jade index c7139b7..e44baef 100644 --- a/protoype/views/layout.jade +++ b/protoype/views/layout.jade @@ -5,5 +5,7 @@ html 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 + //body!= body + body + block content |