aboutsummaryrefslogtreecommitdiff
path: root/views/index.jade
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2016-09-09 14:30:04 +0200
committerNoah Loomans <noahloomans@gmail.com>2016-09-09 14:30:04 +0200
commit29f35540bac3f3c8ad0043d03758142267bcef9a (patch)
tree36fcd51844399aec80f2130b563956f8389b9823 /views/index.jade
parent06e00475724bbcf0c99a1c8a430b97103822360b (diff)
send data directly
Diffstat (limited to 'views/index.jade')
-rw-r--r--views/index.jade10
1 files changed, 10 insertions, 0 deletions
diff --git a/views/index.jade b/views/index.jade
index dae679f..7a6d31a 100644
--- a/views/index.jade
+++ b/views/index.jade
@@ -5,6 +5,16 @@ block head
script(async, defer, src='/javascripts/dest/main.js')
block content
+ #data(style='display: none;')
+ each user in users
+ .data-user
+ .data-type= user.type
+ .data-value= user.value
+ .data-index= user.index
+ .data-other= user.other
+ .data-isID= user.isID
+
+
form#search
.input-wrapper
input(type='text', placeholder='Search', autofocus)