diff options
author | Paul Duncan <pabs@pablotron.org> | 2016-04-02 02:57:01 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2016-04-02 02:57:01 -0400 |
commit | 25db8016dadd10c800419edeafdc3fcff9929f4f (patch) | |
tree | 4205f6dc689fd4a73415d0821648a59cdc182836 /src/guff/views/ecrs/test | |
parent | 45f76b87be81e170971865d023605d1c06b38347 (diff) | |
download | old-guff-25db8016dadd10c800419edeafdc3fcff9929f4f.tar.bz2 old-guff-25db8016dadd10c800419edeafdc3fcff9929f4f.zip |
move login to dialog, clean up user list header
Diffstat (limited to 'src/guff/views/ecrs/test')
-rw-r--r-- | src/guff/views/ecrs/test/auth.ecr | 194 |
1 files changed, 115 insertions, 79 deletions
diff --git a/src/guff/views/ecrs/test/auth.ecr b/src/guff/views/ecrs/test/auth.ecr index 00cc918..0e044f7 100644 --- a/src/guff/views/ecrs/test/auth.ecr +++ b/src/guff/views/ecrs/test/auth.ecr @@ -23,19 +23,6 @@ <i class='fa fa-users'></i> Users </b> - - <div class='btn-group btn-group-xs pull-right'> - <a - href='#' - class='btn btn-primary btn-xs' - title='Create new user.' - data-toggle='modal' - data-target='#add-dialog' - > - <i class='fa fa-user-plus'></i> - Add User - </a><!-- btn --> - </div><!-- btn-group --> </div><!-- panel-heading --> <div class='panel-heading'> @@ -43,6 +30,32 @@ <div class='btn-group btn-group-sm'> <a href='#' + class='btn btn-primary' + title='Create new user.' + data-toggle='modal' + data-target='#add-dialog' + > + <i class='fa fa-user-plus'></i> + Add User + </a><!-- btn --> + </div><!-- btn-group --> + + <div class='btn-group btn-group-sm'> + <a + href='#' + class='btn btn-default' + title='Test login dialog.' + data-toggle='modal' + data-target='#login-dialog' + > + <i class='fa fa-lock'></i> + Test Login + </a><!-- btn --> + </div><!-- btn-group --> + + <div class='hidden btn-group btn-group-sm'> + <a + href='#' class='btn btn-default' title='Filter users by role.' data-toggle='dropdown' @@ -58,6 +71,16 @@ <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='reload' class='btn btn-default' title='Reload users.' @@ -71,16 +94,6 @@ </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 --> @@ -95,6 +108,7 @@ id='filter-q' class='form-control' title='Enter search terms' + data-search-delay='500' /> </div><!-- input-group --> </div><!-- panel-heading --> @@ -106,62 +120,6 @@ </span><!-- list-group-item --> </div><!-- list-group --> </div><!-- panel --> - - <div class='panel panel-default'> - <div class='panel-heading'> - <b> - <i class='fa fa-lock'></i> - Login - </b> - </div><!-- panel-heading --> - - <div class='panel-body'> - <div class='form-group'> - <label for='login-email'> - Email - </label> - - <input - type='text' - id='login-email' - class='form-control' - title='Enter email address.' - placeholder='foo@example.com' - /> - </div><!-- form-group --> - - <div class='form-group'> - <label for='login-password'> - Password - </label> - - <input - type='password' - id='login-password' - class='form-control' - title='Enter password.' - /> - </div><!-- form-group --> - - <div class='form-group'> - <button - id='login' - class='btn btn-primary' - title='Log in.' - > - <span class='hidden loading'> - <i class='fa fa-spinner fa-spin'></i> - Please Wait... - </span> - - <span class='loading'> - <i class='fa fa-unlock-alt'></i> - Log In - </span> - </button> - </div><!-- form-group --> - </div><!-- panel-body --> - </div><!-- panel --> </div><!-- col-md-8 --> </div><!-- container --> @@ -365,3 +323,81 @@ </div><!-- modal-content --> </div><!-- modal-dialog --> </div><!-- modal --> + +<div id='login-dialog' class='modal fade' role='dialog'> + <div class='modal-dialog' role='document'> + <div class='modal-content'> + <div class='modal-header'> + <button + type='button' + class='close' + data-dismiss='modal' + aria-label='Close' + > + <span aria-hidden='true'> + × + </span> + </button><!-- close --> + + <h4 class='modal-title'> + <i class='fa fa-lock'></i> + Log In + </h4><!-- modal-title --> + </div><!-- modal-header --> + + <div class='modal-body'> + <div class='form-group'> + <label for='login-email'> + Email Address + </label> + + <input + type='text' + id='login-email' + class='form-control' + title='Enter your email address.' + /> + </div><!-- form-group --> + + <div class='form-group'> + <label for='login-password'> + Password + </label> + + <input + type='password' + id='login-password' + class='form-control' + title='Enter your password.' + /> + </div><!-- form-group --> + </div><!-- modal-body --> + + <div class='modal-footer'> + <button + id='login-confirm' + class='btn btn-primary' + title='Log in.' + > + <span class='hidden loading'> + <i class='fa fa-spinner fa-spin'></i> + Please Wait... + </span> + + <span class='loading'> + <i class='fa fa-unlock-alt'></i> + Log In + </span> + </button> + + <button + class='btn btn-default' + data-dismiss='modal' + title='Close dialog.' + > + × Close + </button> + </div><!-- modal-footer --> + </div><!-- modal-content --> + </div><!-- modal-dialog --> +</div><!-- modal --> |