summaryrefslogtreecommitdiff
path: root/users/app/views
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2012-11-26 16:34:46 +0100
committerAzul <azul@leap.se>2012-11-26 16:34:46 +0100
commit51ba799f98113b7112f2968fc80e4d291924b3bf (patch)
tree257c1a21251b526c02b3cf1ef825384ef25cee51 /users/app/views
parentbf74255d1530fe5852dc6e6c27ef975ce9aa8d3c (diff)
basic users index with typeahead search
Diffstat (limited to 'users/app/views')
-rw-r--r--users/app/views/users/index.html.haml18
1 files changed, 17 insertions, 1 deletions
diff --git a/users/app/views/users/index.html.haml b/users/app/views/users/index.html.haml
index 7db6038..65e99af 100644
--- a/users/app/views/users/index.html.haml
+++ b/users/app/views/users/index.html.haml
@@ -1 +1,17 @@
-%h1= User.model_name.human(:count =>@users.count)
+.page-header
+ %h1= User.model_name.human(:count =>User.count)
+.row
+ .span8
+ %h2 Last users who signed up
+ %table.table.table-hover
+ %tr
+ %th Login
+ %th Created
+ %th Action
+ = render @users.all
+ .span4
+ %h4 Find user
+ %form.form-search
+ .input-append
+ %input.user.typeahead.span2.search-query{:type => :text}
+ %button.btn{:type => :submit} Search