aboutsummaryrefslogtreecommitdiff
path: root/src/guff/views/ecrs
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-04-02 02:06:31 -0400
committerPaul Duncan <pabs@pablotron.org>2016-04-02 02:06:31 -0400
commit6ceae6b02d89bfebbb3bec13ce9525014cbdd2a7 (patch)
tree3aa1292d70e199a7919c5ea522758e6d8ea0f5b6 /src/guff/views/ecrs
parent23ba337de24e88c6aaf6ceb37507997f5c5f4920 (diff)
downloadold-guff-6ceae6b02d89bfebbb3bec13ce9525014cbdd2a7.tar.bz2
old-guff-6ceae6b02d89bfebbb3bec13ce9525014cbdd2a7.zip
add search-field and searching to users panel
Diffstat (limited to 'src/guff/views/ecrs')
-rw-r--r--src/guff/views/ecrs/test/auth.ecr80
1 files changed, 62 insertions, 18 deletions
diff --git a/src/guff/views/ecrs/test/auth.ecr b/src/guff/views/ecrs/test/auth.ecr
index ab9f552..00cc918 100644
--- a/src/guff/views/ecrs/test/auth.ecr
+++ b/src/guff/views/ecrs/test/auth.ecr
@@ -27,25 +27,8 @@
<div class='btn-group btn-group-xs pull-right'>
<a
href='#'
- id='reload'
- class='btn btn-default btn-xs'
- title='Reload users.'
- >
- <span class='loading'>
- <i class='fa fa-refresh'></i>
- </span>
-
- <span class='loading hidden'>
- <i class='fa fa-spinner fa-spin'></i>
- </span>
- </a><!-- #reload -->
- </div><!-- btn-group -->
-
- <div class='btn-group btn-group-xs pull-right'>
- <a
- href='#'
class='btn btn-primary btn-xs'
- title='Add new user.'
+ title='Create new user.'
data-toggle='modal'
data-target='#add-dialog'
>
@@ -55,6 +38,67 @@
</div><!-- btn-group -->
</div><!-- panel-heading -->
+ <div class='panel-heading'>
+ <div class='btn-toolbar'>
+ <div class='btn-group btn-group-sm'>
+ <a
+ href='#'
+ class='btn btn-default'
+ title='Filter users by role.'
+ data-toggle='dropdown'
+ >
+ Role: <span></span>
+ <i class='fa fa-caret-down'></i>
+ </a>
+
+ <ul id='filter-roles' class='dropdown-menu'>
+ </ul>
+ </div><!-- btn-group -->
+
+ <div class='btn-group btn-group-sm pull-right'>
+ <a
+ href='#'
+ id='reload'
+ class='btn btn-default'
+ title='Reload users.'
+ >
+ <span class='loading'>
+ <i class='fa fa-refresh'></i>
+ </span>
+
+ <span class='loading hidden'>
+ <i class='fa fa-spinner fa-spin'></i>
+ </span>
+ </a><!-- #reload -->
+ </div><!-- btn-group -->
+
+ <div class='btn-group btn-group-sm pull-right'>
+ <a
+ href='#'
+ class='btn btn-default search-toggle'
+ title='Toggle search field.'
+ >
+ <i class='fa fa-search'></i>
+ </a><!-- btn-->
+ </div><!-- btn-group -->
+ </div><!-- btn-toolbar -->
+ </div><!-- panel-heading -->
+
+ <div class='panel-heading hidden search-toggle'>
+ <div class='input-group input-group-sm'>
+ <span class='input-group-addon'>
+ <i class='fa fa-search'></i>
+ </span>
+
+ <input
+ type='text'
+ id='filter-q'
+ class='form-control'
+ title='Enter search terms'
+ />
+ </div><!-- input-group -->
+ </div><!-- panel-heading -->
+
<div id='users' class='list-group'>
<span class='list-group-item disabled'>
<i class='fa fa-spinner fa-spin'></i>