diff options
-rw-r--r-- | src/views/admin-page.ecr | 67 | ||||
-rw-r--r-- | src/views/logout-page.ecr | 4 |
2 files changed, 64 insertions, 7 deletions
diff --git a/src/views/admin-page.ecr b/src/views/admin-page.ecr index 033d79c..fe0d28d 100644 --- a/src/views/admin-page.ecr +++ b/src/views/admin-page.ecr @@ -108,13 +108,70 @@ > <div class='panel panel-default'> <div class='panel-heading'> + <div class='btn-toolbar'> + <div class='btn-group btn-group-sm'> + <a + href='#' + class='btn btn-primary' + title='Create new user.' + data-toggle='modal' + data-target='#user-add-dialog' + > + <i class='fa fa-user-plus'></i> + Add User + </a><!-- btn --> + </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 class='btn-group btn-group-sm pull-right'> + <a + href='#' + id='users-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><!-- btn-toolbar --> </div><!-- panel-heading --> - <div class='panel-body'> - <p> - TODO: users - </p> - </div><!-- panel-body --> + <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='users-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> + Loading... + </span><!-- list-group-item --> + </div><!-- list-group --> </div><!-- panel --> </div><!-- tab-pane --> diff --git a/src/views/logout-page.ecr b/src/views/logout-page.ecr index 0c6d70e..b3c2eae 100644 --- a/src/views/logout-page.ecr +++ b/src/views/logout-page.ecr @@ -36,8 +36,8 @@ <div class='panel panel-default'> <div class='panel-heading'> <b> - <i class='fa fa-exit'></i> - Logout + <i class='fa fa-power-off'></i> + Log Out </b> </div><!-- panel-heading --> |