0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.137.175.83


Current Path : /var/www/html/gcg/adm/admin/html_modules/
Upload File :
Current File : /var/www/html/gcg/adm/admin/html_modules/createUser.html

<div class="row clearfix">
    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
        <div class="card">
            <div class="header">
                <h2>
                    Create / Update User
                </h2>
            </div>
            <div class="body">
                <form id="createUserForm" class="form-horizontal">
                    <div class="row clearfix">
                        <div class="col-lg-2 col-md-2 col-sm-4 col-xs-5 form-control-label m_b_10">
                            <label class="pull-left" for="usrname">User Name</label>
                        </div>
                        <div class="col-sm-4 col-md-2 no_margin">
                            <div class="input-group m_b_10">
                                <div class="form-line">
                                <input type="text" class="form-control" id="usrname" placeholder="User Name" required>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row clearfix">
                        <div class="col-lg-2 col-md-2 col-sm-4 col-xs-5 form-control-label m_b_10">
                            <label class="pull-left" class="pull-left" for="password">Password</label>
                        </div>
                        <div class="col-sm-4 col-md-2 no_margin">
                            <div class="input-group m_b_10">
                                <div class="form-line">
                                    <input type="password" id="password" class="form-control" placeholder="Password" required>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row clearfix">
                        <div class="col-lg-offset-3 col-md-offset-3 col-sm-offset-4 col-xs-offset-5">
                            <button type="submit" class="btn btn-primary waves-effect m-l-40" onclick = "createUser()">Create</button>
                        </div>
                    </div>
                </form>
                <!-- <div class="row clearfix">
				<div class="col-sm-8">
				<div class="well clearfix">
				<div class="pull-right"><button type="button" class="btn btn-xs btn-primary" id="command-add" data-row-id="0">
				<span class="glyphicon glyphicon-plus"></span> Record</button></div></div>
					<table id="employee_grid" class="table table-condensed table-hover table-striped" width="60%" cellspacing="0" data-toggle="bootgrid">
					<thead>
					<tr>
						<th data-column-id="id" data-type="numeric" data-identifier="true">Empid</th>
						<th data-column-id="employee_name">Name</th>
						<th data-column-id="employee_salary">Salary</th>
						<th data-column-id="employee_age">Age</th>
						<th data-column-id="commands" data-formatter="commands" data-sortable="false">Commands</th>
					</tr>
					</thead>
					</table>
				</div>
            </div> -->
        </div>
    </div>
</div>

<script type="text/javascript">
    $('#createUserForm :input').focus(function(){ $(this).parent().addClass('focused')});
    $('#createUserForm :input').blur(function(){ $(this).parent().removeClass('focused')});

    $('form').submit(false);

    $('#createUserForm').validate({
        highlight: function (input) {
            $(input).parents('.form-line').addClass('error');
        },
        unhighlight: function (input) {
            $(input).parents('.form-line').removeClass('error');
        },
        errorPlacement: function (error, element) {
            $(element).parents('.input-group').append(error);
        }
    });

    $(document).ready(function () {
    
         var inputs = $('input, select').keypress(function (e) {
             if (e.which == 13) {
                 e.preventDefault();
                 var nextInput = inputs.get(inputs.index(this) + 1);
                 if (nextInput) {
                     nextInput.focus();
                 }
             }
         });
    
    });
</script>