aboutsummaryrefslogtreecommitdiff
path: root/src/guff/views/ecrs/test
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2016-04-01 15:58:08 -0400
committerPaul Duncan <pabs@pablotron.org>2016-04-01 15:58:08 -0400
commit6b9ca27c67d043a8737da652bf7915645628db4c (patch)
tree928ead16b4d04a695de6642c9dc818edab74b0d3 /src/guff/views/ecrs/test
parent974d7c1d8ae71d50566dc8c2857520dde139a191 (diff)
downloadold-guff-6b9ca27c67d043a8737da652bf7915645628db4c.tar.bz2
old-guff-6b9ca27c67d043a8737da652bf7915645628db4c.zip
add_user test
Diffstat (limited to 'src/guff/views/ecrs/test')
-rw-r--r--src/guff/views/ecrs/test/auth.ecr84
1 files changed, 84 insertions, 0 deletions
diff --git a/src/guff/views/ecrs/test/auth.ecr b/src/guff/views/ecrs/test/auth.ecr
index c28f178..89d3283 100644
--- a/src/guff/views/ecrs/test/auth.ecr
+++ b/src/guff/views/ecrs/test/auth.ecr
@@ -46,5 +46,89 @@
</span><!-- list-group-item -->
</div><!-- list-group -->
</div><!-- panel -->
+
+ <div class='panel panel-default'>
+ <div class='panel-heading'>
+ <b>
+ <i class='fa fa-user'></i>
+ Create User
+ </b>
+ </div><!-- panel-heading -->
+
+ <div class='panel-body'>
+ <div class='form-group'>
+ <label for='user-name'>
+ Name
+ </label>
+
+ <input
+ type='text'
+ id='user-name'
+ class='form-control'
+ title='Enter name of user.'
+ placeholder='John Doe'
+ />
+ </div><!-- form-group -->
+
+ <div class='form-group'>
+ <label for='user-email'>
+ Email Address
+ </label>
+
+ <input
+ type='text'
+ id='user-email'
+ class='form-control'
+ title='Enter user email.'
+ placeholder='johndoe@example.com'
+ />
+ </div><!-- form-group -->
+
+ <div class='form-group'>
+ <label for='user-password'>
+ Password
+ </label>
+
+ <input
+ type='password'
+ id='user-password'
+ class='form-control'
+ title='Enter password.'
+ />
+ </div><!-- form-group -->
+
+ <div class='form-group'>
+ <label for='user-role'>
+ Role
+ </label>
+
+ <select
+ id='user-role'
+ class='form-control'
+ title='Choose role of user.'
+ ><%=
+ get_roles
+ %></select>
+ </div><!-- form-group -->
+
+ <div class='form-group'>
+ <button
+ id='create-user'
+ class='btn btn-primary'
+ title='Create user.'
+ >
+ <span class='hidden loading'>
+ <i class='fa fa-spinner fa-spin'></i>
+ Please Wait...
+ </span>
+
+ <span class='loading'>
+ <i class='fa fa-plus-square'></i>
+ Create User
+ </span>
+ </button>
+ </div><!-- form-group -->
+ </div><!-- panel-body -->
+ </div><!-- panel -->
</div><!-- col-md-8 -->
</div><!-- container -->